Function at 0x1004af36
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ce3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push esi
push edi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1004afb6
lea eax, [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x1004af8e
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1004af8c
push 0x599
push 0
push 0x713
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1004afb1
mov byte [ebp - 0x15], 0
push 0x1540
push 0x64cf
push 0
push 0x4137
push 1
lea eax, [ebp - 0x15]
push eax
call fcn.10049d60
add esp, 0x18
jmp 0x1004b372
lea eax, [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1004b33c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
push 1
push 0x26e
push 1
push 0x29a4
push 0x9a8
call fcn.1004a766
add esp, 0x14
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call fcn.10041ff5
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x8c]
call fcn.1003f5a4
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x1004b161
push 0x2e61
push 1
push 0xada
push 0x4913
push 0xbdb
push 0x606c
push 0x690d
push 0
push 0x1717
call fcn.1004c72a
add esp, 0x24
lea eax, [ebp - 0xc4]
push eax
call fcn.10040466
pop ecx
mov esi, eax
lea edi, [ebp - 0xac]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xac]
lea edi, [ebp - 0xb8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call fcn.1004200f
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x30], 1
push 1
lea ecx, [ebp - 0x98]
call fcn.1000bc61
mov byte [ebp - 4], 1
push 0x64e4
lea eax, [ebp - 0x98]
push eax
push 0x31fa
push 1
lea eax, [ebp - 0x9c]
push eax
push 0
call fcn.1004a8ad
add esp, 0x18
lea eax, [ebp - 0x30]
push eax
push 0
push 0xaf3
push 0x1849
lea eax, [ebp - 0x98]
push eax
push 0x3f67
push 0x1e11
push 0
push 0x54c4
call fcn.1004c72a
add esp, 0x24
lea eax, [ebp - 0x30]
push eax
push 0x472d
lea eax, [ebp - 0x98]
push eax
push 1
push 0xd48
push 1
call fcn.1004a8ad
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.1000bce3
lea eax, [ebp - 0x50]
push eax
push 0x1c3e
lea eax, [ebp - 0x8c]
push eax
push 1
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x78]
push eax
push 1
push 0x3005
push 0x5a2c
call fcn.1004a635
add esp, 0x24
mov dword [ebp - 0x10], 0xee76f502
mov dword [ebp - 0x74], 0x90ef874a
mov dword [ebp - 0x1c], 0
jmp 0x1004b17f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1004b192
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x14], 0
jmp 0x1004b178
mov dword [ebp - 0x10], 0
jmp 0x1004b1a2
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004b30b
mov dword [ebp - 0x24], 3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x14], 0xfffffffb
jge 0x1004b1cf
mov dword [ebp - 0x38], 1
jmp 0x1004b1d3
and dword [ebp - 0x38], 0
xor eax, eax
sub eax, dword [ebp - 0x38]
cmp eax, 0xd1c5
jge 0x1004b1e8
mov dword [ebp - 0x7c], 1
jmp 0x1004b1ec
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x14]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ebp + ecx*4 - 0x14]
jle 0x1004b210
mov dword [ebp - 0x48], 1
jmp 0x1004b214
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0xffffffff
jae 0x1004b223
mov dword [ebp - 0x40], 1
jmp 0x1004b227
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
add eax, dword [ebp - 0x40]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x14]
jg 0x1004b246
mov dword [ebp - 0x2c], 1
jmp 0x1004b24a
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x14], ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0x3a4d1b40
jne 0x1004b26d
mov dword [ebp - 0x34], 1
jmp 0x1004b271
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xb28
jle 0x1004b2f6
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0xffffffff
jne 0x1004b290
mov dword [ebp - 0x20], 1
jmp 0x1004b294
and dword [ebp - 0x20], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp + eax - 0x14], ecx
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jne 0x1004b2b6
mov dword [ebp - 0x3c], 1
jmp 0x1004b2ba
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x334a
jle 0x1004b2cc
mov dword [ebp - 0x44], 1
jmp 0x1004b2d0
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x44], eax
je 0x1004b2e1
mov dword [ebp - 0x4c], 1
jmp 0x1004b2e5
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x24]
jg 0x1004b2f6
and dword [ebp - 0x28], 0
jmp 0x1004b2fd
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x74], eax
jmp 0x1004b19b
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.1004dd3b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.1004dd36
jmp 0x1004b372
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1004b372
push 0x1915
push 1
push 0x6e9c
push 0x1c9
push 1
push 0x730a
call fcn.10043f7a
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret