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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
lea eax, [esi + 0x70]
mov dword [esi + 0x74], 0x41f030
mov ecx, dword fs:[0]
mov dword [esi + 0x70], ecx
mov dword fs:[0], eax
mov ecx, 0xa
jmp 0x41985b
lea ecx, [esi + 0x30]
call fcn.0041e120
mov ecx, dword [esi + 0x60]
cmp ecx, 0x1f3
ja 0x419d4a
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
lea edi, [ecx + 1]
imul ecx, edi
shr ecx, 1
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], edi
shr edi, 1
xor ebx, ebx
jmp 0x419898
lea ecx, [esi + 0x10]
call fcn.0041dfd0
mov eax, edi
imul eax, ebx
mov edx, edi
mulx ecx, edx, edi
add eax, eax
add eax, ecx
mov ecx, dword [esi + 0x64]
cmp edx, ecx
sbb eax, 0
jae 0x419bf0
mov eax, ecx
sub eax, edi
mov ecx, eax
mov dword [esi + 0x2c], eax
mov eax, ebx
mov ebx, 0
sbb ebx, eax
mov dword [esi + 0x58], edi
add edi, 1
mov dword [esi + 0x5c], eax
adc eax, 0
mov dword [esi + 8], eax
push eax
push edi
push ebx
push ecx
call fcn.005893d0
mov dword [esi], edx
mov edx, eax
mulx ecx, edx, edi
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], eax
mov edx, eax
mov eax, dword [esi + 8]
imul edx, eax
add ecx, edx
mov edx, dword [esi]
imul edx, edi
add edx, ecx
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x50]
sbb ebx, edx
or ebx, ecx
mov ebx, eax
jne 0x419898
mov dword [esi + 0x2c], edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x78], 0
lea ecx, [esi + 0x10]
push 2
call fcn.0041dd80
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x58]
mov dword [eax], ecx
mov ecx, dword [esi + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [esi]
mov dword [eax + 0xc], ecx
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esi + 0x40], eax
mov eax, 0x326fc407
cmp eax, 0xc7ab88a0
je 0x4199b0
cmp eax, 0xd3c70b2f
je 0x419998
cmp eax, 0x326fc407
jne 0x419970
cmp dword [esi + 0x40], 0
mov eax, 0xd3c70b2f
mov ecx, 0xc7ab88a0
cmove eax, ecx
jmp 0x419970
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call fcn.0041dfd0
mov eax, 0xc7ab88a0
jmp 0x419970
lea eax, [esi + 0x30]
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x40], eax
mov ecx, 0x1aa0ac67
nop word [eax + eax]
cmp ecx, 0x1aa0ac66
jg 0x419a20
cmp ecx, 0xa40d76d3
je 0x419a45
cmp ecx, 0xec993e81
jne 0x4199d0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0x18]
mov dword [esi + 0x18], 0
vmovsd xmm0, qword [esi + 0x10]
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
vmovsd qword [ecx], xmm0
mov dword [ecx + 8], edx
add dword [eax + 4], 0xc
mov ecx, 0x1bfa3d86
jmp 0x4199d0
cmp ecx, 0x1bfa3d86
je 0x419a70
cmp ecx, 0x1aa0ac67
jne 0x4199d0
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x40]
mov ecx, 0xec993e81
mov eax, 0xa40d76d3
cmove ecx, eax
jmp 0x4199d0
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
mov dword [esi + 0x78], 2
lea edx, [esi + 0x10]
push edx
push eax
mov dword [esi + 0x50], edi
call fcn.0041d3d0
mov ecx, 0x1bfa3d86
mov edi, dword [esi + 0x50]
jmp 0x4199d0
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.0041dfd0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x78], 0
mov ecx, edi
push 2
call fcn.0041dd80
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x54]
mov dword [eax], ecx
mov ecx, dword [esi]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x58]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x5c]
mov dword [eax + 0xc], ecx
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esi + 0x40], eax
mov eax, 0x326fc407
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 8]
nop
cmp eax, 0xc7ab88a0
je 0x419b20
cmp eax, 0xd3c70b2f
je 0x419b08
cmp eax, 0x326fc407
jne 0x419ae0
cmp dword [esi + 0x40], 0
mov eax, 0xd3c70b2f
mov ecx, 0xc7ab88a0
cmove eax, ecx
jmp 0x419ae0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call fcn.0041dfd0
mov eax, 0xc7ab88a0
jmp 0x419ae0
lea eax, [esi + 0x30]
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
mov dword [esi + 0xc], eax
mov dword [esi], ecx
mov eax, dword [ecx + 8]
mov dword [esi + 0x40], eax
mov ecx, 0x1aa0ac67
nop dword [eax]
cmp ecx, 0x1aa0ac66
jg 0x419b90
cmp ecx, 0xa40d76d3
je 0x419bb9
cmp ecx, 0xec993e81
jne 0x419b40
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0x18]
mov dword [esi + 0x18], 0
vmovsd xmm0, qword [esi + 0x10]
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
vmovsd qword [ecx], xmm0
mov dword [ecx + 8], edx
add dword [eax + 4], 0xc
mov ecx, 0x1bfa3d86
jmp 0x419b40
cmp ecx, 0x1bfa3d86
je 0x419890
cmp ecx, 0x1aa0ac67
jne 0x419b40
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x40]
mov ecx, 0xec993e81
mov eax, 0xa40d76d3
cmove ecx, eax
jmp 0x419b40
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [esi + 0x78], 1
lea edx, [esi + 0x10]
push edx
push eax
call fcn.0041d3d0
mov ecx, 0x1bfa3d86
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0x2c]
jmp 0x419b40
mov edi, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov eax, edx
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 2
jb 0x419cf0
mov ebx, 1
jmp 0x419c3f
mov edi, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov ebx, dword [esi + 0x2c]
inc ebx
mov eax, edx
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp ebx, eax
jae 0x419cf0
mov dword [esi + 0x2c], ebx
jmp 0x419c54
test ebx, ebx
je 0x419c20
mov edi, dword [esi + 0x30]
lea edx, [ebx + ebx*2]
mov eax, dword [edi + edx*4 - 0xc]
mov dword [esi], eax
mov eax, dword [edi + edx*4]
mov dword [esi + 8], eax
mov ecx, dword [eax]
mov eax, dword [esi]
cmp ecx, dword [eax]
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov ecx, dword [esi]
sbb eax, dword [ecx + 4]
jge 0x419c23
lea eax, [edi + edx*4]
dec ebx
lea edx, [edi + edx*4]
add edx, 0xfffffff4
mov dword [esi + 0x40], eax
mov dword [esi + 0x10], edx
mov edi, 0xa7055859
nop
cmp edi, 0x36b5cd6
je 0x419c50
cmp edi, 0xf63ae897
je 0x419cbd
cmp edi, 0xa7055859
jne 0x419c90
mov eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x10]
mov edi, 0xf63ae897
mov eax, 0x36b5cd6
cmove edi, eax
jmp 0x419c90
mov eax, dword [esi + 0x40]
mov edi, dword [esi + 0x40]
mov eax, dword [edi]
mov ecx, dword [edx]
mov dword [edi], ecx
mov dword [edx], eax
mov eax, dword [edi + 4]
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], eax
mov eax, dword [edi + 8]
mov ecx, dword [edx + 8]
mov dword [edi + 8], ecx
mov dword [edx + 8], eax
mov edi, 0x36b5cd6
jmp 0x419c90
cmp edi, edx
mov dword [esi + 8], edx
jne 0x419d10
jmp 0x419850
mov edi, dword [esi]
add edi, 0xc
mov edx, dword [esi + 8]
cmp edi, edx
je 0x419850
mov ebx, dword [edi]
mov dword [esi], edi
mov eax, dword [edi + 4]
mov edi, eax
cmp ebx, eax
jne 0x419d27
jmp 0x419d00
add ebx, 8
cmp ebx, edi
je 0x419d00
mov eax, dword [ebx + 4]
mov ecx, 0x136
xor eax, ecx
mov ecx, dword [ebx]
mov edx, 0xf74f03be
xor ecx, edx
or ecx, eax
jne 0x419d20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x419d20
mov eax, 0x5bd033b1
mov ecx, 0x838fbca4
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, 0x6e69bf69
mov ecx, 0x671aa5a5
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
mov eax, 0x3eb541f7
mov ecx, 0xf1edd5e8
mov dword [esi + 8], ecx
mov dword [esi], eax
mov edx, 0x6e10cd08
mov edi, 0x671aa5a5
xor ebx, ebx
lea ecx, [esi + 0x30]
mov eax, ecx
mov ebx, dword [esi + 8]
mov dword [esi + 0x34], ebx
mov ebx, dword [esi]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edx
vmovaps xmm0, xmmword [eax]
mov eax, 0x50c7249c
mov ebx, 0xc3deb98d
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], eax
mov eax, 0x671aa5a5
mov ebx, 0x27ca926
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 8]
mov dword [esi + 0x34], eax
mov eax, dword [esi]
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edx
xor eax, eax
vmovaps xmm1, xmmword [esi + 0x10]
vmovddup xmm2, qword [0x5ab3f8]
vandnps xmm3, xmm1, xmm2
vandnps xmm4, xmm0, xmm2
vandnps xmm1, xmm2, xmm1
vorps xmm1, xmm3, xmm1
vandnps xmm0, xmm2, xmm0
vorps xmm0, xmm4, xmm0
vxorps xmm0, xmm1, xmm0
vmovaps xmmword [esi + 0x10], xmm0
vmovaps xmm0, xmmword [ecx]
vmovaps xmm1, xmmword [esi + 0x40]
vmovddup xmm2, qword [0x5ab400]
vandnps xmm3, xmm1, xmm2
vandnps xmm4, xmm0, xmm2
vandnps xmm1, xmm2, xmm1
vorps xmm1, xmm3, xmm1
vandnps xmm0, xmm2, xmm0
vorps xmm0, xmm4, xmm0
vxorps xmm0, xmm1, xmm0
vmovaps xmmword [esi + 0x40], xmm0
mov dword [esi + 0x78], 0xffffffff
lea eax, [esi + 0x40]
push eax
call fcn.00402520
lea ecx, [esi + 0x10]
push ecx
push eax
call fcn.004172e0
add esp, 8
push dword [ebp + 8]
call eax
mov ecx, dword [esi + 0x70]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret