Function at 0x41d920
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 0x41de56
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
test byte [eax], al
mov dword [esp], eax
call fcn.00401ff0
mov eax, dword [esp + 4]
test eax, eax
jge 0x41d95e
mov eax, 0x186a0
mov dword [esp + 0x60], eax
nop
mov ecx, dword [esp + 0xa4]
lea edx, [ecx + 0x50]
mov dword [esp], edx
call fcn.00402180
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.00402180
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.00402000
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.00402000
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.00402000
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.0041ed90
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.00402180
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.00402180
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.00402180
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.00402180
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 0x41db48
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
jmp 0x41dc7f
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.004589f0
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.004589f0
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.004589f0
movsd xmm0, qword [esp + 0x94]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00458950
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.004589f0
mov eax, dword [esp + 0x60]
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x894b58]
divsd xmm0, xmm1
movsd xmm1, qword [0x894b08]
addsd xmm1, xmm0
mulsd xmm1, qword [esp + 8]
movsd qword [esp], xmm1
call fcn.00458950
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 0x41dc6d
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 0x41dcd8
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004589f0
movsd xmm0, qword [0x894b10]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00458950
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 0x41dd0c
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 0x41dd3e
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.004589f0
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.004589f0
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.004589f0
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.004589f0
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.004021a0
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.004021a0
add esp, 0xa0
ret
call fcn.0045e260
jmp fcn.0041d920