Function at 0x403e4a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x14
call fcn.00415147
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x403eae
push 6
call fcn.00415153
add esp, 4
test eax, eax
je 0x40411f
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.00415cd0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403eeb
push ebx
call fcn.0041514d
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.00415cd0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403f24
push ebx
call fcn.0041514d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], esp
push 0xff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x403f52
push 6
call fcn.00415153
add esp, 4
mov dword [ebp - 0x18], esp
push 0xff
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x403f7c
push 6
call fcn.00415153
add esp, 4
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x403fa2
push 6
call fcn.00415153
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 8]
test eax, eax
je 0x403ffa
push eax
mov ebx, eax
call fcn.004019e3
inc eax
push eax
call fcn.00415147
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40400d
push ebx
call fcn.0041514d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x404038
push eax
mov ebx, eax
call fcn.004019e3
inc eax
push eax
call fcn.00415147
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40404b
push ebx
call fcn.0041514d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
push 0x4f3ce9
push 4
mov eax, 2
call fcn.00415380
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [0x4f3ce9]
mov dword [ebp - 0x1c], ebx
call fcn.0040103f
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x404098
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x1c]
call fcn.00415165
add esp, 8
mov dword [0x4f3ce9], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x20]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x18]
push edi
push eax
push 0x14
call fcn.00415147
add esp, 4
pop esi
mov edi, eax
push eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4040f9
push eax
mov ebx, eax
call fcn.004019e3
inc eax
push eax
call fcn.00415147
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x404118
push eax
mov ebx, eax
call fcn.004019e3
inc eax
push eax
call fcn.00415147
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40412f
push ebx
call fcn.0041514d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40413f
push ebx
call fcn.0041514d
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x404156
push ebx
call fcn.0041514d
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40416a
push ebx
call fcn.0041514d
add esp, 4
pop ebx
call fcn.0041514d
add esp, 4
mov esp, ebp
pop ebp
ret 4