Function at 0x401dc4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
push ebx
call fcn.00403636
add esp, 4
mov eax, 0x40626b
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push 0x40629f
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.00401d27
add esp, 8
cmp eax, 0
jne 0x401e5a
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00404170
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401e51
push ebx
call fcn.00403636
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x401e8d
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x401e78
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.0040363c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401e89
push ebx
call fcn.00403636
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00404170
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
push dword [ebp - 4]
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_FindWindowExA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x401edb
push 6
call fcn.0040362a
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401eee
push ebx
call fcn.00403636
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40217d
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.00404190
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401f33
push ebx
call fcn.00403636
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x401f53
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.0040363c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401f64
push ebx
call fcn.00403636
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 0xff
push dword [ebp - 0xc]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetClassNameA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x401f92
push 6
call fcn.0040362a
add esp, 4
mov dword [ebp - 0x14], esp
push 0xff
push dword [ebp - 0x10]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x401fbc
push 6
call fcn.0040362a
add esp, 4
push 0x40629f
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.00401d27
add esp, 8
cmp eax, 0
je 0x401ffc
push 1
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00401a77
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x401ffc
xor eax, eax
jmp 0x402001
mov eax, 1
test eax, eax
je 0x402101
push 0x40629f
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401d27
add esp, 8
cmp eax, 0
je 0x402083
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x40204b
mov eax, 0x40629f
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40205f
mov eax, 0x40629f
push eax
push 4
mov ebx, 0x148
call fcn.004041d0
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x402083
xor eax, eax
jmp 0x402088
mov eax, 1
test eax, eax
je 0x402101
push dword [ebp + 0x10]
push 4
mov eax, 2
call fcn.00403920
add esp, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
call fcn.004014d0
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp - 0x18]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4020d4
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x18]
call fcn.00403642
add esp, 8
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x1c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00404170
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_FindWindowExA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40214d
push 6
call fcn.0040362a
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402160
push ebx
call fcn.00403636
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
push 0
mov ebx, 0x350
call fcn.00403a90
add esp, 4
jmp 0x401ef4
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.004014f0
jmp 0x40218c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40219d
push ebx
call fcn.00403636
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4021ad
push ebx
call fcn.00403636
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4021bd
push ebx
call fcn.00403636
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c