Function at 0x45cc40
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x154
push ebx
push esi
push edi
push ebp
mov edi, dword [esp + 0x168]
push 0xfffffffffffffff0
push edi
call dword [0x4724f4]
mov ebx, eax
push edi
and eax, 0x20
and ebx, 0x1f
mov ebp, dword [0x472534]
mov dword [esp + 0x24], eax
call ebp
mov esi, dword [esp + 0x16c]
push 2
mov dword [esp + 0x20], eax
push esi
call dword [0x4720a4]
lea eax, [esp + 0x44]
mov ebp, dword [0x4725c4]
push eax
push edi
call ebp
mov ebp, dword [esp + 0x48]
lea edx, [esp + 0x44]
lea ecx, [esp + 0x34]
mov eax, dword [edx]
push 0
push 0
push 0x31
mov dword [ecx], eax
mov eax, dword [edx + 8]
push edi
mov edx, dword [edx + 0xc]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
call dword [0x4725b4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x45ccd1
push eax
push esi
call dword [0x4720d8]
mov dword [esp + 0x10], eax
push 0xf
mov ebp, dword [0x47241c]
call ebp
push eax
push esi
call dword [0x4720c0]
push 0x12
call ebp
push eax
push esi
call dword [0x4720c4]
mov eax, dword [esp + 0x1c]
push edi
push esi
push 0x135
push eax
call dword [0x4725b4]
push eax
push esi
call dword [0x4720d8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
push eax
mov ebp, dword [0x472084]
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
push esi
call ebp
mov ebp, dword [esp + 0x170]
test ebp, 0x10
je 0x45cd66
cmp ebx, 7
je 0x45cd66
mov eax, dword [esp + 0x40]
push 0xf00021
sub eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
push eax
push ecx
push edx
push esi
call dword [0x472074]
push edi
call dword [0x4724f0]
mov dword [esp + 0x28], eax
push 0
push 0
push 0xf2
push edi
call dword [0x4725b4]
mov dword [esp + 0x18], 0
mov ecx, eax
and ecx, 3
mov dword [esp + 0x30], ecx
cmp ecx, 1
sbb ecx, ecx
and eax, 4
inc ecx
mov dword [esp + 0x54], eax
sar eax, 1
or eax, ecx
mov edx, eax
shl eax, 3
sub eax, edx
add eax, eax
cmp dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
jne 0x45cdcd
add ecx, 2
mov eax, ecx
shl ecx, 3
sub ecx, eax
mov eax, dword [esp + 0x14]
lea edx, [eax + ecx*2]
mov dword [esp + 0x14], edx
test ebp, 0xa
jne 0x45cdde
test ebx, ebx
je 0x45cdde
cmp ebx, 1
jne 0x45cdf3
lea eax, [esp + 0x64]
push 0x100
push eax
push edi
call dword [0x4724d8]
mov dword [esp + 0x24], eax
cmp ebx, 9
ja case.0x45cdfc.8
jmp dword [ebx*4 + 0x45d164]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
push ebx
push ecx
push edx
push eax
push esi
push edi
call fcn.0045c900
add esp, 0x1c
jmp case.0x45cdfc.8
mov dword [esp + 0x18], 0xd
test ebp, 4
je 0x45d047
push esi
call dword [0x4720d4]
mov edi, eax
test edi, edi
je 0x45d047
mov eax, dword [0x495990]
push eax
push edi
call dword [0x4720d8]
mov ebx, eax
test ebx, ebx
je 0x45d040
mov eax, dword [esp + 0x18]
push 0xcc0020
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x48]
push ecx
cmp dword [esp + 0x2c], 0
push edi
push 0xd
push 0xe
je 0x45d018
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
sub eax, 0xd
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x54]
push ecx
sub eax, 0xe
jmp 0x45d030
cmp dword [esp + 0x30], 2
jne case.0x45cdfc.2
mov dword [esp + 0x18], 0x1a
jmp case.0x45cdfc.2
test ebp, 6
je case.0x45cdfc.8
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x64]
push eax
push ecx
push edx
push esi
call fcn.0045b000
add esp, 0x10
cmp dword [esp + 0x20], 0
jne 0x45cefd
lea eax, [esp + 0x20]
lea ecx, [esp + 0x54]
push eax
push ecx
push 0x49179c
push esi
call fcn.0045b000
add esp, 0x10
add dword [esp + 0x34], 4
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x38]
test ebp, 0x20
mov dword [esp + 0x40], eax
je 0x45cf9a
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x54]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x4c]
push edx
push edi
mov esi, dword [0x47240c]
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
mov dword [edx + 0xc], eax
mov dword [esp + 0x64], ecx
call esi
lea ecx, [esp + 0x5c]
push ecx
push edi
call esi
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x1c]
push eax
mov esi, dword [0x472424]
push ecx
call esi
lea ecx, [esp + 0x5c]
mov eax, dword [esp + 0x1c]
push ecx
push eax
call esi
lea ecx, [esp + 0x54]
push 1
mov edx, dword [esp + 0x20]
push ecx
push edx
call dword [0x472548]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x154
ret
mov eax, dword [esp + 0x20]
dec dword [esp + 0x4c]
dec dword [esp + 0x50]
push 0xf
cdq
sub eax, edx
push 2
sar eax, 1
push 2
add dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
push esi
call fcn.0045ae10
lea eax, [esp + 0x58]
add esp, 0x14
push 1
push 1
push eax
call dword [0x472478]
lea ecx, [esp + 0x44]
push 0xf
push 0
push 0
push ecx
push esi
call fcn.0045ae10
add esp, 0x14
cmp dword [esp + 0x28], 0
jne 0x45cffb
mov eax, dword [0x49597c]
push eax
push esi
call dword [0x4720c4]
lea eax, [esp + 0x34]
push 0x20
mov ecx, dword [esp + 0x28]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
push esi
call dword [0x4723f8]
jmp case.0x45cdfc.8
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
sub eax, 0xd
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x4c]
push ecx
push eax
push esi
call dword [0x4720dc]
push ebx
push edi
call dword [0x4720d8]
push edi
call dword [0x4720e8]
test ebp, 2
je 0x45d09a
cmp dword [esp + 0x20], 0
je 0x45d063
mov eax, dword [esp + 0x4c]
sub eax, 0x12
mov dword [esp + 0x3c], eax
jmp 0x45d06e
mov eax, dword [esp + 0x44]
add eax, 0x12
mov dword [esp + 0x34], eax
cmp dword [esp + 0x28], 0
jne 0x45d082
mov eax, dword [0x49597c]
push eax
push esi
call dword [0x4720c4]
lea eax, [esp + 0x34]
push 0x24
mov ecx, dword [esp + 0x28]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
push esi
call dword [0x4723f8]
test ebp, 8
je case.0x45cdfc.8
lea eax, [esp + 0x30]
lea ecx, [esp + 0x54]
lea edx, [esp + 0x64]
push eax
push ecx
push edx
push esi
call fcn.0045b000
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
add esp, 0x10
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
je 0x45d0f6
sub dword [esp + 0x4c], 0x12
mov dword [esp + 0x34], eax
jmp 0x45d0fd
add eax, 0x12
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
push 1
add eax, dword [esp + 0x38]
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], eax
push ecx
call dword [0x472544]
lea ecx, [esp + 0x44]
lea eax, [esp + 0x34]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
call dword [0x47247c]
lea ecx, [esp + 0x34]
push ecx
push esi
call dword [0x472554]
mov eax, dword [esp + 0x2c]
push eax
push esi
call dword [0x4720d8]
cmp dword [esp + 0x10], 0
je 0x45d158
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [0x4720d8]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x154
ret