Function at 0x45b490
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x878
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x874], eax
mov eax, dword [esp + 0x880]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x888]
push edi
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
call fcn.0045afd0
mov byte [esp + 0x13], al
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x68]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x74]
sub ebx, ecx
sub ebx, dword [esp + 0x38]
sub edi, eax
sub edi, dword [esp + 0x3c]
inc ebx
inc edi
cmp byte [esp + 0x13], 0
mov dword [esp + 0x24], ebx
je 0x45b569
cmp byte [esp + 0x894], 0
jne 0x45b686
imul eax, dword [esp + 0x1c]
imul ecx, dword [esp + 0x28]
mov edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
push 0x206
add eax, edx
add eax, edi
push eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, ebx
push ecx
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x45b577
cmp byte [esp + 0x894], 0
jne 0x45b686
push 0x400
lea edx, [esp + 0x88]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
je 0x45b677
push 1
push 0x4b3be8
push 0xffffffffffffffff
call fcn.0041fbc0
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x45b5ca
mov ecx, ebp
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45b5b7
sub ecx, dword [esp + 0x18]
push ecx
push ebp
push eax
call fcn.0041fbc0
lea ecx, [esp + 0x84]
lea ebp, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45b5d4
sub ecx, ebp
push ecx
lea ecx, [esp + 0x88]
push ecx
push eax
call fcn.0041fbc0
not eax
push eax
lea edx, [esp + 0x7c]
push str._08x
push edx
call fcn.0049e635
mov ebp, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x78]
push eax
mov ecx, ebp
call fcn.0045aa60
test eax, eax
jne 0x45b625
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebp
call fcn.0045a8d0
test eax, eax
je 0x45b677
lea ebp, [eax + 0xa]
push 0xc
push ebp
call fcn.0049e290
add esp, 8
test eax, eax
je 0x45b63e
sub eax, ebp
inc eax
mov ebx, eax
jmp 0x45b643
mov ebx, 0xff
push ebx
lea edx, [esp + 0x88]
push ebp
push edx
call fcn.0049fa10
lea eax, [esp + 0x90]
push 0x22
push eax
mov byte [esp + ebx + 0x98], 0
call fcn.0049e350
mov ebx, dword [esp + 0x38]
add esp, 0x14
test eax, eax
je 0x45b677
mov byte [eax], 0
lea ecx, [esp + 0x84]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 8
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
sub edi, eax
push esi
mov dword [esp + 0x38], edi
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x18], 0
test ebp, ebp
je 0x45b943
jmp 0x45b6c4
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x18], 0x200
jge 0x45b943
push 0x400
lea edx, [esp + 0x88]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esp + 0x84], 0
je 0x45b7ef
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
je 0x45b7e0
push 1
push 0x4b3be8
push 0xffffffffffffffff
call fcn.0041fbc0
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x45b731
mov ecx, edi
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45b720
sub ecx, esi
push ecx
push edi
push eax
call fcn.0041fbc0
lea ecx, [esp + 0x84]
lea esi, [ecx + 1]
jmp 0x45b740
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45b740
sub ecx, esi
push ecx
lea ecx, [esp + 0x88]
push ecx
push eax
call fcn.0041fbc0
not eax
push eax
lea edx, [esp + 0x7c]
push str._08x
push edx
call fcn.0049e635
mov esi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.0045aa60
test eax, eax
jne 0x45b791
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.0045a8d0
test eax, eax
je 0x45b7e0
lea esi, [eax + 0xa]
push 0xc
push esi
call fcn.0049e290
add esp, 8
test eax, eax
je 0x45b7aa
sub eax, esi
inc eax
mov edi, eax
jmp 0x45b7af
mov edi, 0xff
push edi
lea edx, [esp + 0x88]
push esi
push edx
call fcn.0049fa10
lea eax, [esp + 0x90]
push 0x22
push eax
mov byte [esp + edi + 0x98], 0
call fcn.0049e350
add esp, 0x14
test eax, eax
je 0x45b7e0
mov byte [eax], 0
nop
lea ecx, [esp + 0x84]
push ecx
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp byte [esp + 0x13], 0
je 0x45b924
lea edx, [esp + 0x48]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x4c]
mov eax, ebx
mov ebx, dword [esp + 0x48]
cdq
sub eax, edx
sar eax, 1
mov ecx, ebx
sub ecx, eax
sub ecx, dword [esp + 0x38]
mov eax, 0x51eb851f
imul ecx, dword [esp + 0x28]
imul ecx
mov ecx, esi
sub ecx, dword [esp + 0x3c]
sar edx, 5
sub ecx, dword [esp + 0x30]
mov edi, edx
imul ecx, dword [esp + 0x1c]
shr edi, 0x1f
add edi, edx
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [esp + 0x50]
sub ecx, ebx
inc ecx
imul ecx, dword [esp + 0x28]
sar edx, 5
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [esp + 0x54]
sub ecx, esi
inc ecx
imul ecx, dword [esp + 0x1c]
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 5
push 0x400
lea eax, [esp + 0x488]
mov esi, edx
push eax
shr esi, 0x1f
push ecx
add esi, edx
call dword [sym.imp.USER32.dll_GetClassNameA]
push str.COMBOBOX
lea edx, [esp + 0x488]
push edx
call fcn.00465330
test eax, eax
jne 0x45b906
mov eax, dword [esp + 0x14]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 3
cmp al, 1
je 0x45b906
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push ecx
push 0
push 0x152
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x5c]
mov eax, 0x51eb851f
inc ecx
imul ecx, dword [esp + 0x1c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add esi, eax
mov ecx, dword [esp + 0x14]
push 0x204
push esi
push ebx
push ebp
push edi
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
push 2
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x34]
je 0x45b943
inc dword [esp + 0x18]
test eax, eax
jne 0x45b6c0
mov ecx, dword [esp + 0x884]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x878
ret 0xc