Function at 0x1003f120
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100644bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003f45b
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x78], 0x17a1
cmp dword [ebp - 0x78], 0x65c
jge 0x1003f3c8
and dword [ebp - 0x30], 0
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x10007a10
call fcn.1004a93b
add esp, 0xc
mov byte [ebp - 0x15], 1
lea eax, [ebp - 0x15]
push eax
mov eax, dword [ebp - 0x30]
inc eax
push eax
lea ecx, [ebp - 0x48]
call fcn.10022084
and dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x64], 0
je 0x1003f309
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xe]
push eax
push 0x10007bd4
call fcn.1004a93b
add esp, 0xc
movsx eax, byte [ebp - 0xe]
cmp eax, 0x2b
jne 0x1003f20b
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1003f1fc
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x48]
call fcn.10022105
mov ecx, eax
call fcn.10022124
jmp 0x1003f206
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], 1
jmp 0x1003f2b0
push dword [ebp - 0x20]
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x48]
call fcn.10022105
mov ecx, eax
call fcn.10022149
movzx eax, al
test eax, eax
je 0x1003f2b0
cmp dword [ebp - 0x1c], 0
jle 0x1003f258
cmp dword [ebp - 0x14], 0
jle 0x1003f258
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x48]
call fcn.10022105
mov ecx, eax
call fcn.10022124
jmp 0x1003f268
cmp dword [ebp - 0x1c], 0
jle 0x1003f268
cmp dword [ebp - 0x14], 0
jne 0x1003f268
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x14], 0
jle 0x1003f2ac
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
je 0x1003f2ac
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x48]
call fcn.10022105
mov ecx, eax
call fcn.10022124
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x48]
call fcn.10022105
mov ecx, eax
call fcn.10022124
and dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 1
jmp 0x1003f2c0
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x30]
jg 0x1003f2f9
push dword [ebp - 0x24]
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x48]
call fcn.10022105
mov ecx, eax
call fcn.10022149
movzx eax, al
test eax, eax
je 0x1003f2f7
push dword [ebp - 0x24]
push 0x10007a1c
call fcn.1004ace5
pop ecx
pop ecx
jmp 0x1003f2b9
push 0x100076b5
call fcn.1004b3f4
pop ecx
jmp 0x1003f1a2
and dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 1
jmp 0x1003f31d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jg 0x1003f34e
push dword [ebp - 0x34]
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x48]
call fcn.10022105
mov ecx, eax
call fcn.10022149
movzx eax, al
test eax, eax
je 0x1003f34c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
jmp 0x1003f316
push 0x10007bdc
call fcn.1004b3f4
pop ecx
push dword [ebp - 0x38]
push 0x10007788
call fcn.1004ace5
pop ecx
pop ecx
mov dword [ebp - 0x2c], 1
jmp 0x1003f378
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jg 0x1003f3b1
push dword [ebp - 0x2c]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x48]
call fcn.10022105
mov ecx, eax
call fcn.10022149
movzx eax, al
test eax, eax
je 0x1003f3af
push dword [ebp - 0x2c]
push 0x10007a1c
call fcn.1004ace5
pop ecx
pop ecx
jmp 0x1003f371
push 0x100076b5
call fcn.1004b3f4
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.100220e5
lea eax, [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x1003f431
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x1003f412
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 3
jge 0x1003f42f
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.1000e0ff
mov dword [eax], 1
jmp 0x1003f407
jmp 0x1003f459
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1003f459
push 0x4da
push 0
push 0x258a
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1003f48f
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
push 0x43f4
push dword [ebp - 0x68]
push dword [ebp - 0x50]
push 0x7a30
push dword [ebp - 0x58]
push 1
push 0x5c47
call fcn.1002e78e
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret