Function at 0x1003f465
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x1003f6da
push esi
push edi
push dword [ebx]
push 0
push dword [ebx + 4]
call fcn.10023ffd
push dword [ebx + 4]
call fcn.10074af2
xor ecx, ecx
mov dword [ebp - 0x1c], 9
xor edi, edi
mov dword [ebp - 0xc], ecx
add esp, 0x10
inc edi
jmp 0x1003f4af
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x20], 0x24f01c08
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x1003f4a1
cmp dword [ebp - 0x20], ecx
je 0x1003f4da
mov byte [ebp - 1], cl
cmp byte [ebp - 1], cl
je 0x1003f5d6
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetMenu]
xor ecx, ecx
jmp 0x1003f5d6
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], ecx
jmp 0x1003f4f3
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x44], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x1003f4e5
mov dword [ebp - 0xc], ecx
jmp 0x1003f5cd
mov dword [ebp - 8], 0x3f467215
mov dword [ebp - 0x14], 0x3cc25429
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], ecx
jl 0x1003f5ca
mov dword [ebp - 0x14], 0xfffffffc
mov dword [ebp - 0x14], ecx
jmp 0x1003f535
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x38], 0x6d238e48
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1003f527
mov eax, dword [ebp - 8]
mov ecx, 0xd4e70302
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x20]
cmp ecx, eax
mov eax, dword [ebp - 8]
sbb esi, esi
xor edx, edx
inc esi
mov dword [ebp + eax*4 - 0x20], esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0xc]
cmp ecx, eax
setge dl
xor eax, eax
add edx, dword [ebp - 8]
test esi, esi
sete al
imul edx, eax
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x1003f5a1
cmp dword [ebp - 0x14], 0
je 0x1003f5a1
mov eax, edi
jmp 0x1003f5a3
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
push 0
setge dl
xor eax, eax
cmp eax, edx
pop ecx
sbb eax, eax
neg eax
mov dword [ebp - 0x3c], eax
dec dword [ebp - 8]
jns 0x1003f51b
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jle 0x1003f501
mov dword [ebx + 4], ecx
mov dword [ebp - 0x24], 3
mov dword [ebp - 8], ecx
jmp 0x1003f5f3
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x10], 0x1a9565e0
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x1003f5e5
mov dword [ebp - 8], ecx
jmp 0x1003f60b
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2c], 0xfffffffc
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x1003f5fd
mov dword [ebp - 8], ecx
jmp 0x1003f624
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x18], 0x7e80d68f
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x1003f616
mov byte [ebp - 1], cl
cmp byte [ebp - 1], 0
je 0x1003f647
push 0x1314
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jne 0x1003f653
cmp dword [ebp - 0x10], ecx
jne 0x1003f653
mov edi, ecx
mov esi, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0x10]
add esi, eax
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x10]
cmp edi, eax
mov eax, dword [ebp - 0x10]
setge dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x18]
pop edi
setl cl
xor edx, edx
imul ecx, eax
mov eax, dword [ebp - 0x18]
add ecx, 0xd777
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setle dl
xor ecx, ecx
cmp edx, eax
sete cl
xor eax, eax
cmp ecx, 5
mov dword [ebp - 0x18], ecx
setg al
xor ecx, ecx
sub esi, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
pop esi
setl cl
xor eax, eax
cmp ecx, 0x209c
setl al
xor ecx, ecx
cmp eax, 0x9b37
mov eax, dword [ebp - 0x10]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x10]
sete dl
xor ecx, ecx
cmp edx, eax
setg cl
and dword [ebx], 0
mov dword [ebp - 0x24], ecx
pop ebx
mov esp, ebp
pop ebp
ret