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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x41ef5e
sub esp, 0xb4
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.0041f830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x70a6fc], eax
mov dword [0x70a6f8], ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0xf8]
mov edx, dword [esp + 0xbc]
sub edx, ecx
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 0xfc]
mov ebx, dword [esp + 0xc0]
sbb ebx, ecx
mov dword [esp + 0x64], ebx
test edx, edx
seta cl
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
and ebp, ecx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x41e85c
movsd xmm1, qword [0x5feae0]
jmp 0x41e913
xchg esi, eax
mov byte [esp + 0x2b], al
xchg esi, eax
mov ecx, eax
mov eax, edx
mov ebx, dword [esp + 0xc4]
mul ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
lea esi, [ecx + 0xd8]
mov dword [esp], esi
call fcn.00402060
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0045bc90
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xa0], xmm0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xc4]
imul ecx, edx
mov ebp, dword [esp + 0x84]
add ecx, ebp
sar edx, 0x1f
mov esi, dword [esp + 0x60]
imul edx, esi
add ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call fcn.0045bc90
movsd xmm0, qword [esp + 0xa0]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x5feae0]
addsd xmm1, xmm0
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
movzx esi, byte [esp + 0x2b]
mov ecx, dword [eax + 0x84]
mov ebp, dword [eax + 0x74]
cmp ecx, ebp
xchg edi, ebx
setb bl
xchg edi, ebx
mov ebx, dword [eax + 0x70]
cmp dword [eax + 0x80], ebx
setbe bl
cmp ecx, ebp
sete cl
and ecx, ebx
or edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x41ef57
movsd qword [esp + 0x88], xmm1
xchg esi, eax
test al, al
xchg esi, eax
jne 0x41e95b
xorps xmm0, xmm0
jmp 0x41e9eb
mov ecx, eax
mov eax, edx
mov ebx, dword [esp + 0xc4]
mul ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov esi, dword [ecx + 0xf0]
mov edi, dword [ecx + 0xf4]
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0045bc90
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xa0], xmm0
mov ecx, dword [esp + 0xc4]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0x60]
imul ebx, ecx
mov ecx, dword [esp + 0x64]
imul ecx, edx
mov edx, dword [esp + 0x84]
add ecx, edx
add ecx, ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call fcn.0045bc90
movsd xmm0, qword [esp + 0xa0]
divsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0xb8]
movsd qword [esp + 0x98], xmm0
lea ecx, [eax + 0xb8]
mov dword [esp + 0xb0], ecx
mov dword [esp], ecx
call fcn.00402060
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0xb8]
lea ebx, [edx + 0xc0]
mov dword [esp + 0xac], ebx
mov dword [esp], ebx
call fcn.00402060
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x84], ecx
mov ebx, dword [esp + 8]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0xb8]
lea esi, [ebp + 0xc8]
mov dword [esp + 0xa8], esi
mov dword [esp], esi
call fcn.00402060
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x84]
add eax, ecx
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0xb8]
mov ebp, dword [ebx + 0x80]
mov esi, dword [ebx + 0x70]
sub ebp, esi
mov esi, dword [ebx + 0x84]
mov edi, dword [ebx + 0x74]
sbb esi, edi
mov edi, dword [esp + 8]
mov dword [esp + 0x4c], edi
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.0045bd60
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
adc eax, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
add ecx, edx
mov ecx, dword [esp + 0x4c]
adc eax, ecx
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x98]
addsd xmm1, xmm0
mulsd xmm1, qword [esp + 8]
movsd qword [esp + 0xa0], xmm1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0045bc90
movsd xmm0, qword [0x5feb28]
movsd xmm1, qword [esp + 0x88]
subsd xmm0, xmm1
mulsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0xb8]
movsd xmm2, qword [eax + 0x20]
movsd qword [esp + 0x90], xmm2
lea ecx, [eax + 0x28]
mov dword [esp], ecx
movsd qword [esp + 4], xmm2
movsd xmm3, qword [esp + 0xa0]
divsd xmm3, xmm0
movsd qword [esp + 0xc], xmm3
movsd xmm0, qword [0x5feb28]
movsd qword [esp + 0x14], xmm0
call fcn.004205a0
movzx eax, byte [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
mov ecx, dword [esp + 0xb8]
movsd qword [ecx + 0x20], xmm0
test al, al
jne 0x41eb95
xorps xmm0, xmm0
movsd qword [ecx + 0x20], xmm0
mov edx, dword [0x70a0d0]
test edx, edx
jle 0x41ef50
mov byte [esp + 0x2a], al
call fcn.00437df0
call fcn.00437df0
lea eax, [0x5b45fb]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.004386d0
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [0x5feb78]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004384d0
lea eax, [0x5b4370]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.004386d0
mov dword [esp + 4], 0
mov dword [esp], 0x19
call fcn.004384d0
lea eax, [0x5b53a7]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004386d0
call fcn.00437e60
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.00402060
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call fcn.00402060
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call fcn.00402060
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x90]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x80], edx
add ecx, edx
mov dword [esp + 0x7c], ecx
mov ebp, dword [eax + 0xa8]
mov dword [esp + 0x78], ebp
add ebp, ecx
mov dword [esp + 0x74], ebp
mov edi, dword [eax + 0x94]
mov dword [esp + 0x70], edi
mov ebp, dword [eax + 0x9c]
mov dword [esp + 0x6c], ebp
mov eax, dword [eax + 0xac]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
call fcn.00437df0
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.004384d0
lea eax, [0x5b3a1c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004386d0
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004384d0
lea eax, [0x5b3a1c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004386d0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004384d0
lea eax, [0x5b4a40]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004386d0
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
add eax, ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
adc eax, ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
add ecx, edx
mov ecx, dword [esp + 0x68]
adc ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00438370
lea eax, [0x5b4a37]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004386d0
call fcn.00437e60
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x80], edx
sub ecx, edx
mov dword [esp + 0x7c], ecx
mov ebp, dword [eax + 0x70]
mov dword [esp + 0x78], ebp
mov esi, dword [eax + 0x74]
mov dword [esp + 0x74], esi
mov edi, dword [eax + 0x84]
mov dword [esp + 0x70], edi
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x6c], eax
call fcn.00437df0
lea eax, [0x5b3c37]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.004386d0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00438370
lea eax, [0x5b4080]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.004386d0
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call fcn.00438370
lea eax, [0x5b5974]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.004386d0
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
sub eax, ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
sbb eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004384d0
lea eax, [0x5b5a7c]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.004386d0
movsd xmm0, qword [esp + 0x90]
movsd qword [esp], xmm0
call fcn.004380b0
lea eax, [0x5b3a1b]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004386d0
call fcn.00437e60
movzx eax, byte [esp + 0x2a]
test al, al
jne 0x41ef0c
call fcn.00437df0
lea eax, [0x5b8443]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.004386d0
call fcn.00437e60
call fcn.00437df0
call fcn.00438010
call fcn.00437e60
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x41ef50
nop
lea eax, [0x709d38]
mov dword [esp], eax
call fcn.004097c0
add esp, 0xb4
ret
add esp, 0xb4
ret
call fcn.0045fa50
jmp fcn.0041e7c0