Function at 0x401ec7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1f8
mov eax, dword [0x42b004]
xor eax, esp
mov dword [esp + 0x1f4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0xfffffbdb
push esi
mov esi, dword [0x4309d8]
push edi
cmp eax, 7
ja case.0x401d56.1066
jmp dword [eax*4 + 0x402118]
mov eax, dword [esi + 0x30]
test eax, 0x10000
je 0x401d85
push dword [esi + 8]
and eax, 0xfffeffff
push 0
push 0x172
push ecx
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ee8
push dword [esi + 0xc]
or eax, 0x10000
push 0
push 0x172
push ecx
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ee8
mov eax, dword [esi + 0x30]
test eax, 0x20000
je 0x401dcb
push dword [esi + 0x10]
and eax, 0xfffdffff
push 0
push 0x172
push ecx
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ee8
push dword [esi + 0x14]
or eax, 0x20000
push 0
push 0x172
push ecx
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ee8
mov eax, dword [esi + 0x30]
test eax, 0x40000
je 0x401e11
push dword [esi + 0x18]
and eax, 0xfffbffff
push 0
push 0x172
push ecx
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ee8
push dword [esi + 0x1c]
or eax, 0x40000
push 0
push 0x172
push ecx
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ee8
mov eax, dword [esi + 0x30]
test al, 0x10
je 0x401e52
push dword [esi + 0x20]
and eax, 0xffffffef
push 0
push 0x172
push ecx
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ee8
push dword [esi + 0x24]
or eax, 0x10
push 0
push 0x172
push ecx
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ee8
mov eax, dword [esi + 0x30]
test al, 0x40
je 0x401e8b
push dword [esi + 0x28]
and eax, 0xffffffbf
push 0
push 0x172
push ecx
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ee8
push dword [esi + 0x2c]
or eax, 0x40
push 0
push 0x172
push ecx
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ee8
push 0x34
push 0x427ccc
push 0x42f630
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne case.0x401d56.1066
or dword [esi + 0x30], 1
jmp 0x401ee8
push 0x34
push 0x427ccc
push 0x42f730
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne case.0x401d56.1066
or dword [esi + 0x30], 2
mov ecx, dword [esi + 0x30]
mov edx, ecx
or edx, 0x10
test cl, 0x40
cmove edx, ecx
mov edi, edx
or edi, 0x20
test dl, 0x50
cmovne edi, edx
mov eax, edi
and eax, 0x70000
cmp dword [0x430ac0], 0
mov dword [esp + 8], eax
je case.0x401d56.1066
push 0x90
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0040da60
xor eax, eax
cmp dword [esp + 0x14], eax
push 0x100
setne al
push 0
lea eax, [eax*4 + 4]
or eax, edi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
push eax
call fcn.0040da60
push 0x40
lea eax, [esp + 0xcc]
push 0
push eax
call fcn.0040da60
add esp, 0x24
lea eax, [esp + 0xf8]
push 0x80
push eax
push 0x3f2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x430ac0]
lea edx, [esp + 0xf8]
mov dword [esp + 8], eax
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x401fa0
sub edx, ecx
lea eax, [esp + 0xb0]
sar edx, 1
lea ecx, [esp + 0xf8]
push eax
add edx, edx
call fcn.00408f90
mov ecx, dword [esp + 0xc]
mov edx, 0x90
movups xmm0, xmmword [esp + 0xb4]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0x6f01ca9b
mov eax, dword [ecx + 8]
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x28], eax
lea eax, [esp + 0xb4]
movups xmm0, xmmword [esp + 0xc4]
push eax
movups xmmword [esp + 0x48], xmm0
movups xmm0, xmmword [esp + 0xd8]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [esp + 0xe8]
movups xmmword [esp + 0x68], xmm0
movups xmm0, xmmword [ecx + 0x50]
movups xmmword [esp + 0x78], xmm0
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [esp + 0x88], xmm0
movups xmm0, xmmword [ecx + 0x70]
movups xmmword [esp + 0x98], xmm0
movups xmm0, xmmword [ecx + 0x80]
lea ecx, [esp + 0x28]
movups xmmword [esp + 0xa8], xmm0
call fcn.00408f90
mov eax, dword [esp + 0x10]
add esp, 8
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [eax + 0x10], xmm0
push 0x41f
movups xmm0, xmmword [esp + 0xc4]
mov dword [eax + 0xc], edi
mov dword [eax + 4], 0
movups xmmword [eax + 0x20], xmm0
mov dword [eax], 0x444c5052
movups xmm0, xmmword [esp + 0xd4]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esp + 0xe4]
movups xmmword [eax + 0x40], xmm0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x42e830
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 2
lea eax, [esp + 0x14]
push eax
push dword [0x430a50]
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 5
push 0
lea eax, [esp + 0x18]
push eax
push dword [0x430a50]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0x1fc]
pop edi
pop esi
xor ecx, esp
call fcn.0040c080
mov esp, ebp
pop ebp
ret 8