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

Disassembly:
push ebp
xor eax, eax
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [edx]
mov dword [esp + 0x54], ebp
mov ecx, eax
and ecx, 0xffffffcf
mov dword [edx], ecx
and eax, 7
xor edx, edx
mov dword [esp + 0x1c], ecx
cmp eax, 4
ja case.default.0x46e8ce
jmp dword [eax*4 + 0x4bc740]
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov edx, ecx
shl edx, 5
mov dword [ebx + 0x10], eax
bsr eax, dword [ebx + ecx*4 + 0x14]
xor eax, 0x1f
sub edx, eax
add edx, 0x20
mov dword [edi], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], edx
mov dword [esp], eax
call sym.___trailz_D2A
mov dword [esp + 0x90], eax
test eax, eax
jne 0x46f11c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x46ea76
mov dword [esp], eax
call sym.___Bfree_D2A
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov dword [edx], 1
mov edx, 1
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 0x4bc6f0
call sym.___nrv_alloc_D2A
mov edx, eax
add esp, 0x9c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0xc8]
mov esi, 3
mov ecx, dword [esp + 0xcc]
mov dword [edx], 0xffff8000
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], 0x4bc6f2
jmp 0x46e95c
mov ebx, dword [esp + 0xc8]
mov edi, 8
mov eax, dword [esp + 0xcc]
mov dword [ebx], 0xffff8000
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], str.Infinity
jmp 0x46e95c
mov eax, dword [esp + 0xb0]
lea edi, [esp + 0x94]
mov ecx, 0x20
mov ebx, dword [esp + 0xb8]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
xor eax, eax
jmp 0x46e9f7
add ecx, ecx
inc eax
cmp ecx, dword [esp + 0x40]
jl 0x46e9f4
mov dword [esp], eax
call sym.___Balloc_D2A
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xb8]
dec eax
sar eax, 5
add esi, 0x14
lea ecx, [edx + eax*4]
mov edx, esi
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebx]
add ebx, 4
mov dword [edx], eax
add edx, 4
cmp ebx, ecx
jbe 0x46ea30
mov ecx, edx
sub ecx, esi
sar ecx, 2
lea esi, [esi]
lea edi, [edi]
dec ecx
mov ebx, dword [esi + ecx*4]
test ebx, ebx
jne 0x46e8d5
test ecx, ecx
jne 0x46ea50
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x10], 0
mov dword [edi], 0
jmp 0x46e8f3
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x90]
lea ebp, [esp + 0x88]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.___b2d_D2A
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0x94]
fstp qword [esp + 0x88]
fld dword [0x4bc700]
lea edi, [eax + esi - 1]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x90], edi
mov ebx, edi
mov ecx, edi
and eax, 0xfffff
or eax, 0x3ff00000
mov dword [esp + 0x8c], eax
mov eax, edi
sar eax, 0x1f
fld qword [esp + 0x88]
push edi
xor ebx, eax
sub ebx, eax
fsubrp st(1)
sub ebx, 0x435
fild dword [esp]
fxch st(1)
add esp, 4
test ebx, ebx
fmul qword [str.aCoc]
fxch st(1)
fmul qword [0x4bc718]
fxch st(1)
fadd qword [0x4bc710]
faddp st(1)
jle 0x46eb22
push ebx
fild dword [esp]
add esp, 4
fmul qword [0x4bc720]
faddp st(1)
fnstcw word [esp + 0x7e]
fldz
movzx eax, word [esp + 0x7e]
or ax, 0xc00
mov word [esp + 0x7c], ax
fucomp st(1)
fnstsw ax
fldcw word [esp + 0x7c]
fist dword [esp + 0x50]
fldcw word [esp + 0x7e]
sahf
jbe 0x46f14c
fild dword [esp + 0x50]
fucompp
fnstsw ax
sahf
setne al
setp dl
or al, dl
movzx eax, al
sub dword [esp + 0x50], eax
mov edx, dword [esp + 0xb4]
mov eax, 1
mov dword [esp + 0x48], eax
lea eax, [edx + esi - 1]
shl eax, 0x14
add dword [ebp + 4], eax
cmp dword [esp + 0x50], 0x16
ja 0x46ebaa
fld qword [esp + 0x88]
mov ebx, dword [esp + 0x50]
fld qword [ebx*8 + 0x4bc770]
fucompp
fnstsw ax
sahf
jbe 0x46eba4
dec ebx
mov dword [esp + 0x50], ebx
xor eax, eax
mov dword [esp + 0x48], eax
sub esi, edi
mov ebx, esi
dec ebx
js 0x46f4f3
mov dword [esp + 0x38], ebx
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
test eax, eax
js 0x46f504
mov edx, dword [esp + 0x50]
xor eax, eax
add dword [esp + 0x38], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x34], edx
xor eax, eax
cmp dword [esp + 0xc0], 0xa
mov ebx, 1
setb al
neg eax
and dword [esp + 0xc0], eax
cmp dword [esp + 0xc0], 5
jle 0x46ec0c
sub dword [esp + 0xc0], 4
xor ebx, ebx
cmp dword [esp + 0xc0], 5
mov edi, 1
mov dword [esp + 0x44], edi
ja case.default.0x46ec26
mov eax, dword [esp + 0xc0]
jmp dword [eax*4 + 0x4bc754]
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc4]
test eax, eax
jle 0x46f9b9
mov edx, dword [esp + 0xc4]
mov ecx, edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], edx
mov dword [esp], ecx
call sym.___rv_alloc_D2A
mov dword [esp + 0x20], eax
mov ebp, eax
mov eax, dword [esp + 0xb0]
mov edx, dword [eax + 0xc]
dec edx
test edx, edx
mov dword [esp + 0x3c], edx
je 0x46ec97
jl 0x46f1ca
test byte [esp + 0x1c], 8
je 0x46ec97
mov edx, dword [esp + 0x3c]
mov eax, 3
sub eax, edx
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x60], 0xe
setbe al
xor edx, edx
test ebx, ebx
setne dl
test eax, edx
je 0x46ee13
mov ecx, dword [esp + 0x3c]
or ecx, dword [esp + 0x50]
jne 0x46ee13
fld qword [esp + 0x88]
xor esi, esi
mov edi, 2
mov dword [esp + 0x64], edi
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
fld st(0)
test ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], eax
jle 0x46f8e7
mov eax, ebx
sar ebx, 4
and eax, 0xf
fld qword [eax*8 + 0x4bc770]
test bl, 0x10
je 0x46ed19
fxch st(2)
fdiv qword [0x4bc890]
mov ecx, 3
and ebx, 0xf
mov dword [esp + 0x64], ecx
fst qword [esp + 0x88]
fxch st(2)
test ebx, ebx
je 0x46ed3f
test bl, 1
mov eax, esi
mov ecx, esi
je 0x46ed31
fmul qword [esi*8 + 0x4bc870]
inc dword [esp + 0x64]
sar ebx, 1
lea esi, [ecx + 1]
jne 0x46ed1d
mov dword [esp + 0x90], eax
mov edx, dword [esp + 0x48]
test edx, edx
je 0x46ed8e
fld1
fucomp st(3)
fnstsw ax
test ah, 0x45
sete dl
xor eax, eax
cmp dword [esp + 0x60], 0
setg al
test edx, eax
je 0x46ed8e
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x46fcc2
fxch st(2)
fmul dword [0x4bc730]
mov edx, dword [esp + 0x58]
dec dword [esp + 0x50]
inc dword [esp + 0x64]
mov dword [esp + 0x60], edx
fst qword [esp + 0x88]
fxch st(2)
fild dword [esp + 0x64]
mov eax, dword [esp + 0x60]
fmul st(3)
fadd dword [0x4bc734]
fstp qword [esp + 0x80]
sub dword [esp + 0x84], 0x3400000
test eax, eax
jne 0x46f63b
fstp st(0)
fld qword [esp + 0x80]
fxch st(2)
xor eax, eax
mov dword [esp + 0x90], esi
fsub dword [0x4bc738]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
fucom st(2)
fnstsw ax
sahf
ja 0x46faf7
fxch st(2)
fchs
fucomp st(2)
fnstsw ax
sahf
ja 0x46f263
fstp st(1)
fstp qword [esp + 0x88]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x50], edx
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0xb4]
not eax
shr eax, 0x1f
cmp dword [esp + 0x50], 0xe
setle dl
test edx, eax
jne 0x46f153
mov ecx, dword [esp + 0x44]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x28], ebx
test ecx, ecx
je 0x46eea0
cmp dword [esp + 0xc0], 1
jle 0x46f972
mov ebx, dword [esp + 0x60]
dec ebx
cmp dword [esp + 0x70], ebx
jl 0x46f7ea
mov esi, dword [esp + 0x70]
sub esi, ebx
mov eax, dword [esp + 0x60]
test eax, eax
mov dword [esp + 0x90], eax
js 0x46fb07
mov dword [esp], 1
mov eax, dword [esp + 0x90]
add dword [esp + 0x74], eax
add dword [esp + 0x38], eax
call sym.___i2b_D2A
mov dword [esp + 0x28], eax
test edi, edi
setg al
xor edx, edx
cmp dword [esp + 0x38], 0
setg dl
test eax, edx
je 0x46eece
mov eax, dword [esp + 0x38]
cmp eax, edi
jle 0x46eebd
mov eax, edi
sub dword [esp + 0x74], eax
sub edi, eax
sub dword [esp + 0x38], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x46ef28
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46f798
test esi, esi
jle 0x46ef1c
mov dword [esp + 4], esi
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call sym.___pow5mult_D2A
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.___mult_D2A
mov ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.___Bfree_D2A
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x70]
sub ebx, esi
jne 0x46f7ff
mov dword [esp], 1
call sym.___i2b_D2A
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x46ef58
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.___pow5mult_D2A
mov dword [esp + 0x24], eax
xor ebx, ebx
cmp dword [esp + 0xc0], 1
jle 0x46f7b5
mov eax, dword [esp + 0x34]
test eax, eax
je 0x46f4e9
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x10]
bsr eax, dword [edx + eax*4 + 0x10]
mov edx, dword [esp + 0x38]
xor eax, 0x1f
sub edx, eax
and edx, 0x1f
test edx, edx
mov dword [esp + 0x90], edx
je 0x46efa5
mov eax, 0x20
sub eax, edx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
cmp eax, 4
jle 0x46f4d8
sub eax, 4
add dword [esp + 0x74], eax
add edi, eax
add dword [esp + 0x38], eax
mov dword [esp + 0x90], eax
mov esi, dword [esp + 0x74]
test esi, esi
jle 0x46efe9
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.___lshift_D2A
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
jle 0x46f009
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], edx
mov dword [esp], ecx
call sym.___lshift_D2A
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x48]
test edx, edx
jne 0x46f5e3
mov eax, dword [esp + 0x60]
test eax, eax
setle al
xor edx, edx
cmp dword [esp + 0xc0], 2
setg dl
test eax, edx
je 0x46f30c
mov edi, dword [esp + 0x60]
test edi, edi
js 0x46f1af
mov ecx, dword [esp + 0x24]
xor esi, esi
mov ebx, 5
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp], ecx
call sym.___multadd_D2A
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.___cmp_D2A
test eax, eax
jle 0x46f1af
mov edx, 0x20
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x20]
mov ebp, edx
mov byte [edx], 0x31
inc ebp
inc dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
mov dword [esp], ebx
call sym.___Bfree_D2A
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x46f0cc
mov edx, dword [esp + 0x2c]
test edx, edx
mov edx, dword [esp + 0x28]
setne al
cmp dword [esp + 0x2c], edx
setne dl
movzx edx, dl
test eax, edx
jne 0x46f51d
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
call sym.___Bfree_D2A
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.___Bfree_D2A
mov byte [ebp], 0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0xc8]
inc eax
mov dword [edx], eax
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x46f0fe
mov ecx, dword [esp + 0xcc]
mov dword [ecx], ebp
mov ebx, dword [esp + 0xbc]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
or dword [ebx], eax
add esp, 0x9c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call sym.___rshift_D2A
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x6c]
sub dword [esp + 0x94], eax
add ebx, eax
mov dword [esp + 0xb4], ebx
jmp 0x46e91d
fstp st(0)
jmp 0x46eb65
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x50]
shr edx, 0x1f
test esi, esi
setle al
fld qword [ebx*8 + 0x4bc770]
test eax, edx
je 0x46f271
mov edx, dword [esp + 0x60]
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ecx
test edx, edx
js 0x46fc67
fld dword [0x4bc738]
fld qword [esp + 0x88]
fxch st(1)
fmulp st(2)
fxch st(1)
fucompp
fnstsw ax
sahf
jb 0x46f076
mov eax, dword [esp + 0xc4]
mov ecx, 0x10
mov dword [esp + 0x54], ecx
not eax
mov dword [esp + 0x50], eax
jmp 0x46f08d
mov ecx, 2
mov dword [esp + 0x3c], ecx
jmp 0x46ec81
xor ebp, ebp
mov dword [esp + 0x44], ebp
mov edx, dword [esp + 0xc4]
mov edi, dword [esp + 0x50]
add edx, edi
mov dword [esp + 0x58], edx
lea eax, [edx + 1]
test eax, eax
mov dword [esp + 0x90], eax
mov ecx, eax
mov dword [esp + 0x60], eax
jg case.default.0x46ec26
mov esi, 1
mov ecx, 1
mov dword [esp + 0x90], esi
jmp case.default.0x46ec26
fild dword [esp + 0x40]
mov ecx, 0xffffffff
mov esi, 0xffffffff
fmul qword [0x4bc728]
mov dword [esp + 0x60], ecx
xor edx, edx
mov dword [esp + 0x58], esi
mov dword [esp + 0xc4], edx
fldcw word [esp + 0x7c]
fistp dword [esp + 0x78]
fldcw word [esp + 0x7e]
mov eax, dword [esp + 0x78]
add eax, 3
mov dword [esp + 0x90], eax
mov ecx, eax
jmp case.default.0x46ec26
fstp st(0)
fstp qword [esp + 0x88]
jmp 0x46f1af
fnstcw word [esp + 0x7e]
mov eax, 1
fld qword [esp + 0x88]
fldz
mov dword [esp + 0x90], eax
movzx eax, word [esp + 0x7e]
or ax, 0xc00
mov word [esp + 0x7c], ax
jmp 0x46f2c1
mov eax, dword [esp + 0x90]
cmp eax, dword [esp + 0x60]
je 0x46f73d
fmul dword [0x4bc730]
fxch st(1)
inc eax
mov dword [esp + 0x90], eax
fld st(1)
fdiv st(3)
fldcw word [esp + 0x7c]
fistp dword [esp + 0x78]
fldcw word [esp + 0x7e]
mov edx, dword [esp + 0x78]
mov al, dl
push edx
add al, 0x30
fild dword [esp]
add esp, 4
fmul st(3)
fsubp st(2)
fxch st(1)
fstp qword [esp + 0x88]
mov byte [ebp], al
inc ebp
fld qword [esp + 0x88]
fucom st(1)
fnstsw ax
sahf
jp 0x46f2a0
jne 0x46f2a0
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x46f0cc
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46f52e
test edi, edi
jle 0x46f330
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
call sym.___lshift_D2A
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
test ebx, ebx
mov dword [esp + 0x2c], eax
jne 0x46fba1
mov eax, 1
mov dword [esp + 0x90], eax
jmp 0x46f446
mov dword [esp], esi
call sym.___Bfree_D2A
mov edx, dword [esp + 0xc0]
or edx, edi
jne 0x46f382
mov ecx, dword [esp + 0xb8]
xor edx, edx
mov eax, dword [ecx]
xor eax, 1
cmp dword [esp + 0x3c], 0
sete dl
test edx, eax
jne 0x46fc79
test ebx, ebx
js 0x46f9ca
or ebx, dword [esp + 0xc0]
jne 0x46f3a3
mov edx, dword [esp + 0xb8]
test byte [edx], 1
je 0x46f9ca
test edi, edi
setg al
xor edx, edx
cmp dword [esp + 0x3c], 2
setne dl
test eax, edx
jne 0x46fc25
movzx ecx, byte [esp + 0x68]
mov byte [ebp], cl
mov ebx, dword [esp + 0x60]
inc ebp
cmp dword [esp + 0x90], ebx
je 0x46f58f
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, 0xa
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym.___multadd_D2A
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x2c], edx
je 0x46f4b4
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0xa
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.___multadd_D2A
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0xa
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.___multadd_D2A
mov dword [esp + 0x28], eax
inc dword [esp + 0x90]
mov edx, dword [esp + 0x24]
mov edi, 1
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp], ecx
call sym.___quorem_D2A
add eax, 0x30
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.___cmp_D2A
mov edx, dword [esp + 0x28]
mov ebx, eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], edx
mov dword [esp], ecx
call sym.___diff_D2A
mov esi, eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x46f351
mov dword [esp + 4], esi
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.___cmp_D2A
mov edi, eax
jmp 0x46f351
mov dword [esp], edx
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0xa
mov dword [esp + 4], eax
call sym.___multadd_D2A
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
jmp 0x46f43f
cmp eax, 3
jg 0x46efc9
add eax, 0x1c
jmp 0x46efb8
mov edx, dword [esp + 0x38]
inc edx
jmp 0x46ef89
neg ebx
xor eax, eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x38], eax
jmp 0x46ebbf
mov ebx, dword [esp + 0x50]
xor ebp, ebp
sub dword [esp + 0x74], ebx
mov dword [esp + 0x34], ebp
neg ebx
mov dword [esp + 0x70], ebx
jmp 0x46ebdd
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call sym.___Bfree_D2A
jmp 0x46f0c0
mov edi, 1
mov dword [esp + 0x90], edi
jmp 0x46f562
mov ebx, 0xa
xor esi, esi
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], esi
mov dword [esp], ebx
call sym.___multadd_D2A
inc dword [esp + 0x90]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov ebx, ebp
inc ebp
mov edx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.___quorem_D2A
add eax, 0x30
mov dword [esp + 0x68], eax
mov byte [ebx], al
mov ecx, dword [esp + 0x60]
cmp dword [esp + 0x90], ecx
jl 0x46f53c
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x46fa91
cmp dword [esp + 0x3c], 2
je 0x46fad3
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x10]
cmp eax, 1
jle 0x46fb91
mov edi, 0x20
mov dword [esp + 0x54], edi
dec ebp
cmp byte [ebp], 0x39
jne 0x46f78e
cmp ebp, dword [esp + 0x20]
jne 0x46f5bf
inc dword [esp + 0x50]
mov ebx, dword [esp + 0x20]
mov ebp, ebx
mov byte [ebx], 0x31
inc ebp
jmp 0x46f08d
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.___cmp_D2A
test eax, eax
jns 0x46f015
dec dword [esp + 0x50]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, 0xa
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.___multadd_D2A
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x46fcd2
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], edx
jmp 0x46f015
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46f80c
fld dword [0x4bc73c]
xor eax, eax
fnstcw word [esp + 0x7e]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x90], eax
fmul st(1)
movzx eax, word [esp + 0x7e]
fld dword [0x4bc730]
fxch st(1)
fdiv qword [edx*8 + case.0x46ec26.5]
or ax, 0xc00
mov word [esp + 0x7c], ax
fsub qword [esp + 0x80]
fstp qword [esp + 0x80]
jmp 0x46f6cd
fld st(2)
fsub st(2)
fxch st(1)
fucom st(1)
fnstsw ax
fstp st(1)
sahf
ja 0x46f963
mov eax, dword [esp + 0x90]
inc eax
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x90], eax
jge 0x46fc6e
fmul st(4)
fxch st(1)
fmul st(4)
fxch st(1)
fstp qword [esp + 0x80]
fxch st(3)
fld st(3)
fdiv st(2)
fldcw word [esp + 0x7c]
fistp dword [esp + 0x78]
fldcw word [esp + 0x7e]
mov edx, dword [esp + 0x78]
mov al, dl
push edx
add al, 0x30
fild dword [esp]
add esp, 4
fmul st(2)
fsubp st(4)
fxch st(3)
fstp qword [esp + 0x88]
mov byte [ebp], al
inc ebp
fld qword [esp + 0x88]
fld qword [esp + 0x80]
fucom st(1)
fnstsw ax
sahf
jbe 0x46f690
fstp st(0)
fstp st(1)
fstp st(1)
fstp st(1)
fldz
fxch st(1)
fucompp
fnstsw ax
sahf
jp 0x46f72f
je 0x46f0cc
mov eax, 0x10
mov dword [esp + 0x54], eax
jmp 0x46f0cc
fstp st(1)
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x46f934
fstp st(0)
fstp st(0)
cmp dword [esp + 0x3c], 1
mov eax, 0x10
mov dword [esp + 0x54], eax
jne 0x46f0cc
mov eax, 0x20
mov dword [esp + 0x54], eax
dec ebp
cmp byte [ebp], 0x39
jne 0x46f784
cmp ebp, dword [esp + 0x20]
jne 0x46f76c
inc dword [esp + 0x50]
mov edx, dword [esp + 0x20]
mov byte [edx], 0x30
mov eax, ebp
inc ebp
inc byte [eax]
jmp 0x46f0cc
mov eax, ebp
inc ebp
inc byte [eax]
jmp 0x46f08d
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sym.___pow5mult_D2A
mov dword [esp + 0x30], eax
jmp 0x46ef28
cmp dword [esp + 0x94], 1
jne 0x46ef68
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 4]
inc eax
cmp eax, dword [esp + 0x6c]
jge 0x46ef68
inc dword [esp + 0x74]
mov ebx, 1
inc dword [esp + 0x38]
jmp 0x46ef68
mov eax, dword [esp + 0x70]
xor esi, esi
sub ebx, eax
add dword [esp + 0x34], ebx
add dword [esp + 0x70], ebx
jmp 0x46ee6e
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x30]
mov dword [esp], edx
jmp 0x46f7a7
fnstcw word [esp + 0x7e]
mov edx, dword [esp + 0x60]
mov edi, 1
movzx eax, word [esp + 0x7e]
mov dword [esp + 0x90], edi
fld qword [edx*8 + 0x4bc768]
fmul qword [esp + 0x80]
or ax, 0xc00
mov word [esp + 0x7c], ax
fstp qword [esp + 0x80]
jmp 0x46f88c
push edx
fild dword [esp]
add esp, 4
fmul st(1)
fsubp st(3)
fxch st(2)
fstp qword [esp + 0x88]
mov al, dl
add al, 0x30
mov byte [ebp], al
mov eax, dword [esp + 0x90]
inc ebp
cmp eax, dword [esp + 0x60]
je 0x46f8a8
fld dword [0x4bc730]
inc eax
fmul qword [esp + 0x88]
mov dword [esp + 0x90], eax
fst qword [esp + 0x88]
fxch st(2)
fld st(2)
fdiv st(1)
fldcw word [esp + 0x7c]
fistp dword [esp + 0x78]
fldcw word [esp + 0x7e]
mov edx, dword [esp + 0x78]
test edx, edx
jne 0x46f845
fstp st(2)
jmp 0x46f859
fxch st(1)
fmul dword [0x4bc73c]
fld qword [esp + 0x80]
fld qword [esp + 0x88]
fld st(1)
fadd st(3)
fxch st(1)
fucom st(1)
fnstsw ax
fstp st(1)
sahf
ja 0x46f965
fxch st(2)
fsubrp st(1)
fucomp st(1)
fnstsw ax
sahf
ja 0x46fc9f
fstp st(0)
jmp 0x46edf8
mov edi, dword [esp + 0x50]
fld1
neg edi
je 0x46ed3f
fxch st(2)
mov eax, edi
and eax, 0xf
fmul qword [eax*8 + 0x4bc770]
mov ebx, edi
sar ebx, 4
fld st(0)
je 0x46fc15
mov dword [esp + 0x90], esi
test bl, 1
mov ecx, esi
je 0x46f92d
fstp st(0)
fmul qword [esi*8 + 0x4bc870]
inc dword [esp + 0x64]
fld st(0)
lea esi, [ecx + 1]
sar ebx, 1
jmp 0x46f90a
fadd st(0)
fucom st(1)
fnstsw ax
fst qword [esp + 0x88]
sahf
ja 0x46f969
fucompp
fnstsw ax
sahf
jne 0x46f72f
jp 0x46f72f
test dl, 1
je 0x46f72f
jmp 0x46f763
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x46f763
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0xb0]
sub eax, edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x90], eax
mov ecx, dword [ebx + 4]
sub edx, eax
inc eax
cmp edx, ecx
jge 0x46f9ad
sub dword [esp + 0xb4], ecx
mov eax, dword [esp + 0xb4]
inc eax
mov dword [esp + 0x90], eax
jmp 0x46ee81
mov eax, 1
mov dword [esp + 0xc4], eax
jmp 0x46ec42
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x46fb1f
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 0x10], 1
jle 0x46fb14
cmp dword [esp + 0x3c], 2
mov ecx, 0x10
mov dword [esp + 0x54], ecx
jne 0x46fa3a
jmp 0x46fb83
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0xa
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.___multadd_D2A
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sym.___quorem_D2A
add eax, 0x30
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.___cmp_D2A
test eax, eax
jle 0x46fc45
movzx ebx, byte [esp + 0x68]
mov eax, 0xa
xor edx, edx
mov byte [ebp], bl
inc ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], edx
mov dword [esp], eax
call sym.___multadd_D2A
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x2c], edx
jne 0x46fa00
mov dword [esp + 0x2c], eax
jmp 0x46fa00
mov ecx, dword [esp + 0x30]
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.___lshift_D2A
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sym.___cmp_D2A
test eax, eax
jg 0x46f5b6
jne 0x46fd06
test byte [esp + 0x68], 1
jne 0x46f5b6
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x10]
dec eax
jle 0x46fcae
mov ebx, 0x10
mov dword [esp + 0x54], ebx
dec ebp
cmp byte [ebp], 0x30
je 0x46faea
inc ebp
jmp 0x46f08d
fstp st(1)
fstp st(1)
fstp qword [esp + 0x88]
jmp 0x46f076
mov edi, dword [esp + 0x74]
sub edi, eax
xor eax, eax
jmp 0x46f9ad
mov ebx, dword [ecx + 0x14]
test ebx, ebx
jne 0x46f9e4
test edi, edi
jle 0x46fb6c
mov ecx, dword [esp + 0x30]
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.___lshift_D2A
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sym.___cmp_D2A
test eax, eax
jle 0x46fd12
inc dword [esp + 0x68]
cmp dword [esp + 0x68], 0x3a
je 0x46fc5d
mov eax, 0x20
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x10], 1
jle 0x46fcf6
mov esi, 0x10
mov dword [esp + 0x54], esi
movzx edx, byte [esp + 0x68]
mov byte [ebp], dl
inc ebp
jmp 0x46f08d
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x46f5b6
jmp 0x46fada
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym.___Balloc_D2A
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov eax, dword [ecx + 0x10]
mov esi, ecx
add edi, 0xc
add esi, 0xc
lea edx, [eax*4]
lea eax, [edx + 8]
cmp eax, 7
jbe 0x46fbef
test edi, 4
je 0x46fbef
mov ebx, dword [esp + 0x28]
add esi, 4
mov eax, dword [ecx + 0xc]
mov edi, ebx
add edi, 0x10
mov dword [ebx + 0xc], eax
lea eax, [edx + 4]
cld
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.___lshift_D2A
mov dword [esp + 0x28], eax
jmp 0x46f340
fxch st(1)
fstp qword [esp + 0x88]
fxch st(2)
jmp 0x46ed3f
cmp dword [esp + 0x68], 0x39
je 0x46fc5d
movzx eax, byte [esp + 0x68]
mov ebx, 0x20
mov dword [esp + 0x54], ebx
inc al
mov byte [ebp], al
inc ebp
jmp 0x46f08d
inc dword [esp + 0x68]
mov eax, 0x20
mov dword [esp + 0x54], eax
cmp dword [esp + 0x68], 0x3a
jne 0x46fb83
mov byte [ebp], 0x39
inc ebp
jmp 0x46f5b6
fstp st(0)
jmp 0x46f1af
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x46edf6
cmp dword [esp + 0x68], 0x39
je 0x46fc5d
test ebx, ebx
jle 0x46fd28
inc dword [esp + 0x68]
mov edi, 0x20
mov dword [esp + 0x54], edi
movzx eax, byte [esp + 0x68]
mov byte [ebp], al
jmp 0x46fc3f
fstp st(1)
dec ebp
cmp byte [ebp], 0x30
je 0x46fca1
inc ebp
jmp 0x46f71e
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x46faea
jmp 0x46fae1
fstp st(0)
fstp st(1)
mov dword [esp + 0x90], esi
jmp 0x46edf8
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0xa
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.___multadd_D2A
mov dword [esp + 0x28], eax
jmp 0x46f62e
mov edi, dword [eax + 0x14]
test edi, edi
je 0x46fb83
jmp 0x46fb7a
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x10]
jmp 0x46fada
jne 0x46fb63
test byte [esp + 0x68], 1
je 0x46fb63
jmp 0x46fb54
mov ebx, dword [esp + 0x30]
cmp dword [ebx + 0x10], 1
jle 0x46fd45
mov eax, 0x10
mov dword [esp + 0x54], eax
movzx eax, byte [esp + 0x68]
jmp 0x46fc9a
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x46fd32
movzx eax, byte [esp + 0x68]
jmp 0x46fc9a