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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xa0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x24]
mov edx, dword [ebp + 8]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x80], esi
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x74], esi
mov ecx, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [esp + 0x64], eax
mov dword [esp + 0x84], edi
mov edi, eax
mov eax, esi
mov dword [esp + 0x70], edx
and eax, 0xffffffcf
mov dword [esp + 0x88], ecx
mov dword [edi], eax
mov eax, esi
and eax, 7
cmp eax, 3
je 0x6591ef90
mov ecx, esi
and ecx, 4
mov dword [esp + 0x60], ecx
jne 0x6591ef18
test eax, eax
je 0x6591ef58
mov ecx, dword [edx]
mov eax, 0x20
xor edx, edx
mov dword [esp + 0x7c], ecx
cmp ecx, 0x20
jle 0x6591ecf1
lea esi, [esi]
add eax, eax
add edx, 1
cmp ecx, eax
jg 0x6591ece8
mov dword [esp], edx
call sym.___Balloc_D2A
mov edx, dword [esp + 0x8c]
mov edi, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x48], edx
sub eax, 1
sar eax, 5
lea ecx, [eax*4]
mov dword [esp + 0x54], eax
lea eax, [edi + 0x14]
lea ebx, [edx + ecx]
add edx, 1
mov dword [esp + 0x58], ebx
add ebx, 1
cmp ebx, edx
setae byte [esp + 0x68]
movzx ebx, byte [esp + 0x68]
cmp ecx, 0xb
jbe 0x6591efc0
test bl, bl
je 0x6591efc0
mov ebx, dword [esp + 0x8c]
mov edx, eax
lea ecx, [ebx + 4]
sub edx, ecx
mov ecx, ebx
cmp edx, 8
ja 0x6591efe0
mov ebx, dword [esp + 0x58]
lea esi, [esi]
mov edx, dword [ecx]
add ecx, 4
add eax, 4
mov dword [eax - 4], edx
cmp ebx, ecx
jae 0x6591ed68
mov eax, dword [esp + 0x54]
cmp byte [esp + 0x68], 0
lea ebx, [eax*4 + 4]
mov eax, 4
cmove ebx, eax
sar ebx, 2
jmp 0x6591eda0
test ebx, ebx
je 0x6591efd0
mov eax, ebx
sub ebx, 1
mov edx, dword [edi + ebx*4 + 0x14]
test edx, edx
je 0x6591ed98
bsr edx, dword [edi + ebx*4 + 0x14]
mov dword [edi + 0x10], eax
shl eax, 5
xor edx, 0x1f
sub eax, edx
mov ebx, eax
mov dword [esp], edi
call sym.___trailz_D2A
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x44], ecx
test eax, eax
jne 0x6591f080
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x6591ef50
lea eax, [esp + 0x9c]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.___b2d_D2A
fstp qword [esp + 0x58]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
and edx, 0xfffff
or edx, 0x3ff00000
add eax, ebx
mov dword [esp + 0x6c], edx
fld qword [esp + 0x68]
mov dword [esp + 0x48], eax
fsub dword [0x65a2e018]
lea ecx, [eax - 1]
mov eax, 1
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x48]
fmul qword [str.aCoc]
fadd qword [0x65a2e028]
mov dword [esp + 0x54], ecx
sub eax, edx
fild dword [esp + 0x54]
test ecx, ecx
fmul qword [0x65a2e030]
cmovns eax, ecx
sub eax, 0x435
faddp st(1)
test eax, eax
jle 0x6591ee7c
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
fmul qword [0x65a2e038]
faddp st(1)
fld st(0)
fisttp dword [esp + 0x54]
fldz
fcompi st(1)
ja 0x6591f3d8
fstp st(0)
mov eax, ecx
mov edx, dword [esp + 0x58]
shl eax, 0x14
add eax, edx
mov dword [esp + 0x6c], eax
mov eax, ebx
sub eax, ecx
lea ecx, [eax - 1]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x54]
cmp ecx, 0x16
ja 0x6591f0a8
fld qword [esp + 0x68]
fld qword [ecx*8 + 0x65a2e0a0]
fcompi st(1)
fstp st(0)
ja 0x6591f440
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 0
test eax, eax
jg 0x6591eef8
mov edx, 1
mov dword [esp + 0x50], 0
sub edx, eax
mov dword [esp + 0x3c], edx
lea esi, [esi]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x34], 0
add dword [esp + 0x50], ecx
mov dword [esp + 0x38], ecx
jmp 0x6591f0fb
xor ebx, ebx
cmp eax, 4
jne 0x6591ef86
mov eax, dword [esp + 0x88]
mov dword [eax], 0xffff8000
mov dword [ebp + 0x10], 3
mov eax, dword [esp + 0x84]
mov dword [ebp + 8], 0x65a2e011
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 + 0x88]
mov dword [eax], 1
mov eax, dword [esp + 0x84]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x65a2e015
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 dword [ecx], 0xffff8000
mov dword [ebp + 0x10], 8
mov eax, dword [esp + 0x84]
mov dword [ebp + 8], 0x65a2e008
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 + 0x8c]
mov ebx, dword [esp + 0x58]
jmp 0x6591ed68
mov dword [edi + 0x10], 0
jmp 0x6591edbf
mov ecx, dword [esp + 0x54]
mov edx, ebx
mov dword [esp + 0x40], esi
and ecx, 0x3fffffff
lea ebx, [ecx + 1]
mov ecx, eax
mov dword [esp + 0x50], ebx
shr ebx, 2
shl ebx, 4
add ebx, edx
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x44]
lea esi, [esi]
movdqu xmm0, xmmword [edx]
add edx, 0x10
add ecx, 0x10
movups xmmword [ecx - 0x10], xmm0
cmp edx, esi
jne 0x6591f010
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x50]
mov edx, ebx
and edx, 0xfffffffc
shl edx, 2
add ecx, edx
add edx, eax
and ebx, 3
je 0x6591ed77
mov eax, dword [ecx]
mov ebx, dword [esp + 0x58]
mov dword [edx], eax
lea eax, [ecx + 4]
cmp ebx, eax
jb 0x6591ed77
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
lea eax, [ecx + 8]
cmp ebx, eax
jb 0x6591ed77
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
jmp 0x6591ed77
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.___rshift_D2A
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x78]
add ecx, eax
sub ebx, eax
mov dword [esp + 0x44], ecx
jmp 0x6591edde
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x50]
mov dword [esp + 0x3c], 0
test edx, edx
jns 0x6591f0d3
mov edx, 1
mov dword [esp + 0x50], 0
sub edx, eax
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x54]
test eax, eax
jns 0x6591eef8
mov eax, dword [esp + 0x54]
sub dword [esp + 0x3c], eax
mov dword [esp + 0x54], 0
mov ecx, eax
mov dword [esp + 0x38], eax
neg ecx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x80]
cmp eax, 9
ja 0x6591f350
cmp eax, 5
jg 0x6591f3f8
mov eax, dword [esp + 0x48]
add eax, 0x3fd
cmp eax, 0x7f7
mov eax, dword [esp + 0x80]
setbe byte [esp + 0x28]
cmp eax, 4
je 0x65920000
cmp eax, 5
je 0x6591ff82
mov dword [esp + 0x30], 0
cmp eax, 2
je 0x6591f7b8
cmp eax, 3
jne 0x6591f36e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x20], eax
add eax, 1
mov dword [esp + 0x58], eax
mov edx, eax
test eax, eax
jg 0x6591f17f
mov edx, 1
mov eax, 1
mov dword [esp], eax
mov dword [esp + 0x9c], edx
call sym.___rv_alloc_D2A
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0xc]
sub eax, 1
mov dword [esp + 0x48], eax
je 0x6591f1ca
mov ecx, dword [esp + 0x48]
mov eax, 2
test ecx, ecx
cmovns eax, ecx
and esi, 8
mov dword [esp + 0x48], eax
mov ecx, eax
je 0x6591f5b0
mov eax, 3
sub eax, ecx
mov dword [esp + 0x48], eax
mov esi, dword [esp + 0x58]
cmp esi, 0xe
setbe al
and al, byte [esp + 0x28]
mov byte [esp + 0x1f], al
je 0x6591f5b0
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x48]
jne 0x6591f5b0
mov eax, dword [esp + 0x24]
fld qword [esp + 0x68]
mov dword [esp + 0x9c], 0
test eax, eax
je 0x6591f211
fld1
fcompi st(1)
ja 0x65920145
fld st(0)
fadd st(1)
fadd dword [0x65a2e054]
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
sub eax, 0x3400000
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x6591f577
mov dword [esp + 0x28], 1
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
fld qword [esp + 0x48]
fld qword [esi*8 + 0x65a2e098]
test eax, eax
je 0x6591fcc7
fdivr dword [0x65a2e05c]
mov ecx, dword [esp + 0x40]
lea edx, [ecx + 1]
fsubrp st(1)
fxch st(1)
fld st(0)
fisttp dword [esp + 0x48]
fild dword [esp + 0x48]
movzx eax, byte [esp + 0x48]
add eax, 0x30
fsubp st(1)
fxch st(1)
mov byte [ecx], al
fcomi st(1)
jbe 0x6591f2e9
fstp st(0)
jmp 0x6592030a
mov eax, dword [esp + 0x9c]
add eax, 1
mov dword [esp + 0x9c], eax
cmp eax, esi
jge 0x6591f59b
fld dword [0x65a2e04c]
add edx, 1
fmul st(1), st(0)
fmulp st(2)
fxch st(1)
fld st(0)
fisttp dword [esp + 0x48]
fild dword [esp + 0x48]
movzx eax, byte [esp + 0x48]
add eax, 0x30
fsubp st(1)
fxch st(1)
mov byte [edx - 1], al
fcomi st(1)
ja 0x65920308
fld st(1)
fsubr dword [0x65a2e048]
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x6591f2a0
fstp st(0)
fstp st(0)
jmp 0x6591f30b
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x6591f30b
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x40]
jmp 0x6591f326
cmp ecx, ebx
je 0x65920244
movzx eax, byte [ecx - 1]
mov edx, ecx
lea ecx, [edx - 1]
cmp al, 0x39
je 0x6591f318
mov dword [esp + 0x40], ebx
add eax, 1
mov byte [ecx], al
mov dword [esp + 0x40], edx
mov dword [esp + 0x60], 0x20
jmp 0x6591f517
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x48]
add eax, 0x3fd
cmp eax, 0x7f7
setbe byte [esp + 0x28]
fild dword [esp + 0x7c]
fmul qword [0x65a2e040]
fisttp dword [esp + 0x74]
mov eax, dword [esp + 0x74]
add eax, 3
mov dword [esp], eax
mov dword [esp + 0x9c], eax
call sym.___rv_alloc_D2A
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x74], eax
sub eax, 1
mov dword [esp + 0x48], eax
je 0x6591f452
mov dword [esp + 0x74], 0
mov dword [esp + 0x30], 1
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
jmp 0x6591f1a2
fild dword [esp + 0x54]
fucompi st(1)
fstp st(0)
jp 0x6591f3e8
je 0x6591ee8e
sub dword [esp + 0x54], 1
jmp 0x6591ee8e
sub eax, 4
mov dword [esp + 0x80], eax
cmp eax, 4
je 0x6591f7ab
cmp eax, 5
je 0x6591ff70
mov dword [esp + 0x30], 0
mov byte [esp + 0x28], 0
cmp eax, 2
je 0x6591f7b8
mov dword [esp + 0x80], 3
jmp 0x6591f15a
sub dword [esp + 0x54], 1
mov dword [esp + 0x24], 0
jmp 0x6591f0b0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], 0
test eax, eax
js 0x659202de
mov dword [esp + 0x30], 1
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
nop
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x38]
cmp dword [esi + 0x14], eax
jl 0x6591f5bc
mov edx, dword [esp + 0x74]
fld qword [eax*8 + 0x65a2e0a0]
test edx, edx
jns 0x6591fd97
mov esi, dword [esp + 0x58]
test esi, esi
jg 0x6591fd97
jne 0x6591f7d9
fmul dword [0x65a2e058]
fld qword [esp + 0x68]
fxch st(1)
fcompi st(1)
fstp st(0)
jae 0x6591f7db
add eax, 2
mov dword [esp + 0x68], 0
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov dword [esp + 0x7c], 0
add dword [esp + 0x40], 1
mov byte [ebx], 0x31
mov dword [esp + 0x60], 0x20
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sym.___Bfree_D2A
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x6591f517
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call sym.___Bfree_D2A
mov dword [esp], edi
call sym.___Bfree_D2A
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov byte [eax], 0
mov dword [esi], edi
mov esi, dword [esp + 0x84]
test esi, esi
je 0x6591f540
mov dword [esi], eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
or dword [eax], esi
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
fld st(0)
fadd st(1)
fadd dword [0x65a2e054]
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
sub eax, 0x3400000
mov dword [esp + 0x4c], eax
fsub dword [0x65a2e058]
fld qword [esp + 0x48]
fxch st(1)
fcomi st(1)
ja 0x659201db
fxch st(1)
fchs
fcompi st(1)
fstp st(0)
ja 0x6591f7db
jmp 0x6591f5a3
fstp st(0)
fstp st(0)
jmp 0x6591f5a3
fstp st(0)
mov dword [esp + 0x48], 0
lea esi, [esi]
nop
mov ecx, dword [esp + 0x44]
test ecx, ecx
jns 0x6591f480
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6591f810
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x44]
sub eax, ebx
lea edx, [eax + 1]
sub esi, eax
mov dword [esp + 0x9c], edx
cmp esi, ecx
jge 0x6591fca0
mov edx, dword [esp + 0x80]
lea eax, [edx - 3]
and eax, 0xfffffffd
je 0x6591fc60
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
sub eax, ecx
cmp edx, 1
setg dl
test esi, esi
lea ecx, [eax + 1]
setg al
mov dword [esp + 0x9c], ecx
test dl, al
je 0x6591f62b
cmp ecx, esi
jg 0x65920459
mov eax, dword [esp + 0x34]
add dword [esp + 0x50], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
mov esi, eax
add eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp], 1
call sym.___i2b_D2A
mov dword [esp + 0x30], 1
mov dword [esp + 0x7c], eax
test esi, esi
jle 0x6591f681
mov ecx, dword [esp + 0x50]
test ecx, ecx
jle 0x6591f681
cmp esi, ecx
mov eax, ecx
cmovle eax, esi
sub dword [esp + 0x3c], eax
sub ecx, eax
mov dword [esp + 0x9c], eax
sub esi, eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x6591f6af
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x6591f69d
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x6591ff29
mov eax, dword [esp + 0x34]
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 + 0x68], eax
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x6591faa0
cmp dword [esp + 0x80], 1
jle 0x6591fc20
mov ebx, 0x1f
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
sub ebx, eax
sub ebx, 4
and ebx, 0x1f
add edx, ebx
mov dword [esp + 0x9c], ebx
mov eax, ebx
test edx, edx
jle 0x6591f712
mov dword [esp], edi
mov dword [esp + 4], edx
call sym.___lshift_D2A
mov edi, eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x50]
add ecx, eax
test ecx, ecx
jle 0x6591f730
mov eax, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.___lshift_D2A
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x80], 2
setg dl
test eax, eax
jne 0x6591fae0
mov eax, dword [esp + 0x58]
test eax, eax
jg 0x6591f830
test dl, dl
je 0x6591f830
mov ebx, dword [esp + 0x58]
test ebx, ebx
jne 0x6591f7eb
mov eax, dword [esp + 0x68]
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 + 0x68], eax
call sym.___cmp_D2A
test eax, eax
jle 0x6591f7eb
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
add eax, 2
mov dword [esp + 0x28], eax
jmp 0x6591f4e7
mov byte [esp + 0x28], 0
mov dword [esp + 0x30], 1
mov edx, dword [esp + 0x74]
mov eax, 1
test edx, edx
cmovg eax, edx
mov dword [esp + 0x20], eax
mov edx, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x74], eax
jmp 0x6591f17f
fstp st(0)
mov dword [esp + 0x68], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x60], 0x10
neg eax
mov dword [esp + 0x28], eax
jmp 0x6591f4f7
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x68], eax
jmp 0x6591f65b
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
add eax, 1
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x6591fb60
add ebx, esi
test ebx, ebx
jle 0x6591f861
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.___lshift_D2A
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x78], eax
test edx, edx
jne 0x65920193
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, 1
jmp 0x6591f965
mov dword [esp], edx
call sym.___Bfree_D2A
mov eax, 1
test ebx, ebx
js 0x6592003b
or ebx, dword [esp + 0x80]
jne 0x6591f8be
mov ebx, dword [esp + 0x8c]
test byte [ebx], 1
je 0x6592003b
mov esi, dword [esp + 0x74]
add esi, 1
mov ebx, esi
test eax, eax
jle 0x6591f8d6
cmp dword [esp + 0x48], 2
jne 0x65920200
movzx eax, byte [esp + 0x70]
mov byte [esi - 1], al
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x9c], eax
je 0x6592022f
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call sym.___multadd_D2A
mov ebx, dword [esp + 0x78]
cmp dword [esp + 0x7c], ebx
mov dword [esp + 8], 0
mov edi, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], 0xa
mov dword [esp], eax
je 0x6591fa88
call sym.___multadd_D2A
mov dword [esp + 8], 0
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], 0xa
mov dword [esp], eax
call sym.___multadd_D2A
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x74], esi
add eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x68]
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 + 0x70], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
call sym.___cmp_D2A
mov ecx, dword [esp + 0x78]
mov ebx, eax
mov eax, dword [esp + 0x68]
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 0x6591f890
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 0x50], edx
call sym.___cmp_D2A
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov dword [esp], edx
call sym.___Bfree_D2A
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x80]
or eax, edx
jne 0x6591fe60
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx]
mov edx, ecx
mov dword [esp + 0x54], ecx
and edx, 1
or edx, dword [esp + 0x48]
jne 0x6591f89d
mov edx, dword [esp + 0x70]
cmp edx, 0x39
je 0x6592048c
test ebx, ebx
jle 0x65920519
mov dword [esp + 0x60], 0x20
lea edx, [esi + 0x31]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov byte [eax], dl
lea esi, [eax + 1]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
lea esi, [esi]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x8c], ecx
mov dword [esp], eax
call sym.___Bfree_D2A
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x6591fe97
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x6591fa76
cmp ecx, eax
je 0x6591fa76
mov dword [esp], ecx
call sym.___Bfree_D2A
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x40], esi
jmp 0x6591f50b
call sym.___multadd_D2A
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
jmp 0x6591f957
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sym.___pow5mult_D2A
cmp dword [esp + 0x80], 1
mov dword [esp + 0x68], eax
jle 0x6591fedc
mov dword [esp + 0x54], 0
mov ebx, eax
mov eax, dword [ebx + 0x10]
bsr ebx, dword [ebx + eax*4 + 0x10]
xor ebx, 0x1f
jmp 0x6591f6de
mov eax, dword [esp + 0x68]
mov dword [esp], edi
mov byte [esp + 0x78], dl
mov dword [esp + 4], eax
call sym.___cmp_D2A
movzx edx, byte [esp + 0x78]
test eax, eax
jns 0x6591f747
mov dword [esp], edi
mov eax, dword [esp + 0x38]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
sub eax, 1
mov dword [esp + 0x70], eax
call sym.___multadd_D2A
movzx edx, byte [esp + 0x78]
mov edi, eax
mov eax, dword [esp + 0x20]
test eax, eax
setle al
and edx, eax
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x6592039c
test dl, dl
jne 0x659202f3
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
lea esi, [esi]
mov esi, edi
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x58]
mov eax, 1
jmp 0x6591fb9c
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 + 0x9c]
add eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x68]
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 + 0x9c], edi
jl 0x6591fb78
mov edx, eax
mov edi, esi
xor ecx, ecx
mov esi, dword [esp + 0x48]
test esi, esi
je 0x6591ff8f
mov eax, dword [edi + 0x10]
cmp esi, 2
je 0x6591ffe0
cmp eax, 1
jg 0x6591fe69
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x6591fe69
test eax, eax
setne al
movzx eax, al
shl eax, 4
mov dword [esp + 0x60], eax
lea esi, [esi]
lea esi, [esi]
mov esi, ebx
sub ebx, 1
cmp byte [ebx], 0x30
je 0x6591fc10
jmp 0x6591fa40
cmp ebx, 1
jne 0x6591f6d9
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x78]
mov eax, dword [eax + 4]
add eax, 1
cmp eax, ebx
jge 0x6591f6d9
add dword [esp + 0x3c], 1
add dword [esp + 0x50], 1
mov dword [esp + 0x54], 1
jmp 0x6591f6d9
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
lea eax, [ecx - 1]
cmp esi, eax
jl 0x6591fea4
sub esi, eax
mov eax, ecx
mov dword [esp + 0x68], esi
test ecx, ecx
jns 0x659203e2
mov dword [esp + 0x9c], 0
mov esi, dword [esp + 0x3c]
sub esi, ecx
jmp 0x6591f643
cmp dword [esp + 0x80], 1
jg 0x6591fc60
mov eax, dword [esp + 0x34]
add dword [esp + 0x50], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
mov esi, eax
add eax, edx
mov dword [esp + 0x3c], eax
jmp 0x6591f643
fmulp st(1)
mov dword [esp + 0x48], edi
mov edx, dword [esp + 0x40]
mov ecx, 1
movzx edi, byte [esp + 0x1f]
xor eax, eax
fld st(1)
jmp 0x6591fd11
lea eax, [ecx + 0x30]
fild dword [esp + 0x7c]
add edx, 1
mov byte [edx - 1], al
mov ecx, dword [esp + 0x9c]
fsubp st(1)
cmp ecx, esi
je 0x659202d1
fmul dword [0x65a2e04c]
add ecx, 1
mov eax, edi
mov dword [esp + 0x9c], ecx
fld st(0)
fisttp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x6591fce8
mov byte [edx], 0x30
mov ecx, dword [esp + 0x9c]
add edx, 1
cmp ecx, esi
jne 0x6591fd06
mov ecx, eax
mov edi, dword [esp + 0x48]
mov eax, 0x30
test cl, cl
fcmove st(0), st(2)
fstp st(2)
fxch st(1)
fld dword [0x65a2e05c]
fld st(2)
fadd st(1)
fxch st(2)
fcomi st(2)
fstp st(2)
ja 0x6591f2ff
fsubrp st(2)
fxch st(1)
fcompi st(1)
ja 0x659203fe
fstp st(0)
mov eax, dword [esp + 0x44]
test eax, eax
js 0x6592037b
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 0x14]
test esi, esi
js 0x6592037b
fld qword [0x65a2e0a0]
mov dword [esp + 0x48], 0
fld qword [esp + 0x68]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x9c], 1
lea edx, [esi + 1]
fld st(0)
fdiv st(2)
fisttp dword [esp + 0x8c]
fild dword [esp + 0x8c]
movzx eax, byte [esp + 0x8c]
add eax, 0x30
fmul st(2)
mov byte [esi], al
mov eax, dword [esp + 0x38]
add eax, 1
mov dword [esp + 0x28], eax
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x6591fe00
lea esi, [esi]
jne 0x6591fe00
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x40], edx
jmp 0x6591f517
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0x58]
cmp eax, esi
je 0x6592000d
fmul dword [0x65a2e04c]
add eax, 1
add edx, 1
mov dword [esp + 0x9c], eax
fld st(0)
fdiv st(2)
fisttp dword [esp + 0x8c]
fild dword [esp + 0x8c]
movzx eax, byte [esp + 0x8c]
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 0x6591fde8
jmp 0x6591fe00
mov eax, dword [esp + 0x54]
jmp 0x6591f89d
mov edx, dword [esp + 0x40]
jmp 0x6591fe78
cmp ebx, edx
je 0x6591ff10
mov esi, ebx
lea ebx, [ebx - 1]
movzx eax, byte [esi - 1]
cmp al, 0x39
je 0x6591fe70
add eax, 1
mov dword [esp + 0x60], 0x20
mov byte [ebx], al
jmp 0x6591fa40
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x40], esi
jmp 0x6591f517
mov esi, dword [esp + 0x34]
mov edx, eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x68], 0
add dword [esp + 0x50], ecx
sub edx, esi
add dword [esp + 0x54], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x9c], ecx
mov esi, edx
add edx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
jmp 0x6591f643
cmp ebx, 1
jne 0x6591fac6
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
add eax, 1
cmp dword [esp + 0x78], eax
jg 0x65920540
xor edx, edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x54], edx
jmp 0x6591fad0
mov eax, dword [esp + 0x40]
add dword [esp + 0x28], 1
mov dword [esp + 0x60], 0x20
mov byte [eax], 0x31
jmp 0x6591fa40
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.___pow5mult_D2A
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 0x7c], eax
call sym.___mult_D2A
mov dword [esp], edi
mov dword [esp + 0x44], eax
call sym.___Bfree_D2A
mov eax, dword [esp + 0x68]
sub dword [esp + 0x34], eax
mov edi, dword [esp + 0x44]
je 0x6591f6af
jmp 0x6591f69d
mov byte [esp + 0x28], 0
mov dword [esp + 0x30], 1
jmp 0x6591f15a
mov dword [esp + 0x30], 1
jmp 0x6591f15a
mov dword [esp], edi
mov dword [esp + 4], 1
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x80], edx
call sym.___lshift_D2A
mov edi, eax
mov eax, dword [esp + 0x68]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.___cmp_D2A
mov ecx, dword [esp + 0x8c]
test eax, eax
jg 0x6591fe69
jne 0x6591ffe0
mov edx, dword [esp + 0x80]
and edx, 1
jne 0x6591fe69
cmp dword [edi + 0x10], 1
mov dword [esp + 0x60], 0x10
jg 0x6591fc10
mov eax, dword [edi + 0x14]
jmp 0x6591fbf7
mov dword [esp + 0x30], 1
jmp 0x6591f7b8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x65920331
fstp st(0)
fstp st(0)
cmp eax, 1
je 0x65920421
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x60], 0x10
mov dword [esp + 0x40], edx
jmp 0x6591f517
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x70]
test ebx, ebx
je 0x65920257
cmp dword [edi + 0x10], 1
jle 0x6592042e
cmp dword [esp + 0x48], 2
je 0x659202b1
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x8c], edx
jmp 0x659200ee
movzx eax, byte [esp + 0x8c]
mov dword [esp + 0x7c], 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 + 0x80], eax
call sym.___multadd_D2A
mov edi, eax
mov eax, dword [esp + 0x68]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.___quorem_D2A
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
add eax, 0x30
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.___cmp_D2A
mov edx, dword [esp + 0x74]
lea ecx, [edx + 1]
test eax, eax
jg 0x65920078
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x7c], esi
mov eax, esi
mov esi, ecx
mov dword [esp + 0x78], ebx
cmp edx, 0x39
je 0x65920493
mov dword [esp + 0x7c], ebx
add edx, 1
mov ecx, eax
mov dword [esp + 0x60], 0x20
mov eax, dword [esp + 0x74]
mov byte [eax], dl
jmp 0x6591fa40
test esi, esi
je 0x6591f554
mov esi, dword [esp + 0x20]
test esi, esi
jle 0x6591f5a1
fmul dword [0x65a2e04c]
fld st(0)
fmul dword [0x65a2e050]
fadd dword [0x65a2e054]
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
sub eax, 0x3400000
mov dword [esp + 0x4c], eax
jmp 0x6591f24c
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 + 0x78], eax
jmp 0x6591f875
fstp st(0)
fstp st(0)
mov dword [esp + 0x28], 2
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x68], 0
mov dword [esp + 0x7c], 0
jmp 0x6591f4e7
mov edx, dword [esp + 0x70]
cmp edx, 0x39
je 0x65920493
mov eax, dword [esp + 0x74]
add edx, 1
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x60], 0x20
mov byte [eax], dl
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
jmp 0x6591fa40
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
jmp 0x6591fbcb
add dword [esp + 0x28], 1
mov eax, 0x31
mov dword [esp + 0x40], ebx
jmp 0x6591f334
test eax, eax
jle 0x659202a7
mov dword [esp], edi
mov dword [esp + 4], 1
mov dword [esp + 0x8c], edx
call sym.___lshift_D2A
mov edi, eax
mov eax, dword [esp + 0x68]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.___cmp_D2A
mov edx, dword [esp + 0x8c]
test eax, eax
jle 0x659204d8
cmp edx, 0x39
je 0x659204f0
mov dword [esp + 0x48], 0x20
lea edx, [esi + 0x31]
cmp dword [edi + 0x10], 1
jle 0x659204b1
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x60], 0x10
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x74]
lea esi, [eax + 1]
jmp 0x6592013a
fstp st(2)
fxch st(1)
mov edi, dword [esp + 0x48]
jmp 0x6591fd4a
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
jmp 0x6591f5c8
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
jmp 0x6591f75b
fstp st(0)
fldz
xor eax, eax
mov ecx, 1
mov ebx, dword [esp + 0x40]
fucompi st(1)
fstp st(0)
mov dword [esp + 0x40], edx
setp al
cmovne eax, ecx
shl eax, 4
mov dword [esp + 0x60], eax
jmp 0x6591f517
fadd st(0)
movzx eax, byte [edx - 1]
fcomi st(1)
ja 0x6591f307
fucompi st(1)
fstp st(0)
mov ebx, dword [esp + 0x40]
jp 0x65920359
jne 0x65920359
test byte [esp + 0x8c], 1
jne 0x6591f326
mov dword [esp + 0x60], 0x10
lea esi, [esi]
mov eax, edx
sub edx, 1
cmp byte [edx], 0x30
je 0x65920368
mov dword [esp + 0x40], eax
jmp 0x6591f517
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x68], eax
jmp 0x6591f65b
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
mov dword [esp], eax
mov byte [esp + 0x78], dl
call sym.___multadd_D2A
movzx edx, byte [esp + 0x78]
mov dword [esp + 0x7c], eax
test dl, dl
jne 0x659202f3
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
jmp 0x6591f847
add dword [esp + 0x50], ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov esi, ecx
mov dword [esp + 0x3c], eax
jmp 0x6591f643
fldz
xor eax, eax
mov ecx, 1
mov ebx, dword [esp + 0x40]
fucompi st(1)
fstp st(0)
setp al
cmovne eax, ecx
shl eax, 4
mov dword [esp + 0x60], eax
jmp 0x65920368
movzx eax, byte [edx - 1]
mov ebx, dword [esp + 0x40]
jmp 0x6591f326
mov ecx, dword [edi + 0x14]
test ecx, ecx
jne 0x65920055
test eax, eax
jg 0x6592025b
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x74]
lea esi, [eax + 1]
jmp 0x6592013a
mov ecx, dword [esp + 0x34]
lea eax, [esi - 1]
cmp ecx, eax
jl 0x6591fea4
mov edx, dword [esp + 0x3c]
sub ecx, eax
mov eax, esi
add dword [esp + 0x50], esi
mov dword [esp + 0x9c], esi
add eax, edx
mov dword [esp + 0x68], ecx
mov esi, edx
mov dword [esp + 0x3c], eax
jmp 0x6591f643
mov eax, dword [esp + 0x74]
lea esi, [eax + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
mov ebx, esi
mov byte [eax], 0x39
jmp 0x6591fe78
mov ebx, dword [edi + 0x14]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
test ebx, ebx
mov dword [esp + 0x7c], eax
je 0x65920505
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], 0x10
lea esi, [eax + 1]
jmp 0x6592013a
jne 0x659204e3
test dl, 1
jne 0x65920293
mov dword [esp + 0x48], 0x20
jmp 0x659202a7
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x74]
lea esi, [eax + 1]
jmp 0x6592049f
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
lea esi, [eax + 1]
jmp 0x6592013a
cmp dword [edi + 0x10], 1
mov dword [esp + 0x60], 0x10
jg 0x6591fa27
xor eax, eax
cmp dword [edi + 0x14], 0
setne al
shl eax, 4
mov dword [esp + 0x60], eax
jmp 0x6591fa27
add dword [esp + 0x3c], 1
mov ebx, dword [esp + 0x68]
add dword [esp + 0x50], 1
mov dword [esp + 0x54], 1
jmp 0x6591fad0