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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0x84
xor edx, edx
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
mov edi, esi
mov ecx, dword [eax + 8]
mov ebx, esi
mov eax, dword [eax + 4]
sub edi, edx
mov dword [esp + 0x40], ecx
jl 0x468057
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], 2
mov dword [esp + 0x28], esi
mov edx, dword [edi + 0x10]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x38], edx
xor edx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ebx
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
jmp 0x468016
xor esi, esi
xor edi, edi
mov ebx, dword [esp + 0x40]
or ebx, dword [esp + 0x44]
jne 0x4682de
add ecx, 0x40
mov dword [esp + 0x40], esi
adc dword [esp + 0x3c], 0
add eax, 0xffffffff
mov ebx, eax
adc edx, 0xffffffff
mov dword [esp + 0x44], edi
or ebx, edx
jne 0x468012
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], 0xfffc0000
mov eax, 0xfffc0000
cmp eax, 0xfffc0000
je 0x46841a
mov ebx, 0xffffc003
mov edi, 0xffffffff
cdq
sub ebx, eax
sbb edi, edx
xor edx, edx
mov dword [esp + 0x20], edi
sub edi, edx
jl 0x46812e
or edi, ebx
je 0x46812e
mov edx, dword [ebp + 8]
add eax, ebx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov ecx, edx
xor edi, edi
mov esi, dword [edx]
mov dword [esp + 8], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 0x80000000
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0xc], edi
call fcn.0046873c
mov eax, 0x71
mov ecx, ebx
xor edx, edx
sub ecx, eax
mov eax, dword [esp + 0x20]
sbb eax, edx
jl 0x468120
or ecx, eax
je 0x468120
mov eax, 0x3c003
neg eax
add eax, ebx
or eax, dword [esp + 0x20]
je 0x4682c0
mov edx, 0xc003
xor ecx, ecx
mov eax, 0xffffc001
sub ebx, edx
mov esi, dword [esp + 0x20]
sbb esi, ecx
mov dword [esp + 0x20], esi
jl 0x468115
or ebx, dword [esp + 0x20]
je 0x468115
mov edx, dword [ebp + 8]
dec eax
mov ecx, dword [edx + 8]
mov esi, dword [edx + 0xc]
jmp 0x46812e
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov esi, dword [edx + 0xc]
jmp 0x46812e
mov edx, dword [ebp + 8]
mov eax, 0xffffc002
mov ecx, dword [edx + 8]
mov esi, dword [edx + 0xc]
mov ebx, dword [ebp + 8]
mov edx, 0x4000
mov edi, dword [ebx + 0x10]
add edi, 0x4000
mov ebx, dword [ebx + 0x14]
adc ebx, 0
mov dword [esp + 0x24], edi
sub edi, edx
mov edi, ebx
mov edx, 0
sbb edi, edx
jae 0x468160
mov dword [esp + 0x28], 1
jmp 0x468166
xor edx, edx
mov dword [esp + 0x28], edx
mov edi, ebx
mov edx, dword [esp + 0x24]
shl edi, 0x11
shr edx, 0xf
or edi, edx
mov edx, dword [esp + 0x28]
add ecx, edx
mov dword [esp + 0x20], edi
mov edi, ecx
adc esi, 0
shr ebx, 0xf
sub edi, edx
mov edx, 0
mov edi, esi
sbb edi, edx
jae 0x46819d
mov dword [esp + 0x24], 1
jmp 0x4681a3
xor edx, edx
mov dword [esp + 0x24], edx
mov edx, ecx
shl edx, 0x11
or ebx, edx
mov edx, dword [ebp + 0xc]
shr ecx, 0xf
mov edi, dword [esp + 0x20]
mov dword [edx + 4], ebx
mov ebx, esi
shl ebx, 0x11
or ebx, ecx
xor ecx, ecx
mov dword [edx], edi
shr esi, 0xf
mov edx, dword [esp + 0x24]
or edx, ecx
je 0x4681d5
inc eax
xor ebx, ebx
mov esi, 0x10000
mov ecx, eax
add ecx, 0x3ffd
mov edi, ecx
cdq
adc edx, 0
shl edi, 0x10
add edi, esi
mov esi, dword [ebp + 8]
or edi, dword [esi]
mov esi, dword [ebp + 0xc]
mov dword [esi + 8], ebx
mov ebx, 0x7ffe
mov dword [esi + 0xc], edi
mov esi, ecx
sub esi, ebx
mov ebx, 0
sbb edx, ebx
jae 0x468236
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + 8]
or edx, dword [eax + 0xc]
je 0x468229
mov dword [esp + 0x78], 0x467fffff
fld dword [esp + 0x78]
fld dword [esp + 0x78]
fmulp st(1)
fstp dword [esp + 0x78]
add esp, 0x84
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jl 0x468243
mov eax, dword [ebp + 0x18]
jl 0x468248
mov edx, dword [ebp + 0x1c]
inc ecx
test ecx, ecx
jg 0x468260
js 0x4682ca
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ecx + 8]
or ebx, dword [ecx + 0xc]
je 0x468229
or edx, 0x80000000
mov esi, dword [ebp + 0xc]
and eax, 0x87ffffff
or eax, 0x10000000
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov ecx, dword [esi]
mov dword [esp + 0x40], ecx
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], edx
push eax
call fcn.0046ccf0
mov esi, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
add esp, 0x88
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xffffc002
jmp 0x468109
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ecx]
mov dword [esi + 8], 0
mov dword [esi + 0xc], ebx
jmp 0x468260
mov ebx, dword [esp + 0x44]
xor edx, edx
mov dword [esp + 0x30], ecx
mov ecx, ebx
mov dword [esp + 0x38], edi
sub ecx, edx
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x2c]
jl 0x4683f1
mov ecx, ebx
xor edx, edx
shr ecx, 0x1a
and ecx, 0x1e
or edx, ecx
je 0x468319
mov edi, 0x55ac
shr edi, cl
and edi, 3
inc edi
jmp 0x46835a
mov ecx, dword [esp + 0x40]
mov edx, ebx
and ecx, 0xffffff00
or edx, ecx
jne 0x46832d
mov ecx, dword [esp + 0x40]
mov edx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
fild qword [esp + 0x28]
shr edx, 0x1f
fld qword [edx*8 + 0x4ea8b0]
faddp st(1)
fstp qword [esp + 0x20]
mov edi, dword [esp + 0x24]
sar edi, 0x14
neg edi
add edi, 0x43e
cmp edi, 0x1f
ja 0x468370
mov ecx, edi
mov edx, dword [esp + 0x40]
shld ebx, edx, cl
shl edx, cl
mov dword [esp + 0x24], edx
jmp 0x468380
mov ecx, edi
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x24], 0
shl ebx, cl
mov ecx, edi
neg ecx
add ecx, 0x40
cmp ecx, 0x1f
ja 0x46839f
mov edx, dword [esp + 0x38]
shrd esi, edx, cl
shr edx, cl
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], edx
jmp 0x4683b1
mov edx, dword [esp + 0x38]
shr edx, cl
mov dword [esp + 0x20], 0
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x40]
or edx, dword [esp + 0x24]
or ebx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
cmp edi, 0x1f
ja 0x4683db
mov ecx, edi
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
shld edx, esi, cl
mov dword [esp + 0x38], edx
shl esi, cl
jmp 0x4683e9
mov ecx, edi
xor esi, esi
mov edx, dword [esp + 0x34]
shl edx, cl
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], esi
add dword [esp + 0x30], edi
mov edx, dword [ebp + 8]
mov esi, ebx
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov dword [edx + 0xc], ebx
mov ebx, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
mov dword [edx + 8], ecx
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], edi
mov dword [edx + 4], eax
jmp 0x468057
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov edx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov ecx, dword [edx]
mov dword [ebx + 0xc], ecx
add esp, 0x84
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret