Function at 0x458c40
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x47dcb0
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a15f0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
xor ebp, ebp
cmp dword [esi + 0x1d4], ebp
jne 0x458c97
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x20]
mov dword [esp + 0x24], ebp
jne 0x458c9f
mov dword [esp + 0x24], 1
mov ecx, esi
call fcn.0040dedb
mov ebx, dword [esp + 0xe0]
cmp ebx, ebp
mov edi, eax
jne 0x458cb7
xor eax, eax
jmp 0x458cba
mov eax, dword [ebx + 4]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x68]
call fcn.0045d200
mov ecx, esi
mov dword [esp + 0xd8], ebp
call fcn.0040dedb
neg eax
sbb eax, eax
and eax, 0xfffffff6
add eax, 0xf
push eax
mov ecx, esi
call fcn.00437a20
mov ebp, eax
push ebp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x54], ebp
call fcn.0041aae5
cmp dword [esi + 0x60], 0
je 0x458d75
test ebx, ebx
mov dword [esi + 0x1dc], 1
jne 0x458d16
xor eax, eax
jmp 0x458d19
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.0045d200
mov eax, dword [esp + 0x94]
mov edx, dword [esi]
mov edx, dword [edx + 0x110]
push 0
push eax
push 0xf
mov ecx, esi
mov byte [esp + 0xe4], 1
call edx
lea ecx, [esp + 0x90]
call fcn.0045c6e0
lea ecx, [esp + 0x90]
mov dword [esi + 0x1dc], 0
mov byte [esp + 0xd8], 0
call fcn.0045d410
mov ecx, dword [esp + 0x64]
mov eax, dword [esi]
mov edx, dword [eax + 0x110]
push 0
push ecx
push 0x318
mov ecx, esi
call edx
mov ebx, dword [esi + 0x58]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.COMBOBOX
call fcn.004034e7
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push esi
mov ecx, ebx
call edx
test edi, edi
mov ebx, eax
mov dword [esp + 0x44], ebx
jne 0x458dbf
mov dword [esp + 0x24], 4
jmp 0x458dcf
xor eax, eax
cmp dword [esp + 0x24], eax
setne al
add eax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
push 0
push 0xfa1
push ecx
push 0
mov ecx, ebx
call fcn.004346b0
push 2
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [esi + 0x60], 0
mov dword [esp + 0x3c], eax
jne 0x458e84
call fcn.004492a0
mov ecx, eax
call fcn.00449c30
cmp eax, 0x6000a
jb 0x458e84
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x48], 1
jne 0x458ec2
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add edx, 2
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x28]
add eax, 0xfffffffe
add edx, 2
add ecx, 0xfffffffe
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x1c], edx
call fcn.0040c513
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push edx
push 0
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call fcn.00433500
jmp 0x458f2b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, eax
sub edx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
sub edx, 3
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x34]
push ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x50], 0
mov dword [esp + 0x28], edx
call fcn.0041aae5
jmp 0x458f2b
cmp eax, 1
jne 0x458f2b
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
push 0xed9
push ecx
push 0
mov ecx, ebx
call fcn.00434660
push eax
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x6c]
call fcn.0041adab
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
push ebp
mov dword [esp + 0x1c], edx
push ebp
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x28], eax
call fcn.0041adab
push 0
lea ecx, [esp + 0x64]
call fcn.0040c907
mov ecx, esi
call fcn.0040dd98
test al, 2
je 0x459060
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
push ebp
add edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], edx
call fcn.0041aae5
mov ebp, dword [esi + 0x58]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.BUTTON
call fcn.004034e7
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push esi
mov ecx, ebp
call eax
lea ecx, [esp + 0x3c]
push ecx
push 1
push 0
mov ebp, eax
mov eax, 0xd
push 0
push 3
mov ecx, ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.00434b90
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
sub eax, ebx
add eax, dword [esp + 0x18]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x3c]
sar ecx, 1
add eax, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
mov dword [esp + 0x50], eax
add eax, edx
mov dword [esp + 0x58], eax
add ecx, ebx
lea eax, [esp + 0xc0]
push eax
neg edi
push 0
sbb edi, edi
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x20]
push 0x1001
and edi, 0xfffffffd
push ecx
add edi, 4
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, 1
neg eax
sbb eax, eax
neg eax
je 0x459044
add edi, 4
lea edx, [esp + 0x50]
push edx
push edi
push 3
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.00433500
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov ecx, esi
call fcn.0040dd98
test al, 1
jne 0x4590d8
cmp dword [esp + 0x48], 0
jne 0x4590d8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
push 2
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, edx
sub ecx, eax
mov eax, dword [esp + 0x18]
push ebp
sub esi, eax
push esi
sub edx, ecx
push edx
push eax
mov dword [esp + 0x24], ecx
push ecx
lea ecx, [esp + 0x74]
call fcn.0041ac41
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push eax
push 1
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebx
call fcn.00433500
lea ecx, [esp + 0x60]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0045d410
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 4