Function at 0x41b450
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x42c080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 2
jne 0x41b486
push 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0x3ed
je 0x41b569
cmp dword [ebp - 0x30], 0x3fb
jle 0x41b5f8
cmp dword [ebp - 0x30], 0x3fe
jle 0x41b4b4
jmp 0x41b5f8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x10]
je 0x41b564
cmp dword [ebp - 4], 0x3fc
jne 0x41b4ea
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
sub edx, 0x3e8
imul edx, edx, 0xc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x42d35c]
mov dword [eax + edx + 0x14], ecx
jmp 0x41b534
cmp dword [ebp - 4], 0x3fd
jne 0x41b510
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
sub eax, 0x3e8
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x42d360]
mov dword [ecx + eax + 0x14], edx
jmp 0x41b534
cmp dword [ebp - 4], 0x3fe
jne 0x41b534
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
sub ecx, 0x3e8
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x42d364]
mov dword [edx + ecx + 0x14], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x10], edx
mov ecx, dword [ebp - 0x2c]
call fcn.00419a50
push 0
mov eax, dword [ebp - 4]
push eax
push 0x1403
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41b5f8
xor eax, eax
mov word [ebp - 0x18], ax
xor ecx, ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
push 0xa
lea edx, [ebp - 0x18]
push edx
push 0x3ed
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [ebp - 0x18]
push edx
call fcn.0040877f
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
sub ecx, 0x3e8
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + ecx + 0x18]
je 0x41b5f8
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
sub edx, 0x3e8
imul edx, edx, 0xc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov dword [eax + edx + 0x18], ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x1403
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 4], 0x406
jl 0x41b6bb
cmp dword [ebp - 4], 0x416
jge 0x41b6bb
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
sub eax, 0x3e8
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + eax + 0x1c]
cmp eax, dword [edx*4 + 0x42c378]
je 0x41b6bb
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
sub edx, 0x3e8
imul edx, edx, 0xc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx*4 + 0x42c378]
mov dword [eax + edx + 0x1c], ecx
lea edx, [ebp - 0x28]
push edx
push 0x3ee
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
mov edx, dword [ebp - 4]
push edx
push 0x1403
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00407e44
mov esp, ebp
pop ebp
ret 8