Function at 0x45d100
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58be50
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5ef60c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0045f267
fld1
xor edi, edi
fstp dword [esp + 0x18]
or esi, 0xffffffff
push 0x5f806c
mov dword [esp + 0x48], vtable.ATL::CImage.0
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov byte [esp + 0x64], 0
mov byte [esp + 0x65], 0
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [0x5f8084]
push 0x5f806c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x44], vtable.CImagePlus.0
push 0xc6
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x88], edi
call fcn.0040c060
cmp dword [esp + 0x48], edi
je 0x45d1f1
push edi
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esp + 0x50], edi
je 0x45d1f1
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fidiv dword [esp + 0x50]
fstp dword [esp + 0x18]
lea ecx, [esp + 0x44]
mov dword [esp + 0x80], esi
call fcn.00414170
call fcn.00467a9c
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xcc]
cmp dword [eax + 0x98], edi
je 0x45d28b
mov edx, dword [eax + 0x8c]
cmp dword [edx - 0xc], edi
je 0x45d28b
mov eax, dword [ebx + 0x20]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.00462b05
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x45d28b
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
fld dword [esp + 0x18]
fmul qword [0x5c4c50]
fiadd dword [esp + 0x20]
call fcn.0055d3a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x30]
sub edx, eax
push edx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.00466076
lea esi, [esp + 0x14]
mov eax, 0x5f83a8
call fcn.00416b50
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], 1
call fcn.0046bbb6
mov byte [esp + 0x80], 2
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], edi
jl 0x45d2f5
push 0x5c4a98
push ecx
call fcn.005592d8
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, edi
je 0x45d2f0
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x45d2f0
lea eax, [esp + 0x30]
push 0x2c
push eax
mov ecx, esi
call fcn.0040f5b0
add esp, 8
jmp 0x45d308
cmp dword [ecx - 0xc], edi
je 0x45d308
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0046bf31
mov eax, dword [esp + 0x38]
cmp eax, 1
jle 0x45d3d1
push 5
lea ecx, [ebx + 0x11c]
call fcn.004660b6
push edi
lea ecx, [ebx + 0x74]
call fcn.004660b6
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, edi
jle 0x45d369
cmp esi, edi
jl 0x45d3f5
cmp esi, eax
jge 0x45d3f5
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
mov ecx, dword [ebx + 0x13c]
push eax
push edi
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
jl 0x45d335
push 0x75
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 3
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x430]
call fcn.00465feb
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d3b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x13c]
push edi
push edi
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45d486
jne 0x45d459
lea esi, [ebx + 0x74]
push 5
mov ecx, esi
call fcn.004660b6
push edi
lea ecx, [ebx + 0x11c]
call fcn.004660b6
cmp dword [esp + 0x38], edi
jg 0x45d3fa
call fcn.0045e880
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
mov ecx, esi
call fcn.00465feb
push 0x76
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 4
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x430]
call fcn.00465feb
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d486
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45d486
push edi
lea ecx, [ebx + 0x74]
call fcn.004660b6
push edi
lea ecx, [ebx + 0x11c]
call fcn.004660b6
push edi
lea ecx, [ebx + 0x1c4]
call fcn.004660b6
push edi
lea ecx, [ebx + 0x430]
call fcn.004660b6
mov eax, dword [ebx + 0x59c]
cmp eax, edi
jne 0x45d494
xor eax, eax
jmp 0x45d497
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x94]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push ecx
call esi
mov eax, dword [ebx + 0x59c]
cmp eax, edi
jne 0x45d4b9
xor eax, eax
jmp 0x45d4bc
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x13c]
push 1
push eax
push 0x30
push edx
call esi
mov eax, dword [ebx + 0x59c]
cmp eax, edi
jne 0x45d4d8
xor eax, eax
jmp 0x45d4db
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x450]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00467a9c
mov eax, dword [eax + 4]
lea esi, [esp + 0x18]
call fcn.00401030
mov byte [esp + 0x80], 5
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], edi
jne 0x45d529
push edi
lea edx, [esp + 0x14]
push edx
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 6
jmp 0x45d550
mov edx, dword [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401a30
push 0x5f8100
lea edi, [esp + 0x18]
call fcn.0041c730
mov byte [esp + 0x80], 7
mov eax, dword [eax]
push eax
mov ecx, ebx
call fcn.00465feb
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d582
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x6e
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 8
mov eax, dword [eax]
lea esi, [ebx + 0x548]
push eax
mov ecx, esi
call fcn.00465feb
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d5d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x5ac]
test eax, eax
je 0x45d5e0
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x568]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push ecx
call edi
lea edx, [ebx + 0x5a4]
push ebx
push edx
call fcn.00412c50
add esp, 8
lea esi, [esp + 0x10]
mov eax, 0x5f83a8
call fcn.004295a0
mov byte [esp + 0x80], 9
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0xc8]
call fcn.00465feb
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d650
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x45d65d
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0xe8]
push 1
push eax
push 0x30
push ecx
call edi
call fcn.0045e972
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45d685
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x68
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x5f8100
mov byte [esp + 0x88], 0xa
call fcn.0041bf20
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0xb
call fcn.00401f40
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d6e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x45d703
push 2
push 0x5bb6c0
lea ecx, [esp + 0x18]
call fcn.00403ed0
mov edx, dword [esp + 0x10]
push edx
lea ecx, [ebx + 0x170]
call fcn.00465feb
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x45d720
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x190]
push 0x30
push eax
call edi
push 0x69
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x5f8100
call fcn.0041bf20
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0xc
call fcn.00401f40
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d779
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x45d793
push 2
push 0x5bb6c0
lea ecx, [esp + 0x18]
call fcn.00403ed0
mov edx, dword [esp + 0x10]
push edx
lea ecx, [ebx + 0x1c4]
call fcn.00465feb
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x45d7b0
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x1e4]
push 0x30
push eax
call edi
push 0x70
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 0xd
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x218]
call fcn.00465feb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d80d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x5a8]
test eax, eax
je 0x45d81a
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x238]
push 1
push eax
push 0x30
push ecx
call edi
push 0x6f
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 0xe
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x26c]
call fcn.00465feb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d877
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x45d884
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x28c]
push 1
push eax
push 0x30
push ecx
call edi
push 0x72
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 0xf
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x2c0]
call fcn.00465feb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d8e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x5a8]
test eax, eax
je 0x45d8ee
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x2e0]
push 1
push eax
push 0x30
push ecx
call edi
push 0x71
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 0x10
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x314]
call fcn.00465feb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d94b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x45d958
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x334]
push 1
push eax
push 0x30
push ecx
call edi
push 0x73
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 0x11
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x368]
call fcn.00465feb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d9b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x45d9c2
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x388]
push 1
push eax
push 0x30
push ecx
call edi
push 0x74
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 0x12
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x3cc]
call fcn.00465feb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45da1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x45da2c
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x3ec]
push 1
push eax
push 0x30
push ecx
call edi
push 0x6c
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5f8100
call fcn.0041bf20
mov byte [esp + 0x80], 0x13
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x4e4]
call fcn.00465feb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45da89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x45da96
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x504]
push 1
push eax
push 0x30
push ecx
call edi
push 0xc6
lea esi, [ebx + 0x5b0]
call fcn.00416cc0
push 0xb8
lea esi, [ebx + 0x4d8]
call fcn.00416cc0
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45daec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45db14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
call fcn.0046bde2
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45db50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret