Function at 0x40430a
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x7f0]
sub esp, 0x870
mov eax, dword [0x4161a0]
xor eax, ebp
mov dword [ebp + 0x7ec], eax
mov eax, dword [ebp + 0x7fc]
push ebx
mov ebx, dword [ebp + 0x7f8]
push esi
push edi
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
call fcn.0040420a
mov byte [ebp - 0x15], al
lea eax, [ebp - 0x60]
push eax
push ebx
call dword [0x41220c]
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [0x412210]
mov edi, dword [ebp - 0x58]
sub edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x64]
sub edi, dword [ebp - 0x60]
sub esi, eax
sub esi, dword [ebp - 0x5c]
inc edi
inc esi
cmp byte [ebp - 0x15], 0
je 0x4043b1
cmp byte [ebp + 0x800], 0
jne 0x4043f0
imul eax, dword [ebp - 0x1c]
push 0x206
cdq
push 0x64
pop ecx
idiv ecx
add eax, esi
push eax
mov eax, dword [ebp - 0x68]
imul eax, dword [ebp - 0x24]
cdq
idiv ecx
add eax, edi
push eax
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [0x412214]
cmp byte [ebp + 0x800], 0
jne 0x4043f0
push 0x400
lea eax, [ebp + 0x3ec]
push eax
push ebx
call dword [0x412218]
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
push 1
lea eax, [ebp + 0x3ec]
push eax
push eax
call fcn.004040f1
lea eax, [ebp + 0x3ec]
push eax
push ebx
call dword [0x41221c]
push 8
call dword [0x412220]
push 5
push ebx
sub esi, eax
call dword [0x412224]
and dword [ebp - 0x20], 0
mov ebx, eax
mov dword [ebp - 0x40], ebx
jmp 0x404548
cmp dword [ebp - 0x20], 0x200
jge 0x404550
push 0x400
lea eax, [ebp + 0x3ec]
push eax
push ebx
call dword [0x412218]
cmp byte [ebp + 0x3ec], 0
je 0x40445d
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
push 1
lea eax, [ebp + 0x3ec]
push eax
push eax
call fcn.004040f1
lea eax, [ebp + 0x3ec]
push eax
push ebx
call dword [0x41221c]
cmp byte [ebp - 0x15], 0
je 0x404535
lea eax, [ebp - 0x50]
push eax
push ebx
call dword [0x41220c]
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x50]
sar ecx, 1
sub eax, ecx
sub eax, dword [ebp - 0x60]
push 0x64
imul eax, dword [ebp - 0x24]
cdq
pop ecx
idiv ecx
push 0x400
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x5c]
sub eax, esi
imul eax, dword [ebp - 0x1c]
cdq
idiv ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
inc eax
imul eax, dword [ebp - 0x24]
cdq
idiv ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
inc eax
imul eax, dword [ebp - 0x1c]
cdq
idiv ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [0x412228]
push str.COMBOBOX
lea eax, [ebp - 0x14]
push eax
call fcn.00404894
test eax, eax
jne 0x40451b
push 0xfffffffffffffff0
push ebx
call dword [0x41222c]
and al, 3
cmp al, 1
je 0x40451b
lea eax, [ebp - 0x80]
push eax
push 0
push 0x152
push ebx
call dword [0x412248]
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
push 0x64
inc eax
imul eax, dword [ebp - 0x1c]
cdq
pop ecx
idiv ecx
add dword [ebp - 0x28], eax
push 0x204
push dword [ebp - 0x28]
push dword [ebp - 0x3c]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0
push ebx
call dword [0x412214]
push 2
push ebx
call dword [0x412224]
mov ebx, eax
cmp ebx, dword [ebp - 0x40]
je 0x404550
inc dword [ebp - 0x20]
test ebx, ebx
jne 0x404411
mov ecx, dword [ebp + 0x7ec]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405fbe
add ebp, 0x7f0
leave
ret 0xc