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

Disassembly:
sub esp, 0x878
mov eax, dword [0x4c0390]
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.0045aaa0
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 0x45b039
cmp byte [esp + 0x894], 0
jne 0x45b156
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 0x45b047
cmp byte [esp + 0x894], 0
jne 0x45b156
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 0x45b147
push 1
push 0x4b3b50
push 0xffffffffffffffff
call fcn.0041fa40
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x45b09a
mov ecx, ebp
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45b087
sub ecx, dword [esp + 0x18]
push ecx
push ebp
push eax
call fcn.0041fa40
lea ecx, [esp + 0x84]
lea ebp, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45b0a4
sub ecx, ebp
push ecx
lea ecx, [esp + 0x88]
push ecx
push eax
call fcn.0041fa40
not eax
push eax
lea edx, [esp + 0x7c]
push str._08x
push edx
call fcn.0049e0d5
mov ebp, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x78]
push eax
mov ecx, ebp
call fcn.0045a530
test eax, eax
jne 0x45b0f5
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebp
call fcn.0045a3a0
test eax, eax
je 0x45b147
lea ebp, [eax + 0xa]
push 0xc
push ebp
call fcn.0049dd30
add esp, 8
test eax, eax
je 0x45b10e
sub eax, ebp
inc eax
mov ebx, eax
jmp 0x45b113
mov ebx, 0xff
push ebx
lea edx, [esp + 0x88]
push ebp
push edx
call fcn.0049f4b0
lea eax, [esp + 0x90]
push 0x22
push eax
mov byte [esp + ebx + 0x98], 0
call fcn.0049ddf0
mov ebx, dword [esp + 0x38]
add esp, 0x14
test eax, eax
je 0x45b147
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 0x45b413
jmp 0x45b194
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x18], 0x200
jge 0x45b413
push 0x400
lea edx, [esp + 0x88]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esp + 0x84], 0
je 0x45b2bf
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
je 0x45b2b0
push 1
push 0x4b3b50
push 0xffffffffffffffff
call fcn.0041fa40
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x45b201
mov ecx, edi
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45b1f0
sub ecx, esi
push ecx
push edi
push eax
call fcn.0041fa40
lea ecx, [esp + 0x84]
lea esi, [ecx + 1]
jmp 0x45b210
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45b210
sub ecx, esi
push ecx
lea ecx, [esp + 0x88]
push ecx
push eax
call fcn.0041fa40
not eax
push eax
lea edx, [esp + 0x7c]
push str._08x
push edx
call fcn.0049e0d5
mov esi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.0045a530
test eax, eax
jne 0x45b261
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.0045a3a0
test eax, eax
je 0x45b2b0
lea esi, [eax + 0xa]
push 0xc
push esi
call fcn.0049dd30
add esp, 8
test eax, eax
je 0x45b27a
sub eax, esi
inc eax
mov edi, eax
jmp 0x45b27f
mov edi, 0xff
push edi
lea edx, [esp + 0x88]
push esi
push edx
call fcn.0049f4b0
lea eax, [esp + 0x90]
push 0x22
push eax
mov byte [esp + edi + 0x98], 0
call fcn.0049ddf0
add esp, 0x14
test eax, eax
je 0x45b2b0
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 0x45b3f4
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.00464e20
test eax, eax
jne 0x45b3d6
mov eax, dword [esp + 0x14]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 3
cmp al, 1
je 0x45b3d6
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 0x45b413
inc dword [esp + 0x18]
test eax, eax
jne 0x45b190
mov ecx, dword [esp + 0x884]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x878
ret 0xc