Function at 0x69060310
Capabilities:
Access peb ldr_data
Get graphical window text
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x6c
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
test byte [0x6907609c], 8
jne 0x69060518
mov dword [esp + 0xc], 0
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp], ebx
call edi
lea esi, [eax + 1]
sub esp, 0x10
mov dword [ebp - 0x3c], eax
lea edx, [esi + esi]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x69060509
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [ebp - 0x4c], eax
mov dword [esp + 4], 0xd
mov dword [esp], ebx
call edi
sub esp, 0x10
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetDC]
sub esp, 4
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x31
mov dword [esp], ebx
call edi
mov edi, dword [sym.imp.gdi32.dll_SelectObject]
sub esp, 0x10
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
mov edx, dword [ebp - 0x4c]
sub esp, 8
mov dword [ebp - 0x40], eax
cmp word [edx], 0
je 0x69060570
mov eax, edx
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x69060400
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x30]
mov dword [esp + 4], edx
mov dword [ebp - 0x4c], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x40]
sub esp, 0x10
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.user32.dll_ReleaseDC]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
sub esp, 8
test eax, eax
je 0x69060548
test byte [ebp + 8], 1
je 0x69060548
movzx eax, word [edx]
test ax, ax
je 0x69060577
mov ecx, edx
mov esi, 1
lea esi, [esi]
cmp ax, 0xa
sete al
add ecx, 2
movzx eax, al
add esi, eax
movzx eax, word [ecx]
test ax, ax
jne 0x69060478
imul esi, dword [ebp - 0x2c]
add esi, 8
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], edx
cmovae eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x48]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0x16
add eax, 4
mov dword [esp + 0xc], 0
cmp eax, edi
mov dword [esp + 8], 0
cmova eax, edi
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0x10], eax
call dword [sym.imp.user32.dll_SetWindowPos]
mov edx, dword [ebp - 0x3c]
sub esp, 0x1c
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x6907b1d4
mov dword [esp + 8], str.ctrl_resize
mov dword [esp + 4], 0x6907609c
mov dword [esp], 3
call fcn.6905de70
jmp 0x6906032e
lea eax, [ebp - 0x28]
mov dword [ebp - 0x3c], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowRect]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x3c]
sub esp, 8
sub esi, dword [ebp - 0x24]
jmp 0x69060496
xor eax, eax
jmp 0x6906040d
mov esi, 1
jmp 0x6906048f