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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x41e45b
sub esp, 0xc4
mov eax, dword [esp + 0xc8]
test byte [eax], al
mov dword [esp], eax
call fcn.00402050
mov eax, dword [esp + 4]
test eax, eax
jge 0x41dece
mov eax, 0x186a0
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xc8]
lea edx, [ecx + 0x80]
mov dword [esp], edx
call fcn.004021c0
mov eax, dword [esp + 0xc8]
lea ecx, [eax + 0x88]
mov edx, dword [esp + 4]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x50], ebx
mov dword [esp], ecx
call fcn.004021c0
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0xc8]
lea ebx, [edx + 0xb8]
mov dword [esp], ebx
call fcn.00402060
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xc8]
lea ebx, [edx + 0xc0]
mov dword [esp], ebx
call fcn.00402060
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x84], ecx
mov ebx, dword [esp + 8]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0xc8]
lea esi, [ebp + 0xc8]
mov dword [esp], esi
call fcn.00402060
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x84]
add eax, ecx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 8]
mov dword [esp + 0x28], ebx
nop
mov ebp, dword [esp + 0xc8]
mov dword [esp], ebp
call fcn.0041f4e0
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 0x90]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x7c], edx
add ecx, edx
mov dword [esp + 0x78], ecx
mov ebp, dword [eax + 0xa8]
mov dword [esp + 0x74], ebp
add ecx, ebp
mov dword [esp + 0x3c], ecx
mov edi, dword [eax + 0x94]
mov dword [esp + 0x70], edi
mov ecx, dword [eax + 0x9c]
mov dword [esp + 0x98], ecx
mov ebp, dword [eax + 0xac]
mov dword [esp + 0x94], ebp
lea ebp, [eax + 0xa0]
mov esi, dword [esp + 8]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x5c], esi
mov dword [esp], ebp
call fcn.004021c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov edx, ecx
add ecx, eax
mov dword [esp + 0x90], ecx
mov ebx, dword [esp + 0xc8]
mov ebp, dword [ebx + 0xa8]
mov esi, ebp
add ebp, ecx
mov dword [esp + 0x8c], ebp
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add edi, ebp
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
adc ebp, edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
add edi, ecx
mov ecx, dword [esp + 0x28]
adc ebp, ecx
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
add ecx, edi
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x98]
adc ecx, edi
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
add edi, ebp
mov ebp, dword [esp + 0x94]
adc ecx, ebp
mov ebp, dword [esp + 8]
add edx, eax
mov eax, dword [esp + 0x48]
adc eax, ebp
mov edx, dword [ebx + 0xac]
mov ebp, dword [esp + 0x90]
add esi, ebp
adc edx, eax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x30]
cmp ecx, eax
xchg ebp, ebx
setl bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
cmp edi, edx
setb bl
and ebx, esi
or ebx, ebp
test bl, bl
jne 0x41e10d
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
jmp 0x41e27c
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 0x70]
mov edx, dword [esp + 0x5c]
sub edx, ecx
mov ecx, dword [eax + 0x74]
mov ebp, dword [esp + 0x64]
sbb ebp, ecx
mov dword [esp + 4], ebp
mov dword [esp], edx
call fcn.0045b640
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xbc], xmm0
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0045b640
movsd xmm0, qword [esp + 0xbc]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0xbc], xmm0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call fcn.0045b640
movsd xmm0, qword [esp + 0xbc]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0045b5a0
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx + 0x70]
mov dword [esp + 0x80], edx
add eax, edx
mov dword [esp + 0x6c], eax
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x7c], ebp
mov esi, dword [ecx + 0x74]
mov dword [esp + 0x78], esi
mov edi, dword [esp + 0x60]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x5c]
mov dword [esp], edi
call fcn.0045b640
mov eax, dword [esp + 0x68]
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x521778]
divsd xmm0, xmm1
movsd xmm1, qword [0x521738]
addsd xmm1, xmm0
mulsd xmm1, qword [esp + 8]
movsd qword [esp], xmm1
call fcn.0045b5a0
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
add eax, ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
adc eax, ecx
mov ecx, dword [esp + 0xc]
cmp ecx, eax
setl cl
sete dl
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x6c]
cmp ebp, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, edx
or esi, ecx
mov ecx, dword [esp + 0xc]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x41e265
mov ecx, eax
mov ebx, ebp
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebp, ebx
mov edi, dword [esp + 0x8c]
mov ebx, ecx
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
cmp ebx, esi
xchg esi, ebx
setl bl
xchg esi, ebx
sete al
mov edx, dword [esp + 0x4c]
cmp ebp, edx
setb dl
and edx, eax
or edx, esi
test dl, dl
je 0x41e2d4
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.0045b640
movsd xmm0, qword [0x521740]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0045b5a0
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x2c]
sub edi, eax
mov eax, dword [esp + 0x30]
sbb ecx, eax
test ecx, ecx
setl al
sete dl
cmp edi, 0x3e8
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, edx
or esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x41e306
xor ecx, ecx
mov edi, 0x3e8
mov eax, dword [esp + 0x4c]
sub ebp, eax
mov eax, dword [esp + 0x50]
sbb ebx, eax
test ebx, ebx
setl al
sete dl
test ebp, ebp
xchg esi, ebx
setbe bl
xchg esi, ebx
and esi, edx
or esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x41e334
xor ebx, ebx
mov ebp, 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.0045b640
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xbc], xmm0
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
call fcn.0045b640
movsd xmm0, qword [esp + 0xbc]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0xac], xmm0
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.0045b640
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xbc], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0045b640
movsd xmm0, qword [esp + 0xbc]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0xb4], xmm0
movsd xmm1, qword [esp + 0xac]
movsd qword [esp + 0xa4], xmm1
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xc8]
lea ebx, [edx + 0x110]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.004021e0
movsd xmm0, qword [esp + 0xb4]
movsd qword [esp + 0x9c], xmm0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xc8]
add edx, 0x118
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.004021e0
add esp, 0xc4
ret
call fcn.0045f310
jmp fcn.0041de90