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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x41ee76
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
test byte [eax], al
mov dword [esp], eax
call fcn.004020b0
mov eax, dword [esp + 4]
test eax, eax
jge 0x41e97e
mov eax, 0x186a0
mov dword [esp + 0x60], eax
nop
mov ecx, dword [esp + 0xa4]
lea edx, [ecx + 0x50]
mov dword [esp], edx
call fcn.00402240
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xa4]
lea ebx, [edx + 0x58]
mov dword [esp], ebx
call fcn.00402240
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xa4]
lea ebx, [edx + 0x88]
mov dword [esp], ebx
call fcn.004020c0
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xa4]
lea ebx, [edx + 0x90]
mov dword [esp], ebx
call fcn.004020c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x24]
adc eax, ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xa4]
lea ebx, [ecx + 0x98]
mov dword [esp], ebx
call fcn.004020c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x70]
add edx, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x6c]
adc ecx, eax
mov dword [esp + 0x38], ecx
nop
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.0041fdd0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0xa4]
lea ebp, [ebx + 0x68]
mov dword [esp], ebp
call fcn.00402240
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xa4]
lea ebx, [edx + 0x78]
mov dword [esp + 0x9c], ebx
mov dword [esp], ebx
call fcn.00402240
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x60]
mov edx, dword [eax + 0x64]
mov ebx, dword [esp + 0x14]
add ecx, ebx
mov ebx, dword [esp + 0x28]
adc edx, ebx
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
add ecx, ebx
mov dword [esp + 0x44], ecx
adc edx, ebp
mov dword [esp + 0x48], edx
nop
lea ebx, [eax + 0x70]
mov dword [esp], ebx
call fcn.00402240
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x2c]
adc ecx, edx
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
call fcn.00402240
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x70]
add edx, eax
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x6c]
adc eax, ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x34]
cmp ecx, ebx
xchg ebp, ebx
setb bl
xchg ebp, ebx
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
cmp esi, edi
sete dl
setl al
and edx, ebp
or eax, edx
test al, al
jne 0x41eb68
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
jmp 0x41ec9f
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov ebx, dword [esp + 0x54]
sub ebx, ecx
mov ecx, dword [esp + 0x5c]
sbb ecx, edx
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.0045d0a0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x94], xmm0
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0045d0a0
movsd xmm0, qword [esp + 0x94]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0x94], xmm0
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.0045d0a0
movsd xmm0, qword [esp + 0x94]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0045d000
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x40]
mov ebp, dword [edx + 0x44]
add eax, ebx
mov dword [esp + 0x64], eax
adc ecx, ebp
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
call fcn.0045d0a0
mov eax, dword [esp + 0x60]
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x70fdc0]
divsd xmm0, xmm1
movsd xmm1, qword [0x70fd68]
addsd xmm1, xmm0
mulsd xmm1, qword [esp + 8]
movsd qword [esp], xmm1
call fcn.0045d000
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
setl al
sete dl
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x64]
cmp ebp, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, edx
or esi, eax
mov eax, dword [esp + 0xc]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x41ec8d
mov eax, ecx
mov ebx, ebp
mov edi, dword [esp + 0x38]
mov edx, ebx
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
cmp edx, ebp
xchg ebp, ebx
setb bl
xchg ebp, ebx
mov edi, dword [esp + 0x30]
cmp eax, edi
xchg edi, ebx
sete bl
xchg edi, ebx
setl bl
and edi, ebp
or ebx, edi
test bl, bl
je 0x41ecf8
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0045d0a0
movsd xmm0, qword [0x70fd70]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0045d000
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x34]
sub ecx, ebx
mov ebx, dword [esp + 0x38]
sbb esi, ebx
test esi, esi
setl bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, 0x3e8
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebp
or ebx, edi
test bl, bl
je 0x41ed2c
xor esi, esi
mov ecx, 0x3e8
mov ebx, dword [esp + 0x20]
sub edx, ebx
mov ebx, dword [esp + 0x30]
sbb eax, ebx
test eax, eax
setl bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
xchg edi, ebx
setbe bl
xchg edi, ebx
and edi, ebp
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x41ed5e
xor eax, eax
mov edx, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 4], esi
mov dword [esp], ecx
call fcn.0045d0a0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x94], xmm0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call fcn.0045d0a0
movsd xmm0, qword [esp + 0x94]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0045d0a0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x94], xmm0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0045d0a0
movsd xmm0, qword [esp + 0x94]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0x8c], xmm0
movsd xmm1, qword [esp + 0x84]
movsd qword [esp + 0x7c], xmm1
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xa4]
lea ebx, [edx + 0xe0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.00402260
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp + 0x74], xmm0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0xa4]
add edx, 0xe8
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.00402260
add esp, 0xa0
ret
call fcn.004626a0
jmp fcn.0041e940