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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x419683
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.004020c0
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 0x4194e0
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.00402080
nop
mov ecx, dword [esp + 0x70]
lea edx, [ecx + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp], edx
call fcn.004020c0
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 0x41941b
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.004020e0
nop
mov eax, dword [esp + 0x70]
lea ecx, [eax + 0x38]
mov dword [esp + 0x68], ecx
mov dword [esp], ecx
call fcn.004020c0
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 0x41947a
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.004020e0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx + 0x50]
test dl, dl
jne 0x4194d6
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov esi, dword [edx + 0x18]
nop
inc dword [esi + 0x7c]
mov esi, dword [0x7bd180]
mov dword [esp + 0x64], esi
mov edi, dword [0x7bd184]
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 0x419595
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
jmp 0x4194e4
add esp, 0x6c
ret
movzx esi, byte [ecx + 0x20]
xchg esi, eax
test al, al
xchg esi, eax
je 0x41954a
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.0045c770
movsd xmm0, qword [0x674128]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0045c6d0
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.00419690
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 0x419634
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.00419aa0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp al, 1
ja 0x4195f3
test al, al
jne 0x41961b
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x419576
cmp al, 2
je 0x4195fd
cmp al, 3
jne 0x419616
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 0x419576
cmp al, 4
jne 0x41966c
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 0x419576
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 0x41965f
movzx edx, byte [ebp + 0x65]
test dl, dl
je 0x41965f
mov dword [ebp + 8], 0xfffffade
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
jmp 0x4194e4
lea eax, [0x627c96]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00435ec0
nop
call fcn.00462450
jmp fcn.004192f0