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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41a333
sub esp, 0x70
mov eax, dword [esp + 0x74]
test byte [eax], al
lea ecx, [eax + 0x40]
mov dword [esp + 0x6c], ecx
mov dword [esp], ecx
call fcn.00402060
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
setb dl
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x7c]
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 0x41a182
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ebx
mov edx, ecx
sub ecx, eax
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x4c]
mov dword [esp + 0x54], ebp
mov eax, ecx
mov edi, edx
mul ebp
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], eax
nop
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
call fcn.00402020
nop
mov ecx, dword [esp + 0x74]
lea edx, [ecx + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp], edx
call fcn.00402060
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x20]
sub ecx, edx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x34]
sbb ecx, edx
mov edx, dword [esp + 4]
mov dword [esp + 0x1c], edx
test edx, edx
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov esi, dword [esp + 8]
mov dword [esp + 0x24], esi
test esi, esi
xchg edi, ebx
setne bl
xchg edi, ebx
mov ebx, dword [esp + 0x54]
imul ecx, ebx
mov esi, dword [esp + 0x50]
add ecx, esi
sar ebx, 0x1f
mov esi, dword [esp + 0x58]
imul ebx, esi
add ecx, ebx
mov dword [esp + 0x58], ecx
or ebp, edi
mov ebx, dword [esp + 8]
mov dword [esp + 0x2c], ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x41a0bd
xor eax, eax
sub eax, edx
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, 0
mov ebx, dword [esp + 0x24]
sbb ecx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.00402070
nop
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0x38]
mov dword [esp + 0x6c], ecx
mov dword [esp], ecx
call fcn.00402060
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 0x41a11c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], eax
xor ecx, ecx
sub ecx, eax
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov ebx, 0
sbb ebx, edx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
call fcn.00402070
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x74]
movzx edx, byte [ecx + 0x50]
test dl, dl
jne 0x41a178
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov esi, dword [ebp + 0x18]
nop
inc dword [esi + 0x7c]
mov esi, dword [0x8dd878]
mov dword [esp + 0x68], esi
mov edi, dword [0x8dd87c]
mov dword [esp + 0x4c], edi
mov ebp, dword [ebp + 0x18]
mov dword [esp + 0x64], ebp
xor edx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
xor edx, edx
jmp 0x41a243
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x41a186
add esp, 0x70
ret
movzx esi, byte [ecx + 0x20]
xchg esi, eax
test al, al
xchg esi, eax
je 0x41a1ec
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.0045d410
movsd xmm0, qword [0x70f0cc]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0045d370
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0x40]
add ebp, eax
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
adc edx, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov edi, esi
sub esi, eax
mov dword [esp + 0x30], esi
sub esi, ebp
mov dword [esp], ecx
sub edi, eax
mov eax, dword [esp + 0x58]
sbb eax, ebx
mov ecx, dword [esp + 0x30]
sub ecx, ebp
sbb eax, edx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebp
call fcn.0041a340
add esp, 0x70
ret
mov edx, dword [esp + 0x48]
inc edx
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ebp
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x64]
cmp edx, edi
jge 0x41a2e2
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], edx
mov eax, dword [esi + edx*4]
test byte [eax], al
add eax, 0x948
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.0041a780
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp al, 1
ja 0x41a2a1
test al, al
jne 0x41a2c9
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
jmp 0x41a226
cmp al, 2
je 0x41a2ab
cmp al, 3
jne 0x41a2c4
mov ebp, dword [esp + 0x50]
add ebp, ecx
mov ecx, dword [esp + 0x54]
adc ecx, edx
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
jmp 0x41a226
cmp al, 4
jne 0x41a31c
mov eax, dword [esp + 0x38]
add eax, ecx
mov ebx, dword [esp + 0x3c]
adc ebx, edx
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
jmp 0x41a226
nop
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov esi, dword [ebp + 0x7c]
lea edi, [esi - 1]
mov dword [ebp + 0x7c], edi
cmp esi, 1
jne 0x41a30f
movzx ebp, byte [edx + 0x65]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x41a30f
mov dword [edx + 8], 0xfffffade
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
jmp 0x41a186
lea eax, [0x6ac60e]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.004373a0
nop
call fcn.00461560
jmp fcn.00419f80