Function at 0x45f5c9
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x4c8
mov eax, dword [0x488548]
xor eax, esp
mov dword [esp + 0x4c4], eax
push ebx
push ebp
mov ebp, dword [esp + 0x4d8]
push edi
mov edi, dword [0x48a230]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], ebp
jle 0x45f990
push esi
mov esi, dword [esp + 0x4dc]
cmp esi, ebx
jge 0x45f624
push dword [0x489764]
call fcn.0045bda2
mov esi, eax
cmp esi, ebx
jge 0x45f624
mov esi, dword [0x48a238]
cmp esi, ebx
jge 0x45f624
xor esi, esi
cmp esi, edi
jl 0x45f62b
lea esi, [edi - 1]
push ebp
call fcn.0045bda2
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x45f648
mov ecx, dword [0x48a240]
imul eax, eax, 0x3c
mov edi, dword [eax + ecx + 0x10]
jmp 0x45f658
push ebp
call fcn.0045bd78
mov edi, eax
cmp edi, ebx
jl 0x45f98f
cmp dword [esp + 0x4e4], ebx
jne 0x45f67b
push dword [0x489764]
call fcn.0045bda2
cmp esi, eax
jne 0x45f67b
mov dword [esp + 0x4e4], 1
mov ecx, dword [0x48a23c]
mov eax, edi
imul eax, eax, 0x18
mov dword [esp + 0x18], eax
cmp dword [eax + ecx + 4], ebx
jne 0x45f6b2
xor eax, eax
mov word [esp + 0x24], ax
push 0x258
lea eax, [esp + 0x28]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x24]
push eax
call fcn.004651e9
cmp dword [0x48a234], 1
jg 0x45f6f0
cmp dword [esp + 0x14], ebx
jl 0x45f6e4
mov dword [0x488538], str.SelectComboWindow_1
cmp dword [esp + 0x4e4], ebx
je 0x45f98f
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x45f98f
push ebp
push esi
call fcn.0045f48c
jmp 0x45f900
test dword [0x4870dc], 0x80000
je 0x45f75d
push esi
push ebp
call fcn.0045b501
test eax, eax
jge 0x45f75d
cmp dword [0x48a234], ebx
mov dword [esp + 0x10], ebx
jle 0x45f754
mov dword [esp + 0x1c], ebx
push dword [esp + 0x10]
push ebp
call fcn.0045b501
cmp eax, ebx
jl 0x45f73f
mov ecx, dword [esp + 0x1c]
push ebx
push eax
mov eax, dword [0x48a240]
push 0x1308
push dword [ecx + eax + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0x1c], 0x3c
cmp eax, dword [0x48a234]
jl 0x45f717
push ebp
push esi
push 1
call fcn.0045ccee
mov edx, dword [esp + 0x14]
cmp edx, ebx
jl 0x45f835
cmp edx, esi
je 0x45f900
mov ecx, dword [0x48a240]
imul edx, edx, 0x3c
mov eax, esi
imul eax, eax, 0x3c
mov esi, dword [eax + ecx + 0x10]
mov dword [edx + ecx + 0x10], esi
imul esi, esi, 0x18
mov ecx, dword [0x48a240]
mov dword [eax + ecx + 0x10], edi
mov eax, dword [0x48a23c]
mov edx, dword [esi + eax]
mov ecx, dword [0x489768]
mov edi, str.SelectComboWindow1
cmp ecx, edx
jne 0x45f7ba
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + eax]
mov dword [0x488538], edi
jmp 0x45f7d3
mov ebp, dword [esp + 0x18]
cmp ecx, dword [eax + ebp]
mov ebp, dword [esp + 0x20]
jne 0x45f7d9
mov ecx, edx
mov dword [0x488538], 0x4806b8
mov dword [0x489768], ecx
cmp ecx, ebx
je 0x45f7e6
cmp dword [0x48a230], 1
jne 0x45f7f6
push ebx
call fcn.00466c74
mov dword [0x488538], 0x480690
push edi
call fcn.00466f70
push 0xfffffffffffffffe
call fcn.00460142
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0x48a344
push dword [0x48a220]
call edi
mov eax, dword [0x48a23c]
mov esi, dword [esi + eax]
push 1
push ebx
push esi
call edi
push dword [esp + 0x14]
push esi
call fcn.0045b82a
jmp 0x45f900
push ebx
push ebx
push 0xb
push dword [0x48a220]
call dword [sym.imp.USER32.dll_SendMessageW]
imul esi, esi, 0x3c
mov eax, dword [0x48a240]
lea eax, [esi + eax + 0x10]
mov esi, dword [eax]
imul esi, esi, 0x18
mov dword [eax], edi
mov eax, dword [0x48a23c]
mov ecx, dword [esi + eax]
cmp ecx, dword [0x489768]
jne 0x45f878
mov dword [0x489768], ebp
mov dword [0x488538], 0x480668
mov edi, dword [esi + eax]
call dword [sym.imp.USER32.dll_GetFocus]
cmp edi, eax
jne 0x45f8b7
push 0x50
push ebx
push ebx
push 0xfffffffffffffff6
push 0xfffffffffffffff6
push ebx
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x48a23c]
push ebx
push dword [esi + eax]
call dword [sym.imp.USER32.dll_ShowWindow]
push str._SelectComboWindow2a
call fcn.00466f70
jmp 0x45f8d9
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push str._SelectComboWindow2b
call fcn.00466f70
push 0x50
push ebx
push ebx
push 0xfffffffffffffff6
push 0xfffffffffffffff6
push ebx
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
push 1
push 0xb
push dword [0x48a220]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
push dword [0x48a220]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0xfffffffffffffffe
call fcn.00460142
cmp dword [esp + 0x4e4], ebx
je 0x45f91a
push ebp
mov dword [0x488538], 0x4805e8
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x48a234]
cmp eax, ebx
je 0x45f98f
cmp dword [esp + 0x4e4], ebx
je 0x45f93d
mov ecx, dword [esp + 0x18]
mov edx, dword [0x48a23c]
cmp dword [ecx + edx + 0xc], 2
je 0x45f98f
cmp eax, 1
jle 0x45f94c
push ebp
call fcn.0045bda2
mov esi, eax
jmp 0x45f94e
xor esi, esi
push esi
push ebp
call fcn.0045b501
cmp eax, ebx
jge 0x45f96c
push ebp
push esi
push ebx
call fcn.0045ccee
push esi
push ebp
call fcn.0045b501
cmp eax, ebx
jl 0x45f985
imul esi, esi, 0x3c
push ebx
push eax
mov eax, dword [0x48a240]
push 0x130c
push dword [esi + eax + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
push str.SelectComboWindow3
call fcn.00466f70
pop esi
mov ecx, dword [esp + 0x4d0]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046890b
add esp, 0x4c8
ret 0xc