Function at 0x404ca0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x258
push ebx
mov ebx, dword [esp + 0x264]
push ebp
push esi
push edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 0
lea ebp, [ebx + 0x221]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x42c]
push 0x104
push ebp
push eax
push 1
push 1
call fcn.00404a70
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x74]
shl edx, 5
mov byte [ebx + 0x220], al
mov eax, dword [ebx + 0x430]
push 0x104
add edx, 0x4114b4
push ecx
push edx
push eax
push 1
call fcn.004045b0
mov edi, 0x4117b0
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x60]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x404e0f
mov eax, dword [ebx + 0x640]
lea ebp, [ebx + 0x435]
push 0x104
push ebp
push eax
push 0
push 1
call fcn.00404a70
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x178]
shl edx, 5
mov byte [ebx + 0x434], al
mov eax, dword [ebx + 0x644]
push 0x104
add edx, 0x4114b4
push ecx
push edx
push eax
push 1
call fcn.004045b0
mov edi, 0x4117b0
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x164]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x404e1a
mov eax, dword [0x4117e8]
mov dword [ebx + 0x435], eax
mov ecx, dword [ebx + 0x42c]
lea ebp, [ebx + 0x325]
push 0x104
push ebp
push ecx
push 1
push 0
call fcn.00404a70
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x430]
shl eax, 5
lea edx, [esp + 0x74]
push 0x104
add eax, 0x4114b4
push edx
push eax
push ecx
push 0
call fcn.004045b0
mov edi, 0x4117b0
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x60]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 8]
xor edi, edi
cmp eax, edi
jne 0x404f57
mov eax, dword [ebx + 0x640]
lea ebp, [ebx + 0x539]
push 0x104
push ebp
push eax
push edi
push edi
call fcn.00404a70
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x644]
shl edx, 5
lea ecx, [esp + 0x178]
push 0x104
add edx, 0x4114b4
push ecx
push edx
push eax
push edi
call fcn.004045b0
mov edi, 0x4117b0
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x164]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
jmp 0x404f62
mov eax, dword [0x4117e8]
mov dword [ebx + 0x539], eax
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x26c]
push ecx
push edi
push 0x1007
push ebx
mov dword [esp + 0x20], 0xd
mov dword [esp + 0x24], closesocket
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xffffffff
call ebp
cmp eax, 0xffffffff
je 0x404fcf
mov esi, 1
lea edx, [esp + 0x38]
mov dword [esp + 0x40], esi
push edx
push edi
push 0x102e
push ebx
mov dword [esp + 0x5c], 0xffffffff
call ebp
inc esi
cmp esi, 5
jl 0x404faf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret