Function at 0x1400041e0
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 0x140004283
mov r12d, r14d
and r12d, 4
jne 0x140004272
test eax, eax
je 0x1400043b4
mov ebp, dword [rcx]
mov eax, 0x20
xor ecx, ecx
jmp 0x1400042df
cmp eax, 4
je 0x1400042a2
xor edi, edi
mov qword [rsp + 0x28], rdi
jmp 0x14000511a
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov r8d, 8
lea rcx, str.Infinity
mov dword [rax], 0xffff8000
jmp 0x1400042bf
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov r8d, 3
lea rcx, [0x1400085c9]
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 0x1400042e9
add eax, eax
inc ecx
jmp 0x1400042df
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 0x140004304
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 0x140004357
dec rax
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x14000433e
xor esi, esi
mov dword [rbx + 0x14], esi
jmp 0x140004371
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 0x1400043a6
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 0x1400043e0
mov rcx, rbx
call sym.__Bfree_D2A
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov r8d, 1
lea rcx, [0x1400085cd]
mov dword [rax], 1
call sym.__nrv_alloc_D2A
mov qword [rsp + 0x28], rax
jmp 0x14000511a
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 [0x1400085e8]
or ecx, 0x3ff00000
mov r8, rcx
shl r8, 0x20
or r10, r8
mov r8d, edx
movq xmm0, r10
subsd xmm0, qword [0x1400085d0]
mulsd xmm0, qword [0x1400085d8]
addsd xmm0, qword [0x1400085e0]
addsd xmm0, xmm1
test edx, edx
jns 0x140004466
mov r8d, 1
sub r8d, eax
sub r8d, 0x435
test r8d, r8d
jle 0x140004483
cvtsi2sd xmm1, r8d
mulsd xmm1, qword [0x1400085f0]
addsd xmm0, xmm1
xorps xmm1, xmm1
cvttsd2si esi, xmm0
comisd xmm1, xmm0
jbe 0x14000449e
cvtsi2sd xmm1, esi
ucomisd xmm1, xmm0
jp 0x14000449c
je 0x14000449e
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 0x1400044e6
mov r8, qword [0x1400088c0]
movsxd rcx, esi
movsd xmm0, qword [r8 + rcx*8]
comisd xmm0, xmm6
jbe 0x1400044de
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 0x14000450f
mov edx, 1
sub edx, ecx
xor ecx, ecx
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x48], ecx
test esi, esi
js 0x140004520
add dword [rsp + 0x48], esi
xor r15d, r15d
mov dword [rsp + 0x64], esi
jmp 0x140004530
xor edx, edx
sub dword [rsp + 0x44], esi
mov r15d, esi
mov dword [rsp + 0x64], edx
neg r15d
cmp dword [rsp + 0x34], 9
ja 0x140004548
cmp dword [rsp + 0x34], 5
jle 0x14000454e
sub dword [rsp + 0x34], 4
xor r8d, r8d
jmp 0x14000455f
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 0x1400045ba
cmp dword [rsp + 0x34], 5
je 0x1400045e2
cmp dword [rsp + 0x34], 2
mov dword [rsp + 0x40], 0
je 0x1400045c2
cmp dword [rsp + 0x34], 3
je 0x1400045ea
cvtsi2sd xmm0, ebp
xor r11d, r11d
mov dword [rsp + 0x40], 1
or edi, 0xffffffff
mulsd xmm0, qword [0x1400085f8]
mov dword [rsp + 0x54], r11d
mov dword [rsp + 0x50], 0xffffffff
cvttsd2si eax, xmm0
add eax, 3
mov dword [rsp + 0x9c], eax
jmp 0x140004608
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 0x140004608
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 0x14000466c
mov eax, 2
cmovns eax, dword [rsp + 0x38]
and r14d, 8
mov dword [rsp + 0x38], eax
je 0x14000466c
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 0x1400048ae
mov eax, dword [rsp + 0x38]
or eax, esi
mov dword [rsp + 0x3c], eax
jne 0x1400048ae
xor r8d, r8d
cmp dword [rsp + 0x78], 0
movaps xmm0, xmm6
mov dword [rsp + 0x9c], r8d
je 0x1400046dd
movsd xmm1, qword [0x140008600]
comisd xmm1, xmm6
jbe 0x1400046dd
test edi, edi
je 0x1400046e1
cmp dword [rsp + 0x50], 0
jle 0x1400048ae
mulsd xmm0, qword [0x140008608]
mov eax, dword [rsp + 0x50]
mov ecx, 3
mov dword [rsp + 0x3c], 0xffffffff
movq r10, xmm0
jmp 0x1400046e8
mov eax, edi
jmp 0x1400046e3
xor eax, eax
mov ecx, 2
cvtsi2sd xmm1, ecx
movq xmm0, r10
mulsd xmm1, xmm0
addsd xmm1, qword [0x140008610]
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 0x14000474a
subsd xmm0, qword [0x140008618]
movq xmm1, rcx
comisd xmm0, xmm1
ja 0x140004cbb
xorps xmm1, xmmword [0x140008620]
comisd xmm1, xmm0
ja 0x1400048ef
jmp 0x1400048ae
mov r8, qword [0x1400088c0]
movq xmm1, rcx
lea ecx, [rax - 1]
cmp dword [rsp + 0x40], 0
movsxd rcx, ecx
movsd xmm3, qword [r8 + rcx*8]
je 0x140004801
movsd xmm2, qword [0x140008630]
mov r14, qword [rsp + 0x28]
divsd xmm2, xmm3
movsd xmm3, qword [0x140008600]
subsd xmm2, xmm1
movsd xmm1, qword [0x140008608]
cvttsd2si edx, xmm0
inc r14
cvtsi2sd xmm4, edx
add edx, 0x30
mov byte [r14 - 1], dl
subsd xmm0, xmm4
comisd xmm2, xmm0
jbe 0x1400047cd
xorps xmm1, xmm1
xor eax, eax
mov edx, 1
ucomisd xmm0, xmm1
setp al
cmovne eax, edx
shl eax, 4
mov r12d, eax
jmp 0x1400050e6
movaps xmm4, xmm3
subsd xmm4, xmm0
comisd xmm2, xmm4
ja 0x140004983
mov ecx, dword [rsp + 0x9c]
lea edx, [rcx + 1]
mov dword [rsp + 0x9c], edx
cmp edx, eax
jge 0x1400048ae
mulsd xmm2, xmm1
mulsd xmm0, xmm1
jmp 0x140004792
mulsd xmm1, xmm3
mov r14, qword [rsp + 0x28]
mov ecx, 1
xor r8d, r8d
movsd xmm2, qword [0x140008608]
mov dword [rsp + 0x9c], ecx
cvttsd2si ecx, xmm0
test ecx, ecx
je 0x140004834
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 0x1400048a0
movsd xmm2, qword [0x140008630]
movq rax, xmm0
test r8b, r8b
movaps xmm3, xmm1
cmovne r10, rax
addsd xmm3, xmm2
movq xmm0, r10
comisd xmm0, xmm3
ja 0x140004983
subsd xmm2, xmm1
comisd xmm2, xmm0
jbe 0x1400048ae
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 0x1400049b9
mulsd xmm0, xmm2
inc ecx
mov r8d, edx
jmp 0x14000481a
test r9d, r9d
js 0x1400049de
cmp dword [r13 + 0x14], esi
jl 0x1400049de
mov rdx, qword [0x1400088c0]
movsxd rax, esi
cmp dword [rsp + 0x54], 0
movsd xmm0, qword [rdx + rax*8]
jns 0x1400048fd
test edi, edi
jg 0x1400048fd
jne 0x1400048ef
mulsd xmm0, qword [0x140008618]
comisd xmm0, xmm6
jb 0x140004cb7
xor ecx, ecx
xor ebp, ebp
mov qword [rsp + 0x20], rcx
jmp 0x140004c9b
mov r14, qword [rsp + 0x28]
movsd xmm2, qword [0x140008608]
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 0x140004945
je 0x1400050ea
mov eax, dword [rsp + 0x9c]
cmp eax, edi
jne 0x1400049cc
cmp dword [rsp + 0x38], 0
je 0x14000496a
cmp dword [rsp + 0x38], 1
mov r12d, 0x10
jne 0x1400050ea
jmp 0x140004987
addsd xmm6, xmm6
comisd xmm6, xmm0
ja 0x140004987
ucomisd xmm6, xmm0
jp 0x1400049b3
jne 0x1400049b3
and dl, 1
je 0x1400049b3
jmp 0x140004987
mov esi, dword [rsp + 0x3c]
mov rax, r14
mov r14, rax
dec rax
cmp byte [rax], 0x39
jne 0x1400049a6
cmp qword [rsp + 0x28], rax
jne 0x14000498a
mov rdi, qword [rsp + 0x28]
inc esi
mov byte [rdi], 0x30
inc byte [rax]
mov r12d, 0x20
jmp 0x1400050ea
mov r12d, 0x10
mov rax, r14
mov r14, rax
dec rax
cmp byte [rax], 0x30
je 0x1400049bc
jmp 0x1400050ea
mulsd xmm6, xmm2
inc eax
mov dword [rsp + 0x9c], eax
jmp 0x140004918
cmp dword [rsp + 0x40], 0
je 0x140004aa9
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 0x140004a3b
mov eax, dword [rsp + 0x34]
sub eax, 3
and eax, 0xfffffffd
jne 0x140004a1e
lea eax, [rdi - 1]
cmp r15d, eax
jge 0x140004a47
jmp 0x140004a53
sub r9d, edx
inc r9d
cmp r9d, edi
mov dword [rsp + 0x9c], r9d
setg dl
test edi, edi
setg al
test dl, al
je 0x140004a42
cmp dword [rsp + 0x34], 1
jg 0x140004a14
mov r8d, r15d
jmp 0x140004a69
mov r8d, r15d
sub r8d, eax
test edi, edi
js 0x140004a70
jmp 0x140004a62
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 0x140004a81
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 0x140004ab3
mov r14d, dword [rsp + 0x44]
mov r8d, r15d
xor ebp, ebp
test r14d, r14d
jle 0x140004adc
cmp dword [rsp + 0x48], 0
jle 0x140004adc
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 0x140004b3a
cmp dword [rsp + 0x40], 0
je 0x140004b2c
test r8d, r8d
je 0x140004b22
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 0x140004b3a
jmp 0x140004b2f
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 0x140004b61
mov edx, dword [rsp + 0x64]
mov rcx, rax
call sym.__pow5mult_D2A
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x60], 1
jne 0x140004b90
cmp dword [rsp + 0x34], 1
jg 0x140004b90
mov eax, dword [r13 + 4]
mov ecx, dword [rsp + 0x7c]
xor r15d, r15d
inc eax
cmp eax, ecx
jge 0x140004b93
inc dword [rsp + 0x44]
mov r15d, 1
inc dword [rsp + 0x48]
jmp 0x140004b93
xor r15d, r15d
cmp dword [rsp + 0x64], 0
mov r13d, 0x1f
je 0x140004bbf
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 0x140004bec
mov rcx, rbx
call sym.__lshift_D2A
mov rbx, rax
mov edx, dword [rsp + 0x48]
add edx, dword [rsp + 0x9c]
test edx, edx
jle 0x140004c0a
mov rcx, qword [rsp + 0x20]
call sym.__lshift_D2A
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x78], 0
je 0x140004c22
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
call sym.__cmp_D2A
test eax, eax
js 0x140004c2c
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x50], edi
jmp 0x140004c60
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 0x140004c60
mov rcx, rbp
xor r8d, r8d
mov edx, 0xa
call sym.__multadd_D2A
mov rbp, rax
cmp dword [rsp + 0x50], 0
jg 0x140004cdb
cmp dword [rsp + 0x34], 2
jle 0x140004cdb
cmp dword [rsp + 0x50], 0
jne 0x140004c9b
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 0x140004cc4
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x28]
xor esi, esi
mov r12d, 0x10
not eax
mov dword [rsp + 0x3c], eax
jmp 0x1400050bd
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 0x140004f50
cmp dword [rsp + 0x40], 0
je 0x140004fcd
lea edx, [r13 + r14]
test edx, edx
jle 0x140004cfa
mov rcx, rbp
call sym.__lshift_D2A
mov rbp, rax
mov rax, rbp
test r15d, r15d
je 0x140004d30
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 0x140004d98
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 0x140004dfd
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
and eax, 1
or eax, dword [rsp + 0x38]
jne 0x140004dfd
cmp r15d, 0x39
je 0x140004f38
test edi, edi
jg 0x140004def
cmp dword [rbx + 0x14], 1
mov r12d, 0x10
jg 0x140004f15
xor eax, eax
cmp dword [rbx + 0x18], 0
setne al
shl eax, 4
mov r12d, eax
jmp 0x140004f15
mov r15d, dword [rsp + 0x44]
add r15d, 0x31
jmp 0x140004eac
test edi, edi
js 0x140004e19
or edi, dword [rsp + 0x34]
jne 0x140004f22
mov rax, qword [rsp + 0x58]
test byte [rax], 1
jne 0x140004f22
cmp dword [rsp + 0x38], 0
je 0x140004eb4
cmp dword [rbx + 0x14], 1
jg 0x140004e34
cmp dword [rbx + 0x18], 0
je 0x140004eb4
cmp dword [rsp + 0x38], 2
je 0x140004f0f
mov rcx, qword [rsp + 0x20]
mov rdx, rbp
lea r12, [r13 + 1]
call sym.__cmp_D2A
test eax, eax
jle 0x140004e9f
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 0x140004e3f
cmp r15d, 0x39
je 0x140004f38
inc r15d
mov r12d, 0x20
jmp 0x140004f15
test r14d, r14d
jle 0x140004efa
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 0x140004ee5
jne 0x140004ef4
test r15d, 1
je 0x140004ef4
cmp r15d, 0x39
je 0x140004f38
mov r15d, dword [rsp + 0x44]
add r15d, 0x31
mov r12d, 0x20
cmp dword [rbx + 0x14], 1
jg 0x140004f0f
cmp dword [rbx + 0x18], 0
mov eax, 0x10
cmovne r12d, eax
jmp 0x140004f15
mov r12d, 0x10
mov byte [r13], r15b
lea r14, [r13 + 1]
jmp 0x1400050bd
lea rdi, [r13 + 1]
test r14d, r14d
jle 0x140004f5b
cmp dword [rsp + 0x38], 2
je 0x140004f5b
cmp r15d, 0x39
jne 0x140004f46
mov byte [r13], 0x39
lea rdi, [r13 + 1]
jmp 0x140005067
inc r15d
mov r14, rdi
mov byte [r13], r15b
mov r12d, 0x20
jmp 0x1400050bd
mov byte [rdi - 1], r15b
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x9c], eax
je 0x140005023
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 0x140004fa0
call sym.__multadd_D2A
mov rsi, rax
mov rbp, rax
jmp 0x140004fbb
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 0x140004d3f
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 0x140005021
mov rcx, rbx
xor r8d, r8d
mov edx, 0xa
call sym.__multadd_D2A
mov rbx, rax
mov eax, dword [rsp + 0x9c]
inc eax
jmp 0x140004fd7
xor esi, esi
cmp dword [rsp + 0x38], 0
je 0x14000503e
cmp dword [rsp + 0x38], 2
mov eax, dword [rbx + 0x14]
je 0x140005097
dec eax
jg 0x140005067
cmp dword [rbx + 0x18], 0
jmp 0x140005065
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 0x140005067
jne 0x140005097
and r15d, 1
je 0x140005097
mov r14, rdi
lea rdi, [rdi - 1]
mov al, byte [r14 - 1]
cmp al, 0x39
jne 0x14000508e
cmp qword [rsp + 0x28], rdi
jne 0x140005067
mov rax, qword [rsp + 0x28]
inc dword [rsp + 0x3c]
mov byte [rax], 0x31
jmp 0x140004f50
inc eax
mov byte [rdi], al
jmp 0x140004f50
cmp dword [rbx + 0x14], 1
mov r12d, 0x10
jg 0x1400050b2
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 0x1400050b2
mov rcx, qword [rsp + 0x20]
call sym.__Bfree_D2A
test rbp, rbp
je 0x1400050e6
test rsi, rsi
je 0x1400050de
cmp rsi, rbp
je 0x1400050de
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 0x14000510f
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