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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xb0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x8c], esi
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x84], esi
mov esi, dword [ebp + 0x20]
mov edi, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x94], esi
mov esi, dword [eax]
mov dword [esp + 0x80], ebx
mov eax, esi
mov dword [esp + 0x90], ecx
and eax, 0xffffffcf
mov dword [edi], eax
mov eax, esi
and eax, 7
cmp eax, 3
je 0x4063f0
mov edi, esi
and edi, 4
mov dword [esp + 0x70], edi
jne 0x406378
test eax, eax
je 0x4063b8
mov ecx, dword [ebx]
xor edx, edx
mov eax, 0x20
mov dword [esp + 0x9c], ecx
cmp ecx, 0x20
jle 0x40614a
add eax, eax
add edx, 1
cmp ecx, eax
jg 0x406141
mov dword [esp], edx
call sym.___Balloc_D2A
mov ebx, dword [esp + 0x98]
mov edi, eax
mov eax, dword [esp + 0x9c]
mov edx, ebx
mov dword [esp + 0x54], ebx
sub eax, 1
add edx, 1
sar eax, 5
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
shl eax, 2
lea ecx, [ebx + eax]
mov dword [esp + 0x60], eax
lea eax, [edi + 0x14]
mov dword [esp + 0x78], ecx
add ecx, 1
mov dword [esp + 0x58], ecx
cmp ecx, edx
jb 0x406428
cmp dword [esp + 0x60], 0xb
jbe 0x406428
lea ecx, [ebx + 4]
mov edx, eax
sub edx, ecx
mov ecx, ebx
cmp edx, 8
ja 0x406450
mov ebx, dword [esp + 0x78]
lea esi, [esi]
mov edx, dword [ecx]
add ecx, 4
add eax, 4
mov dword [eax - 4], edx
cmp ebx, ecx
jae 0x4061c0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x58], ecx
lea ebx, [eax*4 + 4]
mov eax, 4
cmovb ebx, eax
sar ebx, 2
mov edx, ebx
jmp 0x406200
test edx, edx
je 0x406440
mov eax, edx
sub edx, 1
mov ebx, dword [edi + edx*4 + 0x14]
test ebx, ebx
je 0x4061f8
bsr edx, dword [edi + edx*4 + 0x14]
mov dword [edi + 0x10], eax
shl eax, 5
xor edx, 0x1f
sub eax, edx
mov dword [esp + 0x54], eax
mov dword [esp], edi
call sym.___trailz_D2A
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xac], eax
mov dword [esp + 0x50], ebx
test eax, eax
jne 0x406500
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4063b0
lea eax, [esp + 0xac]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.___b2d_D2A
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
fstp qword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add ebx, ecx
and edx, 0xfffff
mov dword [esp + 0x78], eax
lea ecx, [ebx - 1]
mov eax, 1
or edx, 0x3ff00000
sub eax, ebx
mov dword [esp + 0x68], ecx
test ecx, ecx
mov dword [esp + 0x7c], edx
fld qword [esp + 0x78]
cmovns eax, ecx
fsub dword [0x40b3f8]
fmul qword [str.aCoc]
sub eax, 0x435
fadd qword [0x40b408]
fild dword [esp + 0x68]
fmul qword [0x40b410]
faddp st(1)
test eax, eax
jle 0x4062d9
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
fmul qword [0x40b418]
faddp st(1)
fld st(0)
fisttp dword [esp + 0x64]
fldz
fcompi st(1)
ja 0x406870
fstp st(0)
mov eax, ecx
shl eax, 0x14
add eax, edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
sub eax, ecx
lea ecx, [eax - 1]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x64]
cmp ecx, 0x16
ja 0x406530
fld qword [ecx*8 + 0x40b460]
fst qword [esp + 0x68]
fld qword [esp + 0x78]
fxch st(1)
fcompi st(1)
fstp st(0)
ja 0x406900
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
test eax, eax
jg 0x406358
mov edx, 1
mov dword [esp + 0x60], 0
sub edx, eax
mov dword [esp + 0x48], edx
lea esi, [esi]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], 0
add dword [esp + 0x60], ecx
mov dword [esp + 0x44], ecx
jmp 0x406583
xor ebx, ebx
cmp eax, 4
jne 0x4063e6
mov eax, dword [esp + 0x94]
mov dword [eax], 0xffff8000
mov dword [ebp + 0x10], 3
mov eax, dword [esp + 0x90]
mov dword [ebp + 8], 0x40b3f1
mov dword [ebp + 0xc], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym.___nrv_alloc_D2A
mov dword [esp], edi
call sym.___Bfree_D2A
mov eax, dword [esp + 0x94]
mov dword [eax], 1
mov eax, dword [esp + 0x90]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x40b3f5
call sym.___nrv_alloc_D2A
mov ebx, eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x94]
mov dword [eax], 0xffff8000
mov dword [ebp + 0x10], 8
mov eax, dword [esp + 0x90]
mov dword [ebp + 8], 0x40b3e8
mov dword [ebp + 0xc], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym.___nrv_alloc_D2A
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x78]
jmp 0x4061c0
mov dword [esp + 0x54], edx
mov dword [edi + 0x10], 0
jmp 0x406221
mov ecx, dword [esp + 0x68]
mov edx, ebx
mov dword [esp + 0x50], eax
and ecx, 0x3fffffff
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x58], ecx
mov ecx, 1
cmovae ecx, ebx
mov ebx, ecx
mov dword [esp + 0x60], ecx
mov ecx, eax
shr ebx, 2
shl ebx, 4
add edx, ebx
mov ebx, dword [esp + 0x78]
mov eax, edx
mov edx, dword [esp + 0x54]
lea esi, [esi]
movdqu xmm0, xmmword [edx]
add edx, 0x10
add ecx, 0x10
movups xmmword [ecx - 0x10], xmm0
cmp eax, edx
jne 0x406490
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x60]
mov edx, ebx
and edx, 0xfffffffc
shl edx, 2
add ecx, edx
add edx, eax
and ebx, 3
je 0x4061cf
mov eax, dword [ecx]
mov ebx, dword [esp + 0x78]
mov dword [edx], eax
lea eax, [ecx + 4]
cmp ebx, eax
jb 0x4061cf
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
lea eax, [ecx + 8]
cmp ebx, eax
jb 0x4061cf
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
jmp 0x4061cf
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.___rshift_D2A
mov eax, dword [esp + 0xac]
sub dword [esp + 0x54], eax
mov ebx, dword [esp + 0x88]
add ebx, eax
mov dword [esp + 0x50], ebx
jmp 0x406243
mov dword [esp + 0x38], 1
mov edx, dword [esp + 0x60]
mov dword [esp + 0x48], 0
test edx, edx
jns 0x40655b
mov edx, 1
mov dword [esp + 0x60], 0
sub edx, eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x64]
test eax, eax
jns 0x406358
mov eax, dword [esp + 0x64]
sub dword [esp + 0x48], eax
mov dword [esp + 0x64], 0
mov ecx, eax
mov dword [esp + 0x44], eax
neg ecx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x8c]
cmp eax, 9
ja 0x4067e0
cmp eax, 5
jg 0x406890
lea eax, [ebx + 0x3fd]
cmp eax, 0x7f7
mov eax, dword [esp + 0x8c]
setbe bl
cmp eax, 4
je 0x4076c2
cmp eax, 5
je 0x407307
cmp eax, 2
jne 0x406ca8
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x84]
mov eax, 1
test ecx, ecx
cmovg eax, ecx
mov dword [esp + 0x2c], eax
mov edx, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], eax
mov dword [esp], eax
mov dword [esp + 0xac], edx
call sym.___rv_alloc_D2A
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0xc]
sub eax, 1
mov dword [esp + 0x58], eax
je 0x406644
mov ecx, dword [esp + 0x58]
mov eax, 2
test ecx, ecx
cmovns eax, ecx
and esi, 8
mov dword [esp + 0x58], eax
mov ecx, eax
je 0x406aa0
mov eax, 3
sub eax, ecx
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x68]
cmp esi, 0xe
setbe al
and al, bl
mov byte [esp + 0x2b], al
je 0x406aa0
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x58]
jne 0x406aa0
movsd xmm1, qword [esp + 0x78]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xac], 0
movsd qword [esp + 0x58], xmm1
test eax, eax
je 0x406697
fld qword [esp + 0x58]
fld1
fcompi st(1)
ja 0x4076cf
fstp st(0)
fld qword [esp + 0x58]
fadd st(0)
fadd dword [0x40b434]
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x406a56
movsd xmm2, qword [esp + 0x58]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x30], 1
movsd qword [esp + 0x18], xmm2
mov eax, dword [esp + 0x40]
fld qword [esp + 0x20]
fld qword [ecx*8 + 0x40b458]
test eax, eax
je 0x4075d4
fdivr dword [0x40b43c]
mov esi, dword [esp + 0x4c]
lea edx, [esi + 1]
fsubrp st(1)
fld qword [esp + 0x18]
fld st(0)
fisttp dword [esp + 0x78]
fild dword [esp + 0x78]
movzx eax, byte [esp + 0x78]
add eax, 0x30
fsubp st(1)
fxch st(1)
mov byte [esi], al
fcomi st(1)
jbe 0x406779
fstp st(0)
jmp 0x407945
mov eax, dword [esp + 0xac]
add eax, 1
mov dword [esp + 0xac], eax
cmp eax, ecx
jge 0x406a7e
fld dword [0x40b42c]
add edx, 1
fmul st(1), st(0)
fmulp st(2)
fxch st(1)
fld st(0)
fisttp dword [esp + 0x78]
fild dword [esp + 0x78]
movzx eax, byte [esp + 0x78]
add eax, 0x30
fsubp st(1)
fxch st(1)
mov byte [edx - 1], al
fcomi st(1)
ja 0x407943
fld st(1)
fsubr dword [0x40b428]
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x406730
fstp st(0)
fstp st(0)
jmp 0x40679b
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x40679b
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x4c]
jmp 0x4067b6
cmp ebx, ecx
je 0x407803
movzx eax, byte [ecx - 1]
mov edx, ecx
lea ecx, [edx - 1]
cmp al, 0x39
je 0x4067a8
mov dword [esp + 0x4c], ebx
add eax, 1
mov byte [ecx], al
mov dword [esp + 0x4c], edx
mov dword [esp + 0x70], 0x20
jmp 0x4069f0
lea eax, [ebx + 0x3fd]
mov dword [esp + 0x8c], 0
cmp eax, 0x7f7
setbe bl
fild dword [esp + 0x9c]
fmul qword [0x40b420]
fisttp dword [esp + 0x84]
mov eax, dword [esp + 0x84]
add eax, 3
mov dword [esp], eax
mov dword [esp + 0xac], eax
call sym.___rv_alloc_D2A
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x84], eax
sub eax, 1
mov dword [esp + 0x58], eax
je 0x406912
mov dword [esp + 0x84], 0
mov dword [esp + 0x40], 1
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
jmp 0x40661c
fild dword [esp + 0x64]
fucompi st(1)
fstp st(0)
jp 0x406880
je 0x4062eb
sub dword [esp + 0x64], 1
jmp 0x4062eb
sub eax, 4
mov dword [esp + 0x8c], eax
cmp eax, 4
je 0x4075c5
cmp eax, 5
je 0x4073f2
mov dword [esp + 0x40], 0
xor ebx, ebx
cmp eax, 2
je 0x4065d4
mov dword [esp + 0x8c], 3
lea esi, [esi]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x84]
mov edx, 1
add eax, ecx
mov dword [esp + 0x2c], eax
add eax, 1
test eax, eax
mov dword [esp + 0x68], eax
cmovg edx, eax
mov eax, edx
jmp 0x4065f6
sub dword [esp + 0x64], 1
mov dword [esp + 0x38], 0
jmp 0x406538
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x84], 0
test eax, eax
js 0x4078d5
mov dword [esp + 0x40], 1
mov dword [esp + 0x2c], 0xffffffff
lea esi, [esi]
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x44]
cmp esi, dword [eax + 0x14]
jg 0x406aac
mov eax, esi
mov edx, dword [esp + 0x84]
fld qword [eax*8 + 0x40b460]
test edx, edx
jns 0x407207
mov esi, dword [esp + 0x68]
test esi, esi
jg 0x407207
jne 0x406cbe
fmul dword [0x40b438]
fld qword [esp + 0x78]
fxch st(1)
fcompi st(1)
fstp st(0)
jae 0x406cc0
add eax, 2
mov dword [esp + 0x78], 0
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x9c], 0
add dword [esp + 0x4c], 1
mov byte [ebx], 0x31
mov dword [esp + 0x70], 0x20
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sym.___Bfree_D2A
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x4069f0
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call sym.___Bfree_D2A
mov dword [esp], edi
call sym.___Bfree_D2A
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
mov byte [eax], 0
mov dword [edi], esi
mov edi, dword [esp + 0x90]
test edi, edi
je 0x406a19
mov dword [edi], eax
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
or dword [eax], edi
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
fstp st(0)
fld qword [esp + 0x58]
fadd st(0)
fadd dword [0x40b434]
fstp qword [esp + 0x78]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x24], eax
fld qword [esp + 0x58]
fsub dword [0x40b438]
fld qword [esp + 0x20]
fxch st(1)
fcomi st(1)
ja 0x40777c
fxch st(1)
fchs
fcompi st(1)
fstp st(0)
ja 0x406cc0
jmp 0x406a86
fstp st(0)
fstp st(0)
jmp 0x406a86
fstp st(0)
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
nop
mov ecx, dword [esp + 0x50]
test ecx, ecx
jns 0x406948
mov esi, dword [esp + 0x40]
test esi, esi
je 0x406cf8
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x9c]
sub eax, esi
mov esi, dword [esp + 0x80]
lea edx, [eax + 1]
mov ebx, dword [esi + 4]
mov esi, dword [esp + 0x50]
mov dword [esp + 0xac], edx
mov ecx, esi
sub ecx, eax
cmp ecx, ebx
jge 0x4071e0
mov ecx, dword [esp + 0x8c]
lea eax, [ecx - 3]
and eax, 0xfffffffd
je 0x4071a0
mov eax, esi
mov esi, dword [esp + 0x68]
sub eax, ebx
add eax, 1
cmp ecx, 1
setg dl
test esi, esi
mov dword [esp + 0xac], eax
setg cl
test dl, cl
je 0x406b25
cmp eax, esi
jg 0x407a41
mov ebx, dword [esp + 0x48]
add dword [esp + 0x60], eax
mov esi, dword [esp + 0x3c]
add eax, ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x78], esi
mov esi, ebx
mov dword [esp], 1
call sym.___i2b_D2A
mov dword [esp + 0x40], 1
mov dword [esp + 0x9c], eax
test esi, esi
jle 0x406b7e
mov ebx, dword [esp + 0x60]
test ebx, ebx
jle 0x406b7e
cmp esi, ebx
mov eax, ebx
cmovle eax, esi
sub dword [esp + 0x48], eax
sub ebx, eax
mov dword [esp + 0xac], eax
sub esi, eax
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x406bac
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x406b9a
mov edx, dword [esp + 0x78]
test edx, edx
jne 0x4073a9
mov eax, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.___pow5mult_D2A
mov edi, eax
mov dword [esp], 1
call sym.___i2b_D2A
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x406fd0
cmp dword [esp + 0x8c], 1
jle 0x407160
mov ebx, 0x1f
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
sub ebx, eax
sub ebx, 4
and ebx, 0x1f
add edx, ebx
mov dword [esp + 0xac], ebx
mov eax, ebx
test edx, edx
jle 0x406c0f
mov dword [esp], edi
mov dword [esp + 4], edx
call sym.___lshift_D2A
mov edi, eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x60]
add ecx, eax
test ecx, ecx
jle 0x406c2d
mov eax, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.___lshift_D2A
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x8c], 2
setg dl
test eax, eax
jne 0x407010
mov eax, dword [esp + 0x68]
test eax, eax
jg 0x406d18
test dl, dl
je 0x406d18
mov ebx, dword [esp + 0x68]
test ebx, ebx
jne 0x406cd3
mov eax, dword [esp + 0x78]
mov dword [esp + 8], 0
mov dword [esp + 4], 5
mov dword [esp], eax
call sym.___multadd_D2A
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 0x78], eax
call sym.___cmp_D2A
test eax, eax
jle 0x406cd3
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x4c]
add eax, 2
mov dword [esp + 0x30], eax
jmp 0x4069ba
cmp eax, 3
jne 0x4067f9
mov dword [esp + 0x40], 0
jmp 0x4068d0
fstp st(0)
mov dword [esp + 0x78], 0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x70], 0x10
neg eax
mov dword [esp + 0x30], eax
jmp 0x4069ca
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x78], eax
jmp 0x406b58
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add eax, 1
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x4070a0
add ebx, esi
test ebx, ebx
jle 0x406d4f
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.___lshift_D2A
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x88], eax
test edx, edx
jne 0x407731
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x84], eax
mov eax, 1
jmp 0x406e70
mov dword [esp], edx
call sym.___Bfree_D2A
mov eax, 1
test ebx, ebx
js 0x40749e
or ebx, dword [esp + 0x8c]
jne 0x406dae
mov ebx, dword [esp + 0x98]
test byte [ebx], 1
je 0x40749e
mov esi, dword [esp + 0x84]
add esi, 1
mov ebx, esi
test eax, eax
jle 0x406dc9
cmp dword [esp + 0x58], 2
jne 0x4077a4
movzx eax, byte [esp + 0x80]
mov byte [esi - 1], al
mov eax, dword [esp + 0x68]
cmp dword [esp + 0xac], eax
je 0x4077e2
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call sym.___multadd_D2A
mov ebx, dword [esp + 0x88]
cmp dword [esp + 0x9c], ebx
mov dword [esp + 8], 0
mov edi, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], 0xa
mov dword [esp], eax
je 0x406fb0
call sym.___multadd_D2A
mov dword [esp + 8], 0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], 0xa
mov dword [esp], eax
call sym.___multadd_D2A
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x84], esi
add eax, 1
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.___quorem_D2A
mov dword [esp], edi
lea ebx, [eax + 0x30]
mov esi, eax
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
call sym.___cmp_D2A
mov ecx, dword [esp + 0x88]
mov ebx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.___diff_D2A
mov edx, eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x406d80
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 0x60], edx
call sym.___cmp_D2A
mov edx, dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov dword [esp], edx
call sym.___Bfree_D2A
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x8c]
or eax, ecx
jne 0x4072d0
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
mov edx, ecx
mov dword [esp + 0x64], ecx
and edx, 1
or edx, dword [esp + 0x58]
jne 0x406d8d
mov edx, dword [esp + 0x80]
cmp edx, 0x39
je 0x4078a1
test ebx, ebx
jle 0x407ae7
mov dword [esp + 0x70], 0x20
lea edx, [esi + 0x31]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x9c]
mov byte [eax], dl
lea esi, [eax + 1]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x9c], eax
nop
mov eax, dword [esp + 0x78]
mov dword [esp + 0x98], ecx
mov dword [esp], eax
call sym.___Bfree_D2A
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x407314
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x406f99
cmp ecx, eax
je 0x406f99
mov dword [esp], ecx
call sym.___Bfree_D2A
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x4c], esi
jmp 0x4069e1
call sym.___multadd_D2A
mov dword [esp + 0x9c], eax
mov dword [esp + 0x88], eax
jmp 0x406e5f
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sym.___pow5mult_D2A
cmp dword [esp + 0x8c], 1
mov dword [esp + 0x78], eax
jle 0x407359
mov dword [esp + 0x64], 0
mov ebx, eax
mov eax, dword [ebx + 0x10]
bsr ebx, dword [ebx + eax*4 + 0x10]
xor ebx, 0x1f
jmp 0x406bdb
mov eax, dword [esp + 0x78]
mov dword [esp], edi
mov byte [esp + 0x88], dl
mov dword [esp + 4], eax
call sym.___cmp_D2A
movzx edx, byte [esp + 0x88]
test eax, eax
jns 0x406c44
mov dword [esp], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
sub eax, 1
mov dword [esp + 0x80], eax
call sym.___multadd_D2A
movzx edx, byte [esp + 0x88]
mov edi, eax
mov eax, dword [esp + 0x2c]
test eax, eax
setle al
and edx, eax
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x40796c
test dl, dl
jne 0x4078e2
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
lea esi, [esi]
lea esi, [esi]
mov esi, edi
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x68]
mov eax, 1
jmp 0x4070dc
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call sym.___multadd_D2A
mov esi, eax
mov eax, dword [esp + 0xac]
add eax, 1
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x78]
add ebx, 1
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.___quorem_D2A
add eax, 0x30
mov byte [ebx - 1], al
cmp dword [esp + 0xac], edi
jl 0x4070b8
mov edx, eax
mov edi, esi
xor ecx, ecx
mov esi, dword [esp + 0x58]
test esi, esi
je 0x407401
mov eax, dword [edi + 0x10]
cmp esi, 2
je 0x407452
cmp eax, 1
jg 0x4072d9
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x4072d9
test eax, eax
setne al
movzx eax, al
shl eax, 4
mov dword [esp + 0x70], eax
lea esi, [esi]
lea esi, [esi]
mov esi, ebx
sub ebx, 1
cmp byte [ebx], 0x30
je 0x407150
jmp 0x406f60
cmp dword [esp + 0x54], 1
jne 0x406bd6
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x88]
mov eax, dword [eax + 4]
add eax, 1
cmp eax, ebx
jge 0x406bd6
add dword [esp + 0x48], 1
add dword [esp + 0x60], 1
mov dword [esp + 0x64], 1
jmp 0x406bd6
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x3c]
lea eax, [ebx - 1]
cmp esi, eax
jl 0x407321
sub esi, eax
mov eax, ebx
mov dword [esp + 0x78], esi
test ebx, ebx
jns 0x4079be
mov dword [esp + 0xac], 0
mov esi, dword [esp + 0x48]
sub esi, ebx
jmp 0x406b3d
cmp dword [esp + 0x8c], 1
jg 0x4071a0
mov eax, dword [esp + 0x3c]
add dword [esp + 0x60], edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
mov esi, eax
add eax, edx
mov dword [esp + 0x48], eax
jmp 0x406b3d
fld qword [esp + 0x78]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xac], 1
lea edx, [esi + 1]
fld st(0)
fdiv st(2)
fisttp dword [esp + 0x9c]
fild dword [esp + 0x9c]
movzx eax, byte [esp + 0x9c]
add eax, 0x30
fmul st(2)
mov byte [esi], al
mov eax, dword [esp + 0x44]
add eax, 1
mov dword [esp + 0x30], eax
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x407270
lea esi, [esi]
jne 0x407270
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x4c], edx
jmp 0x4069f0
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0x68]
cmp eax, esi
je 0x407470
fmul dword [0x40b42c]
add eax, 1
add edx, 1
mov dword [esp + 0xac], eax
fld st(0)
fdiv st(2)
fisttp dword [esp + 0x9c]
fild dword [esp + 0x9c]
movzx eax, byte [esp + 0x9c]
add eax, 0x30
fmul st(2)
mov byte [edx - 1], al
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jnp 0x407258
jmp 0x407270
mov eax, dword [esp + 0x64]
jmp 0x406d8d
mov edx, dword [esp + 0x4c]
jmp 0x4072e8
cmp edx, ebx
je 0x407390
mov esi, ebx
lea ebx, [ebx - 1]
movzx eax, byte [esi - 1]
cmp al, 0x39
je 0x4072e0
add eax, 1
mov dword [esp + 0x70], 0x20
mov byte [ebx], al
jmp 0x406f60
mov dword [esp + 0x40], 1
jmp 0x4068d0
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x4c], esi
jmp 0x4069f0
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
mov edx, eax
mov dword [esp + 0x78], 0
mov esi, dword [esp + 0x3c]
add dword [esp + 0x60], ebx
mov dword [esp + 0xac], ebx
add ebx, ecx
sub edx, esi
mov dword [esp + 0x48], ebx
mov esi, ecx
add dword [esp + 0x64], edx
mov dword [esp + 0x3c], eax
jmp 0x406b3d
cmp dword [esp + 0x54], 1
jne 0x406ff6
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 4]
add eax, 1
cmp dword [esp + 0x88], eax
jg 0x407b0e
xor edx, edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x64], edx
jmp 0x407000
mov eax, dword [esp + 0x4c]
add dword [esp + 0x30], 1
mov dword [esp + 0x70], 0x20
mov byte [eax], 0x31
jmp 0x406f60
mov ebx, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.___pow5mult_D2A
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 0x9c], eax
call sym.___mult_D2A
mov dword [esp], edi
mov ebx, eax
mov edi, ebx
call sym.___Bfree_D2A
mov eax, dword [esp + 0x78]
sub dword [esp + 0x3c], eax
je 0x406bac
jmp 0x406b9a
mov dword [esp + 0x40], 1
xor ebx, ebx
jmp 0x4068d0
mov dword [esp], edi
mov dword [esp + 4], 1
mov dword [esp + 0x98], ecx
mov dword [esp + 0x8c], edx
call sym.___lshift_D2A
mov edi, eax
mov eax, dword [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.___cmp_D2A
mov ecx, dword [esp + 0x98]
test eax, eax
jg 0x4072d9
jne 0x407452
mov edx, dword [esp + 0x8c]
and edx, 1
jne 0x4072d9
cmp dword [edi + 0x10], 1
mov dword [esp + 0x70], 0x10
jg 0x407150
mov eax, dword [edi + 0x14]
jmp 0x407137
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4078fa
fstp st(0)
fstp st(0)
cmp eax, 1
je 0x4079fd
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x70], 0x10
mov dword [esp + 0x4c], edx
jmp 0x4069f0
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x80]
test ebx, ebx
je 0x407816
cmp dword [edi + 0x10], 1
jle 0x407a0a
cmp dword [esp + 0x58], 2
je 0x40786c
mov dword [esp + 0x98], edx
mov esi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x88]
jmp 0x40755f
movzx eax, byte [esp + 0x98]
mov dword [esp + 0x8c], ecx
mov byte [ecx - 1], al
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call sym.___multadd_D2A
mov dword [esp], edi
cmp esi, ebx
mov dword [esp + 8], 0
cmove esi, eax
mov dword [esp + 4], 0xa
mov dword [esp + 0x9c], eax
call sym.___multadd_D2A
mov edi, eax
mov eax, dword [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.___quorem_D2A
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x9c]
add eax, 0x30
mov dword [esp + 0x98], eax
mov dword [esp + 0x84], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.___cmp_D2A
mov ecx, dword [esp + 0x84]
add ecx, 1
test eax, eax
jg 0x4074e0
mov edx, dword [esp + 0x98]
mov dword [esp + 0x9c], esi
mov eax, esi
mov esi, ecx
mov dword [esp + 0x88], ebx
cmp edx, 0x39
je 0x4078ab
mov dword [esp + 0x9c], ebx
add edx, 1
mov ecx, eax
mov dword [esp + 0x70], 0x20
mov eax, dword [esp + 0x84]
mov byte [eax], dl
jmp 0x406f60
mov dword [esp + 0x40], 1
xor ebx, ebx
jmp 0x4065d4
fmulp st(1)
fld qword [esp + 0x78]
mov edx, dword [esp + 0x4c]
xor esi, esi
mov dword [esp + 0xac], 1
movzx eax, byte [esp + 0x2b]
fld st(0)
jmp 0x40762d
lea esi, [ebx + 0x30]
fild dword [esp + 0x9c]
add edx, 1
mov ebx, esi
mov byte [edx - 1], bl
mov ebx, dword [esp + 0xac]
fsubp st(1)
cmp ecx, ebx
je 0x407898
add ebx, 1
fmul dword [0x40b42c]
mov esi, eax
mov dword [esp + 0xac], ebx
fld st(0)
fisttp dword [esp + 0x9c]
mov ebx, dword [esp + 0x9c]
test ebx, ebx
jne 0x4075f8
mov byte [edx], 0x30
mov ebx, dword [esp + 0xac]
add edx, 1
cmp ebx, ecx
jne 0x40761b
mov ebx, esi
mov eax, 0x30
test bl, bl
fcmove st(0), st(1)
fstp st(1)
fld dword [0x40b43c]
fld st(2)
fadd st(1)
fxch st(2)
fcomi st(2)
fstp st(2)
ja 0x40678f
fsubrp st(2)
fxch st(1)
fcompi st(1)
ja 0x4079da
fstp st(0)
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
test esi, esi
js 0x407a74
mov eax, dword [esp + 0x80]
mov dword [esp + 0x58], 0
mov ebx, dword [eax + 0x14]
test ebx, ebx
js 0x406cf8
mov eax, dword [esp + 0x44]
jmp 0x40695e
mov dword [esp + 0x40], 1
jmp 0x4065d4
test esi, esi
je 0x406a2d
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x406a84
fmul dword [0x40b42c]
fst qword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
fmul dword [0x40b430]
fadd dword [0x40b434]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], eax
mov eax, edx
sub eax, 0x3400000
mov dword [esp + 0x24], eax
jmp 0x4066e2
mov esi, eax
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym.___Balloc_D2A
lea ecx, [eax + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x10]
mov dword [esp], ecx
lea edx, [eax*4 + 8]
lea eax, [esi + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._memcpy
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym.___lshift_D2A
mov dword [esp + 0x88], eax
jmp 0x406d69
fstp st(0)
fstp st(0)
mov dword [esp + 0x30], 2
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x78], 0
mov dword [esp + 0x9c], 0
jmp 0x4069ba
mov edx, dword [esp + 0x80]
cmp edx, 0x39
je 0x4078ab
mov eax, dword [esp + 0x84]
add edx, 1
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x70], 0x20
mov byte [eax], dl
mov eax, dword [esp + 0x88]
mov dword [esp + 0x9c], eax
jmp 0x406f60
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x9c], eax
jmp 0x40710b
add dword [esp + 0x30], 1
mov eax, 0x31
mov dword [esp + 0x4c], ebx
jmp 0x4067c4
test eax, eax
jle 0x407862
mov dword [esp], edi
mov dword [esp + 4], 1
mov dword [esp + 0x98], edx
call sym.___lshift_D2A
mov edi, eax
mov eax, dword [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.___cmp_D2A
mov edx, dword [esp + 0x98]
test eax, eax
jle 0x407acf
cmp edx, 0x39
je 0x4078a1
mov dword [esp + 0x58], 0x20
lea edx, [esi + 0x31]
cmp dword [edi + 0x10], 1
jle 0x407a98
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], 0x10
lea esi, [eax + 1]
jmp 0x4075b7
fstp st(1)
mov eax, esi
jmp 0x40765f
mov eax, dword [esp + 0x84]
lea esi, [eax + 1]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x9c]
mov ebx, esi
mov edx, dword [esp + 0x4c]
mov byte [eax], 0x39
mov eax, dword [esp + 0x88]
mov dword [esp + 0x9c], eax
jmp 0x4072e8
mov dword [esp + 0x2c], 0xffffffff
jmp 0x406ab8
mov eax, dword [esp + 0x80]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
jmp 0x406c58
fadd st(0)
movzx eax, byte [edx - 1]
fcomi st(1)
ja 0x406797
fucompi st(1)
fstp st(0)
mov ebx, dword [esp + 0x4c]
jp 0x407922
jne 0x407922
test byte [esp + 0x9c], 1
jne 0x4067b6
mov dword [esp + 0x70], 0x10
lea esi, [esi]
mov eax, edx
sub edx, 1
cmp byte [edx], 0x30
je 0x407930
mov dword [esp + 0x4c], eax
jmp 0x4069f0
fstp st(0)
fldz
xor eax, eax
mov ecx, 1
mov ebx, dword [esp + 0x4c]
fucompi st(1)
fstp st(0)
mov dword [esp + 0x4c], edx
setp al
cmovne eax, ecx
shl eax, 4
mov dword [esp + 0x70], eax
jmp 0x4069f0
mov eax, dword [esp + 0x9c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
mov dword [esp], eax
mov byte [esp + 0x88], dl
call sym.___multadd_D2A
movzx edx, byte [esp + 0x88]
mov dword [esp + 0x9c], eax
test dl, dl
jne 0x4078e2
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
jmp 0x406d2f
add dword [esp + 0x60], ebx
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0x48]
add eax, ebx
mov esi, ebx
mov dword [esp + 0x48], eax
jmp 0x406b3d
fldz
xor eax, eax
mov ecx, 1
mov ebx, dword [esp + 0x4c]
fucompi st(1)
fstp st(0)
setp al
cmovne eax, ecx
shl eax, 4
mov dword [esp + 0x70], eax
jmp 0x407930
movzx eax, byte [edx - 1]
mov ebx, dword [esp + 0x4c]
jmp 0x4067b6
mov ecx, dword [edi + 0x14]
test ecx, ecx
jne 0x4074bb
test eax, eax
jg 0x40781a
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x84]
lea esi, [eax + 1]
jmp 0x4075b7
mov ebx, dword [esp + 0x3c]
lea eax, [esi - 1]
cmp ebx, eax
jl 0x407321
sub ebx, eax
mov eax, esi
add dword [esp + 0x60], esi
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xac], esi
add eax, ebx
mov esi, ebx
mov dword [esp + 0x48], eax
jmp 0x406b3d
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x58], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x78], eax
jmp 0x406b58
mov ebx, dword [edi + 0x14]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x9c]
test ebx, ebx
mov dword [esp + 0x9c], eax
jne 0x407881
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x84]
lea esi, [eax + 1]
jmp 0x4075b7
jne 0x407ada
test dl, 1
jne 0x407852
mov dword [esp + 0x58], 0x20
jmp 0x407862
cmp dword [edi + 0x10], 1
mov dword [esp + 0x70], 0x10
jg 0x406f3e
xor eax, eax
cmp dword [edi + 0x14], 0
setne al
shl eax, 4
mov dword [esp + 0x70], eax
jmp 0x406f3e
add dword [esp + 0x48], 1
mov ebx, dword [esp + 0x78]
add dword [esp + 0x60], 1
mov dword [esp + 0x64], 1
jmp 0x407000