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

Disassembly:
mov ecx, dword [0x2267828]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4271f4
sub esp, 0x48
mov eax, dword [esp + 0x4c]
test byte [eax], al
movzx ecx, byte [esp + 0x50]
test cl, cl
je 0x426f93
lea ecx, [eax + 0x50]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00406790
jmp 0x426fc9
lea ecx, [eax + 0x68]
lea edx, [eax + 0x50]
mov dword [esp + 0x44], edx
mov dword [esp], ecx
call fcn.00406770
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x44]
mov dword [esp], edx
add eax, 0x100000
adc ecx, 0
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.00406790
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.004065e0
mov eax, dword [esp + 4]
test eax, eax
jge 0x426fec
mov edx, 0xffffffff
mov ecx, 0xffffffff
jmp 0x4270ea
mov dword [esp + 0x20], eax
sar eax, 0x1f
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x4c]
lea ebx, [edx + 0x80]
lea ebp, [edx + 0x90]
mov dword [esp + 0x44], ebp
mov dword [esp], ebx
call fcn.00406770
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.00406770
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x98]
mov edx, dword [eax + 0x9c]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x14]
add esi, ecx
mov edi, dword [esp + 0x1c]
adc edi, edx
add ebx, esi
adc edi, ebp
mov eax, dword [esp + 0x20]
mul ebx
mov ebp, dword [esp + 0x20]
imul edi, ebp
mov ebp, dword [esp + 0x30]
imul ebp, ebx
add edx, ebp
add edx, edi
mov ebx, eax
shr eax, 1
mov ebp, eax
mov eax, 0xa3d70a3e
mov edi, edx
mul ebp
shr edx, 5
mov dword [esp + 0x28], edx
mov eax, edi
shr edi, 1
mov ebp, eax
mov eax, 0xa3d70a3e
mul edi
shr edx, 5
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x28]
imul edi, eax, 0x64
sub ebx, edi
imul edi, edx, 0x64
sub ebp, edi
mov edi, eax
mov eax, ebp
mov esi, 0x28f5c28
mul esi
lea ebp, [ebp + ebp*2]
shl ebp, 5
add ebx, ebp
shr ebx, 1
mov ebp, eax
mov eax, 0xa3d70a3e
mov esi, edx
mul ebx
shr edx, 5
add edi, 0
mov eax, dword [esp + 0x24]
adc eax, 0
add edi, ebp
adc eax, esi
add edx, edi
adc eax, 0
add ecx, edx
mov edx, dword [esp + 0x2c]
adc edx, eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
cmp edx, ebp
xchg esi, ebx
setb bl
xchg esi, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ecx, ebx
setb al
and edi, eax
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x427117
mov ebx, ecx
mov ebp, edx
mov eax, dword [esp + 0x4c]
lea ecx, [eax + 0x48]
lea edx, [eax + 0x80]
mov dword [esp + 0x44], edx
lea esi, [eax + 0x90]
mov dword [esp + 0x40], esi
lea edi, [eax + 0x18]
mov dword [esp + 0x3c], edi
mov dword [esp], ecx
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
call fcn.00406790
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00406770
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x40]
mov dword [esp], edx
call fcn.00406770
movsd xmm0, qword [0x19b8340]
mov eax, dword [esp + 0x4c]
mulsd xmm0, qword [eax + 0x20]
movsd xmm1, qword [0x19b8358]
mulsd xmm1, xmm0
movsd qword [esp + 0x34], xmm1
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x10]
add ecx, ebp
mov ebp, dword [esp + 0x18]
adc eax, ebp
add edx, ecx
adc eax, ebx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0046b6b0
movsd xmm0, qword [esp + 0x34]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0046b590
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.00406790
add esp, 0x48
ret
call fcn.00474040
jmp fcn.00426f50