Function at 0x418ac0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x21c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 4]
push edi
push 0x640
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov esi, eax
push 0
push 0x101c
push esi
call ebp
push 0
push 0
push 0x101c
push esi
call ebp
push 0
push 0
push 0x101c
push esi
call ebp
push 0
push 0
push 0x1009
push esi
call ebp
push 0
push 0x64
push 0x102f
push esi
call ebp
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x12c]
push 0x100
push ecx
push 0x401
push 0
mov dword [esp + 0x54], 0xd
mov dword [esp + 0x58], 0
call edi
lea eax, [esp + 0x44]
lea edx, [esp + 0x12c]
push eax
push 0
push 0x101b
push esi
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], edx
call ebp
lea ecx, [esp + 0x12c]
push 0x100
push ecx
push 0x402
push 0
call edi
lea eax, [esp + 0x44]
lea edx, [esp + 0x12c]
push eax
push 1
push 0x101b
push esi
mov dword [esp + 0x68], 1
mov dword [esp + 0x60], edx
call ebp
lea ecx, [esp + 0x12c]
push 0x100
push ecx
push 0x403
push 0
call edi
lea eax, [esp + 0x44]
lea edx, [esp + 0x12c]
push eax
mov dword [esp + 0x5c], 2
mov dword [esp + 0x54], edx
push 2
push 0x101b
push esi
call ebp
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
mov eax, dword [0x4462f4]
xor edi, edi
test eax, eax
mov dword [esp + 0x64], 1
je 0x418db7
mov dword [esp + 0x10], 0x4462f4
add ebx, 0x424
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x12c]
push 0x100
push ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x70], edi
push eax
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x64]
lea ecx, [esp + 0x12c]
push edx
push 0
push 0x1007
push esi
mov dword [esp + 0x88], ecx
call ebp
mov eax, dword [ebx - 0x200]
test eax, eax
jne 0x418c80
lea eax, [esp + 0xdc]
mov dword [esp + 0xe4], 1
push eax
push edi
push 0x102e
push esi
mov dword [esp + 0x100], 0x446a1c
call ebp
jmp 0x418cf8
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, 0x453468
call fcn.00407e80
mov eax, dword [esp + 0x28]
mov dword [esp + 0x94], 1
test eax, eax
mov dword [esp + 0xa0], 0x442380
je 0x418cb5
mov dword [esp + 0xa0], eax
lea edx, [esp + 0x8c]
push edx
push edi
push 0x102e
push esi
call ebp
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x418cea
mov al, byte [ecx - 1]
test al, al
je 0x418ce0
cmp al, 0xff
je 0x418ce0
dec al
mov byte [ecx - 1], al
jmp 0x418cea
dec ecx
push ecx
call fcn.00435930
add esp, 4
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
test eax, eax
jne 0x418d27
lea eax, [esp + 0x104]
mov dword [esp + 0x10c], 2
push eax
push edi
push 0x102e
push esi
mov dword [esp + 0x128], 0x446a1c
call ebp
jmp 0x418d9f
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, 0x453468
call fcn.00407e80
mov eax, dword [esp + 0x38]
mov dword [esp + 0xbc], 2
test eax, eax
mov dword [esp + 0xc8], 0x442380
je 0x418d5c
mov dword [esp + 0xc8], eax
lea edx, [esp + 0xb4]
push edx
push edi
push 0x102e
push esi
call ebp
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x418d91
mov al, byte [ecx - 1]
test al, al
je 0x418d87
cmp al, 0xff
je 0x418d87
dec al
mov byte [ecx - 1], al
jmp 0x418d91
dec ecx
push ecx
call fcn.00435930
add esp, 4
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
inc edi
add eax, 0xc
add ebx, 4
mov dword [esp + 0x10], eax
cmp dword [eax], 0
jne 0x418c0f
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
sub eax, edi
lea ecx, [eax + eax*4]
mov eax, 0x66666667
shl ecx, 1
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
and edx, 0xffff
push edx
push 0
push 0x101e
push esi
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub eax, ecx
lea ecx, [eax + eax*4]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
and edx, 0xffff
push edx
push 1
push 0x101e
push esi
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub eax, ecx
lea ecx, [eax + eax*4]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
and edx, 0xffff
push edx
push 2
push 0x101e
push esi
call ebp
push 0x21
push 0
push 0x1036
push esi
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret