Function at 0x4105c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x48b088]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x228], eax
xor ebx, ebx
push esi
mov dword [ebp - 0x208], 0x4dc31311
mov esi, 0x4e0bcd45
mov eax, dword [ebp - 0x208]
sub esi, eax
push edi
mov edi, edx
mov dword [ebp - 0x210], ecx
mov eax, dword [esi]
add eax, 0x1d6842b7
mov dword [ebp - 0x20c], ebx
lea esi, [eax + eax]
mov eax, 0x5df200c4
sub eax, esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], eax
mov ecx, eax
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410656
test dx, dx
je 0x410652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410656
add eax, 4
add ecx, 4
test dx, dx
jne 0x410630
xor eax, eax
jmp 0x41065b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4106c6
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410664
sub ecx, edx
sar ecx, 1
cmp ecx, 6
jb 0x4108d4
mov eax, 0x5df200cc
sub eax, esi
add ecx, 0xfffffffa
lea ecx, [edi + ecx*2]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4106b6
test dx, dx
je 0x4106b2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4106b6
add ecx, 4
add eax, 4
test dx, dx
jne 0x410690
xor eax, eax
jmp 0x4106bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4108d4
lea ebx, [eax + 1]
mov edi, dword [sym.imp.USER32.dll_EnumChildWindows]
xor esi, esi
cmp dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], esi
jne 0x41073a
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], ecx
lea eax, [ebp - 0x20c]
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x210]
push ecx
push 0x404190
push eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0x4108f0
call edi
cmp dword [ebp - 0x22c], 0
jle 0x41073a
cmp dword [ebp - 0x20c], 0
je 0x4108d4
test ebx, ebx
jne 0x4107f4
push 0x100
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x204]
mov edi, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x41078e
test si, si
je 0x41078a
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x41078e
add ecx, 4
add edx, 4
test ax, ax
jne 0x410768
xor eax, eax
jmp 0x410793
sbb eax, eax
or eax, 1
test eax, eax
je 0x4107e8
cmp edi, 6
jb 0x4108d4
mov eax, 0x5df200cc
lea ecx, [ebp + edi*2 - 0x210]
sub eax, dword [ebp - 0x220]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4107d8
test dx, dx
je 0x4107d4
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4107d8
add ecx, 4
add eax, 4
test dx, dx
jne 0x4107b2
xor eax, eax
jmp 0x4107dd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4108d4
lea ebx, [eax + 1]
mov edi, dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [ebp - 0x208]
cmp dword [ebp - 0x20c], 0
jne 0x410819
cmp esi, 0x1f4
jae 0x4108d4
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x32
jmp 0x4106ce
test ebx, ebx
je 0x4108d4
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x240], ecx
lea ecx, [ebp - 0x248]
push ecx
push 0x404190
push eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], 0x4109d0
call edi
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4108d4
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x24c], ecx
lea ecx, [ebp - 0x254]
push ecx
push 0x404190
push eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 0x410aa0
call edi
cmp dword [ebp - 0x218], 0
je 0x4108d4
mov eax, dword [ebp - 0x224]
mov ecx, 0x409
pop edi
pop esi
pop ebx
mov dword [eax], 0xf
mov eax, dword [ebp - 0x228]
mov word [eax], cx
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431ac5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431ac5
mov esp, ebp
pop ebp
ret