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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41a113
sub esp, 0x6c
mov eax, dword [esp + 0x70]
test byte [eax], al
lea ecx, [eax + 0x40]
mov dword [esp + 0x68], ecx
mov dword [esp], ecx
call fcn.00402100
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
setb dl
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x78]
cmp ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setl bl
xchg edi, ebx
and esi, edx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
jne 0x419f70
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x70]
mov esi, dword [edx + 0x4c]
mov dword [esp + 0x54], esi
mov edi, ecx
sub ecx, eax
mov dword [esp + 0x50], ecx
mov eax, ecx
mul esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x20]
sub edi, ecx
sbb ebp, ebx
mov dword [esp + 0x48], ebp
nop
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
call fcn.004020c0
nop
mov ecx, dword [esp + 0x70]
lea edx, [ecx + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp], edx
call fcn.00402100
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ecx
test ecx, ecx
setne dl
mov ebx, dword [esp + 8]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
imul esi, edi
mov eax, ebx
mov ebx, dword [esp + 0x4c]
add ebx, esi
sar edi, 0x1f
mov esi, dword [esp + 0x50]
imul edi, esi
add ebx, edi
mov dword [esp + 0x50], ebx
or edx, ebp
mov ebp, dword [esp + 8]
mov dword [esp + 0x28], ebp
test dl, dl
je 0x419eab
xor edx, edx
sub edx, ecx
mov ebx, 0
sbb ebx, eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call fcn.00402120
nop
mov eax, dword [esp + 0x70]
lea ecx, [eax + 0x38]
mov dword [esp + 0x68], ecx
mov dword [esp], ecx
call fcn.00402100
mov eax, dword [esp + 4]
test eax, eax
setne cl
mov edx, dword [esp + 8]
test edx, edx
setne bl
or ecx, ebx
mov ebx, dword [esp + 8]
test cl, cl
je 0x419f0a
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
xor ecx, ecx
sub ecx, eax
mov ebx, 0
sbb ebx, edx
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
call fcn.00402120
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx + 0x50]
test dl, dl
jne 0x419f66
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov esi, dword [edx + 0x18]
nop
inc dword [esi + 0x7c]
mov esi, dword [0x8b2cd0]
mov dword [esp + 0x64], esi
mov edi, dword [0x8b2cd4]
mov dword [esp + 0x44], edi
mov edx, dword [edx + 0x18]
mov dword [esp + 0x60], edx
xor ebp, ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
xor ebp, ebp
jmp 0x41a025
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
jmp 0x419f74
add esp, 0x6c
ret
movzx esi, byte [ecx + 0x20]
xchg esi, eax
test al, al
xchg esi, eax
je 0x419fda
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call fcn.0045d050
movsd xmm0, qword [0x726748]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0045cfb0
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
add ebp, eax
mov eax, dword [esp + 0x3c]
adc edx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
sub esi, eax
mov eax, dword [esp + 0x50]
sbb eax, ebx
sub esi, ebp
sbb eax, edx
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebp
call fcn.0041a120
add esp, 0x6c
ret
mov edx, dword [esp + 0x40]
inc edx
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], ebp
mov ecx, dword [esp + 0x70]
mov ebp, edx
mov edx, dword [esp + 0x60]
cmp ebp, edi
jge 0x41a0c4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebp
mov eax, dword [esi + ebp*4]
test byte [eax], al
add eax, 0x948
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.0041a530
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp al, 1
ja 0x41a083
test al, al
jne 0x41a0ab
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x41a006
cmp al, 2
je 0x41a08d
cmp al, 3
jne 0x41a0a6
mov ebp, dword [esp + 0x4c]
add ebp, ecx
mov ecx, dword [esp + 0x54]
adc ecx, edx
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x41a006
cmp al, 4
jne 0x41a0fc
mov eax, dword [esp + 0x30]
add eax, ecx
mov ebx, dword [esp + 0x34]
adc ebx, edx
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
jmp 0x41a006
nop
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov esi, dword [edx + 0x7c]
lea edi, [esi - 1]
mov dword [edx + 0x7c], edi
cmp esi, 1
jne 0x41a0ef
movzx edx, byte [ebp + 0x65]
test dl, dl
je 0x41a0ef
mov dword [ebp + 8], 0xfffffade
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
jmp 0x419f74
lea eax, [0x6cad37]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.004368a0
nop
call fcn.00462f90
jmp fcn.00419d80