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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov eax, dword [rsp + 0x120]
mov r14d, dword [r9]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x128]
mov r13, rcx
mov dword [rsp + 0x7c], edx
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x80], r9
mov qword [rsp + 0x68], rax
mov eax, r14d
and eax, 0xffffffcf
mov dword [r9], eax
mov eax, r14d
and eax, 7
cmp eax, 3
je 0x1400040d3
mov r12d, r14d
and r12d, 4
jne 0x1400040c2
test eax, eax
je 0x140004204
mov ebp, dword [rcx]
mov eax, 0x20
xor ecx, ecx
jmp 0x14000412f
cmp eax, 4
je 0x1400040f2
xor edi, edi
mov qword [rsp + 0x28], rdi
jmp 0x140004f6a
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov r8d, 8
lea rcx, str.Infinity
mov dword [rax], 0xffff8000
jmp 0x14000410f
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov r8d, 3
lea rcx, [0x140008969]
mov dword [rax], 0xffff8000
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.__nrv_alloc_D2A
cmp ebp, eax
jle 0x140004139
add eax, eax
inc ecx
jmp 0x14000412f
call sym.__Balloc_D2A
mov rsi, qword [rsp + 0x58]
xor edx, edx
mov rbx, rax
lea eax, [rbp - 1]
sar eax, 5
cdqe
lea rcx, [rsi + rax*4]
mov rsi, qword [rsp + 0x58]
mov r8d, dword [rsi + rdx]
mov dword [rbx + rdx + 0x18], r8d
add rdx, 4
lea r8, [rsi + rdx]
cmp rcx, r8
jae 0x140004154
lea rdx, [rsi + 1]
inc rcx
lea rax, [rax*4 + 4]
cmp rcx, rdx
mov edx, 4
cmovb rax, rdx
sar rax, 2
cmp dword [rbx + rax*4 + 0x14], 0
jne 0x1400041a7
dec rax
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x14000418e
xor esi, esi
mov dword [rbx + 0x14], esi
jmp 0x1400041c1
lea edx, [rax - 1]
mov dword [rbx + 0x14], eax
shl eax, 5
movsxd rdx, edx
bsr edx, dword [rbx + rdx*4 + 0x18]
xor edx, 0x1f
sub eax, edx
mov dword [rsp + 0x60], eax
mov rcx, rbx
call sym.__trailz_D2A
mov r9d, dword [rsp + 0x7c]
mov dword [rsp + 0x9c], eax
mov edx, eax
test eax, eax
je 0x1400041f6
mov rcx, rbx
call sym.__rshift_D2A
mov eax, dword [rsp + 0x9c]
sub dword [rsp + 0x60], eax
mov edi, dword [rsp + 0x7c]
lea r9d, [rax + rdi]
cmp dword [rbx + 0x14], 0
jne 0x140004230
mov rcx, rbx
call sym.__Bfree_D2A
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov r8d, 1
lea rcx, [0x14000896d]
mov dword [rax], 1
call sym.__nrv_alloc_D2A
mov qword [rsp + 0x28], rax
jmp 0x140004f6a
lea rdx, [rsp + 0x9c]
mov rcx, rbx
mov dword [rsp + 0x20], r9d
call sym.__b2d_D2A
mov eax, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x20]
movq r10, xmm0
mov rcx, r10
add eax, r9d
mov r10d, r10d
shr rcx, 0x20
lea edx, [rax - 1]
and ecx, 0xfffff
cvtsi2sd xmm1, edx
mulsd xmm1, qword [0x140008988]
or ecx, 0x3ff00000
mov r8, rcx
shl r8, 0x20
or r10, r8
mov r8d, edx
movq xmm0, r10
subsd xmm0, qword [0x140008970]
mulsd xmm0, qword [0x140008978]
addsd xmm0, qword [0x140008980]
addsd xmm0, xmm1
test edx, edx
jns 0x1400042b6
mov r8d, 1
sub r8d, eax
sub r8d, 0x435
test r8d, r8d
jle 0x1400042d3
cvtsi2sd xmm1, r8d
mulsd xmm1, qword [0x140008990]
addsd xmm0, xmm1
xorps xmm1, xmm1
cvttsd2si esi, xmm0
comisd xmm1, xmm0
jbe 0x1400042ee
cvtsi2sd xmm1, esi
ucomisd xmm1, xmm0
jp 0x1400042ec
je 0x1400042ee
dec esi
mov r8d, edx
mov r10d, r10d
mov dword [rsp + 0x78], 1
shl r8d, 0x14
add ecx, r8d
mov ecx, ecx
shl rcx, 0x20
or r10, rcx
movq xmm6, r10
cmp esi, 0x16
ja 0x140004336
mov r8, qword [0x140008c50]
movsxd rcx, esi
movsd xmm0, qword [r8 + rcx*8]
comisd xmm0, xmm6
jbe 0x14000432e
dec esi
xor r11d, r11d
mov dword [rsp + 0x78], r11d
mov ecx, dword [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x44], r8d
sub ecx, edx
mov edi, ecx
dec edi
mov dword [rsp + 0x48], edi
jns 0x14000435f
mov edx, 1
sub edx, ecx
xor ecx, ecx
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x48], ecx
test esi, esi
js 0x140004370
add dword [rsp + 0x48], esi
xor r15d, r15d
mov dword [rsp + 0x64], esi
jmp 0x140004380
xor edx, edx
sub dword [rsp + 0x44], esi
mov r15d, esi
mov dword [rsp + 0x64], edx
neg r15d
cmp dword [rsp + 0x34], 9
ja 0x140004398
cmp dword [rsp + 0x34], 5
jle 0x14000439e
sub dword [rsp + 0x34], 4
xor r8d, r8d
jmp 0x1400043af
xor edi, edi
mov dword [rsp + 0x34], edi
add eax, 0x3fd
xor r8d, r8d
cmp eax, 0x7f7
setbe r8b
cmp dword [rsp + 0x34], 4
je 0x14000440a
cmp dword [rsp + 0x34], 5
je 0x140004432
cmp dword [rsp + 0x34], 2
mov dword [rsp + 0x40], 0
je 0x140004412
cmp dword [rsp + 0x34], 3
je 0x14000443a
cvtsi2sd xmm0, ebp
xor r11d, r11d
mov dword [rsp + 0x40], 1
or edi, 0xffffffff
mulsd xmm0, qword [0x140008998]
mov dword [rsp + 0x54], r11d
mov dword [rsp + 0x50], 0xffffffff
cvttsd2si eax, xmm0
add eax, 3
mov dword [rsp + 0x9c], eax
jmp 0x140004458
mov dword [rsp + 0x40], 1
cmp dword [rsp + 0x54], 0
mov edi, 1
cmovg edi, dword [rsp + 0x54]
mov dword [rsp + 0x9c], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x54], edi
jmp 0x140004458
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x54]
add eax, esi
lea edi, [rax + 1]
mov dword [rsp + 0x50], eax
mov eax, 1
test edi, edi
cmovg eax, edi
mov dword [rsp + 0x9c], eax
mov ecx, dword [rsp + 0x9c]
mov qword [rsp + 0x88], r10
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x20], r9d
call sym.__rv_alloc_D2A
mov r9d, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov eax, dword [r13 + 0xc]
mov r10, qword [rsp + 0x88]
dec eax
mov dword [rsp + 0x38], eax
je 0x1400044bc
mov eax, 2
cmovns eax, dword [rsp + 0x38]
and r14d, 8
mov dword [rsp + 0x38], eax
je 0x1400044bc
mov ecx, dword [rsp + 0x38]
mov eax, 3
sub eax, ecx
mov dword [rsp + 0x38], eax
cmp edi, 0xe
setbe dl
and dl, r8b
je 0x1400046fe
mov eax, dword [rsp + 0x38]
or eax, esi
mov dword [rsp + 0x3c], eax
jne 0x1400046fe
xor r8d, r8d
cmp dword [rsp + 0x78], 0
movaps xmm0, xmm6
mov dword [rsp + 0x9c], r8d
je 0x14000452d
movsd xmm1, qword [0x1400089a0]
comisd xmm1, xmm6
jbe 0x14000452d
test edi, edi
je 0x140004531
cmp dword [rsp + 0x50], 0
jle 0x1400046fe
mulsd xmm0, qword [0x1400089a8]
mov eax, dword [rsp + 0x50]
mov ecx, 3
mov dword [rsp + 0x3c], 0xffffffff
movq r10, xmm0
jmp 0x140004538
mov eax, edi
jmp 0x140004533
xor eax, eax
mov ecx, 2
cvtsi2sd xmm1, ecx
movq xmm0, r10
mulsd xmm1, xmm0
addsd xmm1, qword [0x1400089b0]
movq rcx, xmm1
mov r8, rcx
mov ecx, ecx
shr r8, 0x20
sub r8d, 0x3400000
shl r8, 0x20
or rcx, r8
test eax, eax
jne 0x14000459a
subsd xmm0, qword [0x1400089b8]
movq xmm1, rcx
comisd xmm0, xmm1
ja 0x140004b0b
xorps xmm1, xmmword [0x1400089c0]
comisd xmm1, xmm0
ja 0x14000473f
jmp 0x1400046fe
mov r8, qword [0x140008c50]
movq xmm1, rcx
lea ecx, [rax - 1]
cmp dword [rsp + 0x40], 0
movsxd rcx, ecx
movsd xmm3, qword [r8 + rcx*8]
je 0x140004651
movsd xmm2, qword [0x1400089d0]
mov r14, qword [rsp + 0x28]
divsd xmm2, xmm3
movsd xmm3, qword [0x1400089a0]
subsd xmm2, xmm1
movsd xmm1, qword [0x1400089a8]
cvttsd2si edx, xmm0
inc r14
cvtsi2sd xmm4, edx
add edx, 0x30
mov byte [r14 - 1], dl
subsd xmm0, xmm4
comisd xmm2, xmm0
jbe 0x14000461d
xorps xmm1, xmm1
xor eax, eax
mov edx, 1
ucomisd xmm0, xmm1
setp al
cmovne eax, edx
shl eax, 4
mov r12d, eax
jmp 0x140004f36
movaps xmm4, xmm3
subsd xmm4, xmm0
comisd xmm2, xmm4
ja 0x1400047d3
mov ecx, dword [rsp + 0x9c]
lea edx, [rcx + 1]
mov dword [rsp + 0x9c], edx
cmp edx, eax
jge 0x1400046fe
mulsd xmm2, xmm1
mulsd xmm0, xmm1
jmp 0x1400045e2
mulsd xmm1, xmm3
mov r14, qword [rsp + 0x28]
mov ecx, 1
xor r8d, r8d
movsd xmm2, qword [0x1400089a8]
mov dword [rsp + 0x9c], ecx
cvttsd2si ecx, xmm0
test ecx, ecx
je 0x140004684
cvtsi2sd xmm3, ecx
mov r8d, edx
subsd xmm0, xmm3
add ecx, 0x30
inc r14
mov byte [r14 - 1], cl
mov ecx, dword [rsp + 0x9c]
cmp ecx, eax
jne 0x1400046f0
movsd xmm2, qword [0x1400089d0]
movq rax, xmm0
test r8b, r8b
movaps xmm3, xmm1
cmovne r10, rax
addsd xmm3, xmm2
movq xmm0, r10
comisd xmm0, xmm3
ja 0x1400047d3
subsd xmm2, xmm1
comisd xmm2, xmm0
jbe 0x1400046fe
xorps xmm1, xmm1
xor eax, eax
mov edx, 1
mov esi, dword [rsp + 0x3c]
ucomisd xmm0, xmm1
setp al
cmovne eax, edx
shl eax, 4
mov r12d, eax
jmp 0x140004809
mulsd xmm0, xmm2
inc ecx
mov r8d, edx
jmp 0x14000466a
test r9d, r9d
js 0x14000482e
cmp dword [r13 + 0x14], esi
jl 0x14000482e
mov rdx, qword [0x140008c50]
movsxd rax, esi
cmp dword [rsp + 0x54], 0
movsd xmm0, qword [rdx + rax*8]
jns 0x14000474d
test edi, edi
jg 0x14000474d
jne 0x14000473f
mulsd xmm0, qword [0x1400089b8]
comisd xmm0, xmm6
jb 0x140004b07
xor ecx, ecx
xor ebp, ebp
mov qword [rsp + 0x20], rcx
jmp 0x140004aeb
mov r14, qword [rsp + 0x28]
movsd xmm2, qword [0x1400089a8]
xorps xmm3, xmm3
mov dword [rsp + 0x9c], 1
movaps xmm1, xmm6
inc r14
divsd xmm1, xmm0
cvttsd2si edx, xmm1
cvtsi2sd xmm1, edx
lea eax, [rdx + 0x30]
mov byte [r14 - 1], al
mulsd xmm1, xmm0
subsd xmm6, xmm1
ucomisd xmm6, xmm3
jp 0x140004795
je 0x140004f3a
mov eax, dword [rsp + 0x9c]
cmp eax, edi
jne 0x14000481c
cmp dword [rsp + 0x38], 0
je 0x1400047ba
cmp dword [rsp + 0x38], 1
mov r12d, 0x10
jne 0x140004f3a
jmp 0x1400047d7
addsd xmm6, xmm6
comisd xmm6, xmm0
ja 0x1400047d7
ucomisd xmm6, xmm0
jp 0x140004803
jne 0x140004803
and dl, 1
je 0x140004803
jmp 0x1400047d7
mov esi, dword [rsp + 0x3c]
mov rax, r14
mov r14, rax
dec rax
cmp byte [rax], 0x39
jne 0x1400047f6
cmp qword [rsp + 0x28], rax
jne 0x1400047da
mov rdi, qword [rsp + 0x28]
inc esi
mov byte [rdi], 0x30
inc byte [rax]
mov r12d, 0x20
jmp 0x140004f3a
mov r12d, 0x10
mov rax, r14
mov r14, rax
dec rax
cmp byte [rax], 0x30
je 0x14000480c
jmp 0x140004f3a
mulsd xmm6, xmm2
inc eax
mov dword [rsp + 0x9c], eax
jmp 0x140004768
cmp dword [rsp + 0x40], 0
je 0x1400048f9
mov ecx, dword [rsp + 0x60]
mov eax, ebp
sub eax, ecx
mov ecx, r9d
lea edx, [rax + 1]
sub ecx, eax
mov dword [rsp + 0x9c], edx
mov edx, dword [r13 + 4]
cmp ecx, edx
jge 0x14000488b
mov eax, dword [rsp + 0x34]
sub eax, 3
and eax, 0xfffffffd
jne 0x14000486e
lea eax, [rdi - 1]
cmp r15d, eax
jge 0x140004897
jmp 0x1400048a3
sub r9d, edx
inc r9d
cmp r9d, edi
mov dword [rsp + 0x9c], r9d
setg dl
test edi, edi
setg al
test dl, al
je 0x140004892
cmp dword [rsp + 0x34], 1
jg 0x140004864
mov r8d, r15d
jmp 0x1400048b9
mov r8d, r15d
sub r8d, eax
test edi, edi
js 0x1400048c0
jmp 0x1400048b2
mov edx, eax
xor r8d, r8d
sub edx, r15d
add dword [rsp + 0x64], edx
mov r15d, eax
mov dword [rsp + 0x9c], edi
mov r14d, dword [rsp + 0x44]
jmp 0x1400048d1
xor edx, edx
mov r14d, dword [rsp + 0x44]
mov dword [rsp + 0x9c], edx
sub r14d, edi
mov ecx, 1
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x20], r8d
add dword [rsp + 0x44], eax
add dword [rsp + 0x48], eax
call sym.__i2b_D2A
mov r8d, dword [rsp + 0x20]
mov rbp, rax
jmp 0x140004903
mov r14d, dword [rsp + 0x44]
mov r8d, r15d
xor ebp, ebp
test r14d, r14d
jle 0x14000492c
cmp dword [rsp + 0x48], 0
jle 0x14000492c
mov eax, dword [rsp + 0x48]
cmp r14d, eax
cmovle eax, r14d
sub dword [rsp + 0x44], eax
sub dword [rsp + 0x48], eax
mov dword [rsp + 0x9c], eax
sub r14d, eax
test r15d, r15d
je 0x14000498a
cmp dword [rsp + 0x40], 0
je 0x14000497c
test r8d, r8d
je 0x140004972
mov edx, r8d
mov rcx, rbp
mov dword [rsp + 0x3c], r8d
call sym.__pow5mult_D2A
mov rdx, rbx
mov rcx, rax
mov rbp, rax
call sym.__mult_D2A
mov rcx, rbx
mov qword [rsp + 0x20], rax
call sym.__Bfree_D2A
mov rbx, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x3c]
mov edx, r15d
sub edx, r8d
je 0x14000498a
jmp 0x14000497f
mov edx, r15d
mov rcx, rbx
call sym.__pow5mult_D2A
mov rbx, rax
mov ecx, 1
call sym.__i2b_D2A
cmp dword [rsp + 0x64], 0
mov qword [rsp + 0x20], rax
je 0x1400049b1
mov edx, dword [rsp + 0x64]
mov rcx, rax
call sym.__pow5mult_D2A
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x60], 1
jne 0x1400049e0
cmp dword [rsp + 0x34], 1
jg 0x1400049e0
mov eax, dword [r13 + 4]
mov ecx, dword [rsp + 0x7c]
xor r15d, r15d
inc eax
cmp eax, ecx
jge 0x1400049e3
inc dword [rsp + 0x44]
mov r15d, 1
inc dword [rsp + 0x48]
jmp 0x1400049e3
xor r15d, r15d
cmp dword [rsp + 0x64], 0
mov r13d, 0x1f
je 0x140004a0f
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x3c], eax
dec eax
cdqe
bsr r13d, dword [rdx + rax*4 + 0x18]
xor r13d, 0x1f
mov eax, dword [rsp + 0x48]
mov edx, dword [rsp + 0x44]
sub r13d, eax
sub r13d, 4
and r13d, 0x1f
add edx, r13d
mov dword [rsp + 0x9c], r13d
test edx, edx
jle 0x140004a3c
mov rcx, rbx
call sym.__lshift_D2A
mov rbx, rax
mov edx, dword [rsp + 0x48]
add edx, dword [rsp + 0x9c]
test edx, edx
jle 0x140004a5a
mov rcx, qword [rsp + 0x20]
call sym.__lshift_D2A
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x78], 0
je 0x140004a72
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
call sym.__cmp_D2A
test eax, eax
js 0x140004a7c
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x50], edi
jmp 0x140004ab0
lea eax, [rsi - 1]
xor r8d, r8d
mov rcx, rbx
mov edx, 0xa
mov dword [rsp + 0x3c], eax
call sym.__multadd_D2A
cmp dword [rsp + 0x40], 0
mov rbx, rax
je 0x140004ab0
mov rcx, rbp
xor r8d, r8d
mov edx, 0xa
call sym.__multadd_D2A
mov rbp, rax
cmp dword [rsp + 0x50], 0
jg 0x140004b2b
cmp dword [rsp + 0x34], 2
jle 0x140004b2b
cmp dword [rsp + 0x50], 0
jne 0x140004aeb
mov rcx, qword [rsp + 0x20]
xor r8d, r8d
mov edx, 5
call sym.__multadd_D2A
mov rcx, rbx
mov rdx, rax
mov qword [rsp + 0x20], rax
call sym.__cmp_D2A
test eax, eax
jg 0x140004b14
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x28]
xor esi, esi
mov r12d, 0x10
not eax
mov dword [rsp + 0x3c], eax
jmp 0x140004f0d
mov dword [rsp + 0x3c], esi
xor eax, eax
xor ebp, ebp
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
inc dword [rsp + 0x3c]
xor esi, esi
mov byte [rax], 0x31
lea r14, [rax + 1]
jmp 0x140004da0
cmp dword [rsp + 0x40], 0
je 0x140004e1d
lea edx, [r13 + r14]
test edx, edx
jle 0x140004b4a
mov rcx, rbp
call sym.__lshift_D2A
mov rbp, rax
mov rax, rbp
test r15d, r15d
je 0x140004b80
mov ecx, dword [rbp + 8]
lea rsi, [rbp + 0x10]
call sym.__Balloc_D2A
movsxd rcx, dword [rbp + 0x14]
lea rdx, [rax + 0x10]
mov rdi, rdx
lea rcx, [rcx*4 + 8]
mov edx, 1
rep movsb byte [rdi], byte [rsi]
mov rcx, rax
call sym.__lshift_D2A
mov edx, dword [rsp + 0x40]
mov r13, qword [rsp + 0x28]
mov rsi, rbp
mov rbp, rax
mov dword [rsp + 0x9c], edx
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
call sym.__quorem_D2A
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x44], eax
lea r15d, [rax + 0x30]
call sym.__cmp_D2A
mov rcx, qword [rsp + 0x20]
mov rdx, rbp
mov edi, eax
call sym.__diff_D2A
mov r14d, dword [rsp + 0x40]
cmp dword [rax + 0x10], 0
mov rdx, rax
jne 0x140004be8
mov rcx, rbx
mov qword [rsp + 0x48], rax
call sym.__cmp_D2A
mov rdx, qword [rsp + 0x48]
mov r14d, eax
mov rcx, rdx
call sym.__Bfree_D2A
mov eax, dword [rsp + 0x34]
or eax, r14d
jne 0x140004c4d
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
and eax, 1
or eax, dword [rsp + 0x38]
jne 0x140004c4d
cmp r15d, 0x39
je 0x140004d88
test edi, edi
jg 0x140004c3f
cmp dword [rbx + 0x14], 1
mov r12d, 0x10
jg 0x140004d65
xor eax, eax
cmp dword [rbx + 0x18], 0
setne al
shl eax, 4
mov r12d, eax
jmp 0x140004d65
mov r15d, dword [rsp + 0x44]
add r15d, 0x31
jmp 0x140004cfc
test edi, edi
js 0x140004c69
or edi, dword [rsp + 0x34]
jne 0x140004d72
mov rax, qword [rsp + 0x58]
test byte [rax], 1
jne 0x140004d72
cmp dword [rsp + 0x38], 0
je 0x140004d04
cmp dword [rbx + 0x14], 1
jg 0x140004c84
cmp dword [rbx + 0x18], 0
je 0x140004d04
cmp dword [rsp + 0x38], 2
je 0x140004d5f
mov rcx, qword [rsp + 0x20]
mov rdx, rbp
lea r12, [r13 + 1]
call sym.__cmp_D2A
test eax, eax
jle 0x140004cef
mov byte [r12 - 1], r15b
xor r8d, r8d
mov rcx, rbp
mov edx, 0xa
mov r13, r12
call sym.__multadd_D2A
cmp rsi, rbp
mov rcx, rbx
mov edx, 0xa
cmove rsi, rax
xor r8d, r8d
mov rdi, rax
call sym.__multadd_D2A
mov rdx, qword [rsp + 0x20]
mov rbp, rdi
mov rcx, rax
mov rbx, rax
call sym.__quorem_D2A
lea r15d, [rax + 0x30]
jmp 0x140004c8f
cmp r15d, 0x39
je 0x140004d88
inc r15d
mov r12d, 0x20
jmp 0x140004d65
test r14d, r14d
jle 0x140004d4a
mov rcx, rbx
mov edx, 1
call sym.__lshift_D2A
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call sym.__cmp_D2A
test eax, eax
jg 0x140004d35
jne 0x140004d44
test r15d, 1
je 0x140004d44
cmp r15d, 0x39
je 0x140004d88
mov r15d, dword [rsp + 0x44]
add r15d, 0x31
mov r12d, 0x20
cmp dword [rbx + 0x14], 1
jg 0x140004d5f
cmp dword [rbx + 0x18], 0
mov eax, 0x10
cmovne r12d, eax
jmp 0x140004d65
mov r12d, 0x10
mov byte [r13], r15b
lea r14, [r13 + 1]
jmp 0x140004f0d
lea rdi, [r13 + 1]
test r14d, r14d
jle 0x140004dab
cmp dword [rsp + 0x38], 2
je 0x140004dab
cmp r15d, 0x39
jne 0x140004d96
mov byte [r13], 0x39
lea rdi, [r13 + 1]
jmp 0x140004eb7
inc r15d
mov r14, rdi
mov byte [r13], r15b
mov r12d, 0x20
jmp 0x140004f0d
mov byte [rdi - 1], r15b
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x9c], eax
je 0x140004e73
mov rcx, rbx
xor r8d, r8d
mov edx, 0xa
call sym.__multadd_D2A
xor r8d, r8d
mov edx, 0xa
mov rcx, rsi
mov rbx, rax
cmp rsi, rbp
jne 0x140004df0
call sym.__multadd_D2A
mov rsi, rax
mov rbp, rax
jmp 0x140004e0b
call sym.__multadd_D2A
mov rcx, rbp
xor r8d, r8d
mov edx, 0xa
mov rsi, rax
call sym.__multadd_D2A
mov rbp, rax
mov eax, dword [rsp + 0x9c]
mov r13, rdi
lea edx, [rax + 1]
jmp 0x140004b8f
mov rdi, qword [rsp + 0x28]
mov eax, 1
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x9c], eax
inc rdi
call sym.__quorem_D2A
lea r15d, [rax + 0x30]
mov eax, dword [rsp + 0x50]
mov byte [rdi - 1], r15b
cmp dword [rsp + 0x9c], eax
jge 0x140004e71
mov rcx, rbx
xor r8d, r8d
mov edx, 0xa
call sym.__multadd_D2A
mov rbx, rax
mov eax, dword [rsp + 0x9c]
inc eax
jmp 0x140004e27
xor esi, esi
cmp dword [rsp + 0x38], 0
je 0x140004e8e
cmp dword [rsp + 0x38], 2
mov eax, dword [rbx + 0x14]
je 0x140004ee7
dec eax
jg 0x140004eb7
cmp dword [rbx + 0x18], 0
jmp 0x140004eb5
mov rcx, rbx
mov edx, 1
call sym.__lshift_D2A
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call sym.__cmp_D2A
test eax, eax
jg 0x140004eb7
jne 0x140004ee7
and r15d, 1
je 0x140004ee7
mov r14, rdi
lea rdi, [rdi - 1]
mov al, byte [r14 - 1]
cmp al, 0x39
jne 0x140004ede
cmp qword [rsp + 0x28], rdi
jne 0x140004eb7
mov rax, qword [rsp + 0x28]
inc dword [rsp + 0x3c]
mov byte [rax], 0x31
jmp 0x140004da0
inc eax
mov byte [rdi], al
jmp 0x140004da0
cmp dword [rbx + 0x14], 1
mov r12d, 0x10
jg 0x140004f02
xor eax, eax
cmp dword [rbx + 0x18], 0
setne al
shl eax, 4
mov r12d, eax
mov r14, rdi
dec rdi
cmp byte [rdi], 0x30
je 0x140004f02
mov rcx, qword [rsp + 0x20]
call sym.__Bfree_D2A
test rbp, rbp
je 0x140004f36
test rsi, rsi
je 0x140004f2e
cmp rsi, rbp
je 0x140004f2e
mov rcx, rsi
call sym.__Bfree_D2A
mov rcx, rbp
call sym.__Bfree_D2A
mov esi, dword [rsp + 0x3c]
mov rcx, rbx
inc esi
call sym.__Bfree_D2A
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x68], 0
mov byte [r14], 0
mov dword [rax], esi
je 0x140004f5f
mov rax, qword [rsp + 0x68]
mov qword [rax], r14
mov rax, qword [rsp + 0x80]
or dword [rax], r12d
mov rax, qword [rsp + 0x28]
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret