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

Disassembly:
mov ecx, dword [0x4fe144]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x419297
sub esp, 0xe0
mov eax, dword [esp + 0xe4]
test byte [eax], al
mov dword [esp], eax
call fcn.00466d10
mov eax, dword [esp + 4]
test eax, eax
jge 0x418ccc
mov eax, 0x186a0
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xe4]
lea edx, [ecx + 0x68]
lea ebx, [ecx + 0x70]
mov dword [esp + 0xdc], ebx
lea ebp, [ecx + 0xa0]
mov dword [esp + 0xd8], ebp
lea esi, [ecx + 0xa8]
mov dword [esp + 0xd4], esi
lea edi, [ecx + 0xb0]
mov dword [esp + 0xd0], edi
lea eax, [ecx + 0x80]
mov dword [esp + 0xcc], eax
lea eax, [ecx + 0x90]
mov dword [esp + 0xc8], eax
lea eax, [ecx + 0x88]
mov dword [esp + 0xc4], eax
nop
mov dword [esp], edx
call fcn.00466e80
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
call fcn.00466e80
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xd8]
mov dword [esp], edx
call fcn.00466d20
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0xd4]
mov dword [esp], edx
call fcn.00466d20
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
call fcn.00466d20
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
nop
mov edx, dword [esp + 0xe4]
mov dword [esp], edx
call fcn.0041a340
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0xcc]
mov dword [esp], edx
call fcn.00466e80
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
call fcn.00466e80
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0xc0], ecx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0xbc], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x38], ebp
nop
mov esi, dword [esp + 0xc4]
mov dword [esp], esi
call fcn.00466e80
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
call fcn.00466e80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add edx, ebx
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
adc ebx, ebp
mov ebp, dword [esp + 0x20]
add ebp, edx
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x40]
adc ebx, edx
mov dword [esp + 0x58], ebx
mov edx, dword [esp + 0xc0]
mov esi, dword [esp + 0x1c]
add edx, esi
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0x3c]
adc esi, edi
mov edi, dword [esp + 0x18]
add edx, edi
mov dword [esp + 0x74], edx
mov edi, dword [esp + 0x38]
adc esi, edi
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
add edi, edx
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
adc edx, ebp
add eax, edi
mov dword [esp + 0xc0], eax
adc edx, ecx
mov dword [esp + 0x78], edx
cmp esi, ebx
setl cl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
cmp edi, edx
setb al
and eax, ebp
or eax, ecx
test al, al
jne 0x418f2a
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
jmp 0x4190bc
mov dword [esp + 0xb8], esi
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ebx, dword [esp + 0x8c]
cvtsi2sd xmm0, ebx
movsd xmm1, qword [0x48f99c]
divsd xmm0, xmm1
movsd xmm1, qword [0x48f964]
addsd xmm1, xmm0
movsd qword [esp + 0xb0], xmm1
mov ebx, dword [esp + 0x84]
sub ebx, ecx
mov dword [esp], ebx
mov ecx, dword [esp + 0x88]
sbb ecx, edx
mov dword [esp + 4], ecx
call fcn.00459610
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xa8], xmm0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00459610
movsd xmm0, qword [esp + 0xa8]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0xa8], xmm0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.00459610
movsd xmm0, qword [esp + 0xa8]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00459570
mov eax, dword [esp + 8]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0xe4]
mov ebx, dword [edx + 0x58]
mov dword [esp + 0xa4], ebx
mov ebp, dword [edx + 0x5c]
mov dword [esp + 0xa0], ebp
mov esi, dword [esp + 0x84]
mov dword [esp], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 4], esi
call fcn.00459610
movsd xmm0, qword [esp + 0xb0]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00459570
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xa4]
add edx, ebx
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xa0]
adc ebx, ebp
cmp ecx, ebx
xchg ebp, ebx
setl bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp edx, eax
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, esi
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4190a9
mov ecx, ebx
mov eax, edx
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0xc0]
mov ebp, dword [esp + 0x50]
cmp ecx, ebp
xchg ebp, ebx
setl bl
xchg ebp, ebx
sete bl
mov edx, dword [esp + 0x30]
cmp eax, edx
setb dl
and edx, ebx
or edx, ebp
test dl, dl
je 0x419114
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00459610
movsd xmm0, qword [0x48f96c]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00459570
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0xc0]
mov edx, dword [esp + 0x54]
sub edi, edx
mov edx, dword [esp + 0x58]
sbb esi, edx
test esi, esi
setl dl
sete bl
cmp edi, 0x3e8
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x419146
xor esi, esi
mov edi, 0x3e8
mov edx, dword [esp + 0x30]
sub eax, edx
mov edx, dword [esp + 0x50]
sbb ecx, edx
test ecx, ecx
setl dl
sete bl
test eax, eax
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebx, ebp
or ebx, edx
test bl, bl
je 0x419172
xor ecx, ecx
mov eax, 1
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], eax
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.00459610
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xb0], xmm0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
call fcn.00459610
movsd xmm0, qword [esp + 0xb0]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0x90], xmm0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00459610
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xb0], xmm0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00459610
movsd xmm0, qword [esp + 0xb0]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0x98], xmm0
movsd xmm1, qword [esp + 0x90]
movsd qword [esp + 0x64], xmm1
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xe4]
lea ebx, [edx + 0xf8]
add edx, 0x100
mov dword [esp + 0xdc], edx
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00466ea0
movsd xmm0, qword [esp + 0x98]
movsd qword [esp + 0x5c], xmm0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00466ea0
add esp, 0xe0
ret
call fcn.00461470
jmp fcn.00418c90