Function at 0x419df0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x290
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x28c], eax
mov eax, dword [esp + 0x294]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x3c], eax
test eax, eax
je 0x41a1c3
mov ecx, dword [0x4a4720]
sub ecx, dword [0x4a471c]
test ecx, 0xffffffe0
je 0x41a1c3
push 0x42f
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov dword [esp + 0x40], ebx
test ebx, ebx
je 0x41a1c3
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x20
push 0
push 0x1036
push ebx
call esi
xor eax, eax
lea edx, [esp + 0x14]
push edx
push eax
push 0x1061
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call esi
cmp eax, 0xffffffff
je 0x41a1c3
push 0x34
lea eax, [esp + 0x68]
push 0
push eax
call fcn.0045acf0
add esp, 0xc
lea esi, [esp + 0x44]
mov dword [esp + 0x64], 0xd
mov dword [esp + 0x10], 0
call fcn.0041a8c0
lea esi, [esp + 0x34]
call fcn.0041a890
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
lea ebp, [edi + 8]
test esi, esi
je 0x419ee0
cmp esi, dword [esp + 0x44]
je 0x419ee5
call fcn.0045876b
cmp edi, dword [esp + 0x48]
je 0x419fd1
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], ecx
test esi, esi
jne 0x419f39
call fcn.0045876b
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x419f0c
call fcn.0045876b
mov edx, dword [edi]
mov dword [esp + 0x84], edx
test esi, esi
jne 0x419f3d
call fcn.0045876b
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x419f2a
call fcn.0045876b
cmp dword [ebp + 0x14], 8
jb 0x419f41
mov eax, dword [ebp]
mov dword [esp + 0x78], eax
jmp 0x419f45
mov eax, dword [esi]
jmp 0x419f02
mov eax, dword [esi]
jmp 0x419f20
mov dword [esp + 0x78], ebp
test esi, esi
jne 0x419fc5
call fcn.0045876b
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x419f5a
call fcn.0045876b
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x7c], ecx
test esi, esi
jne 0x419fc9
call fcn.0045876b
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x419f76
call fcn.0045876b
mov eax, dword [edi]
xor edx, edx
cmp eax, dword [0x4a446c]
lea ecx, [esp + 0x64]
setne dl
push ecx
push 0
push 0x104d
push ebx
dec edx
and edx, 2
mov dword [esp + 0x80], edx
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
jne 0x419fcd
call fcn.0045876b
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x419fb6
call fcn.0045876b
add edi, 0x20
add ebp, 0x20
inc dword [esp + 0x10]
jmp 0x419ed6
mov eax, dword [esi]
jmp 0x419f50
mov eax, dword [esi]
jmp 0x419f6c
mov eax, dword [esi]
jmp 0x419fac
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push ebx
call esi
lea edx, [esp + 0x54]
push edx
xor ebp, ebp
push ebp
push 0x100e
push ebx
mov edi, eax
mov dword [esp + 0x64], ebp
call esi
mov esi, dword [esp + 0x60]
sub esi, dword [esp + 0x58]
jns 0x41a006
not esi
inc esi
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
imul esi, edi
mov edx, dword [0x4a4720]
lea eax, [esi + eax*2]
dec edi
xor esi, esi
mov dword [esp + 0x34], eax
mov eax, dword [0x4a471c]
mov dword [esp + 0x10], edi
test edi, edi
jle 0x41a09d
lea edi, [esi + 0x20]
mov ecx, edx
sub ecx, eax
sar ecx, 5
cmp esi, ecx
jb 0x41a04c
call fcn.0045876b
mov edx, dword [0x4a4720]
mov eax, dword [0x4a471c]
mov ebx, dword [edi + eax - 8]
mov ecx, edx
sub ecx, eax
inc esi
sar ecx, 5
cmp esi, ecx
jb 0x41a06c
call fcn.0045876b
mov edx, dword [0x4a4720]
mov eax, dword [0x4a471c]
cmp ebx, dword [edi + eax + 0x18]
jae 0x41a090
mov ecx, edx
sub ecx, eax
sar ecx, 5
cmp esi, ecx
jb 0x41a08d
call fcn.0045876b
mov edx, dword [0x4a4720]
mov eax, dword [0x4a471c]
mov ebp, dword [edi + eax]
add edi, 0x20
cmp esi, dword [esp + 0x10]
jl 0x41a031
mov ebx, dword [esp + 0x40]
xor ecx, ecx
sub edx, eax
sar edx, 5
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], 4
cmp ebp, edx
jb 0x41a0da
call fcn.0045876b
mov eax, dword [0x4a471c]
shl ebp, 5
cmp dword [eax + ebp + 0x1c], 8
lea eax, [eax + ebp + 4]
jb 0x41a0ed
mov eax, dword [eax + 4]
jmp 0x41a0f0
add eax, 4
push eax
lea edx, [esp + 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x1060
lea eax, [esp + 0xa4]
push ebx
mov dword [esp + 0x30], eax
call edi
test eax, eax
je 0x41a1c3
push 0xffff
push 0
push 0x101e
push ebx
call edi
test eax, eax
je 0x41a1c3
xor eax, eax
lea edx, [esp + 0x14]
push edx
push eax
push 0x105f
mov dword [esp + 0x20], eax
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], 2
call edi
test eax, eax
je 0x41a1c3
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push eax
push 0
push 0x1010
push ebx
call edi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
push 6
lea edx, [ecx + eax*2]
add edx, eax
mov eax, dword [esp + 0x50]
push edx
lea ecx, [esi + eax*2]
push ecx
push 0
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [esp + 0x3c]
call fcn.00419d50
neg eax
sbb eax, eax
neg eax
jmp 0x41a1c5
xor eax, eax
mov ecx, dword [esp + 0x29c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457c10
add esp, 0x290
ret