Function at 0x140004560
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 0x140004603
mov r12d, r14d
and r12d, 4
jne 0x1400045f2
test eax, eax
je 0x140004734
mov ebp, dword [rcx]
mov eax, 0x20
xor ecx, ecx
jmp 0x14000465f
cmp eax, 4
je 0x140004622
xor edi, edi
mov qword [rsp + 0x28], rdi
jmp 0x14000549a
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov r8d, 8
lea rcx, str.Infinity
mov dword [rax], 0xffff8000
jmp 0x14000463f
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov r8d, 3
lea rcx, [0x140010a09]
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 fcn.1400043cc
cmp ebp, eax
jle 0x140004669
add eax, eax
inc ecx
jmp 0x14000465f
call fcn.1400056e3
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 0x140004684
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 0x1400046d7
dec rax
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x1400046be
xor esi, esi
mov dword [rbx + 0x14], esi
jmp 0x1400046f1
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 fcn.1400055ab
mov r9d, dword [rsp + 0x7c]
mov dword [rsp + 0x9c], eax
mov edx, eax
test eax, eax
je 0x140004726
mov rcx, rbx
call fcn.1400054c0
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 0x140004760
mov rcx, rbx
call fcn.140005797
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov r8d, 1
lea rcx, [0x140010a0d]
mov dword [rax], 1
call fcn.1400043cc
mov qword [rsp + 0x28], rax
jmp 0x14000549a
lea rdx, [rsp + 0x9c]
mov rcx, rbx
mov dword [rsp + 0x20], r9d
call fcn.140005d51
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 [0x140010a28]
or ecx, 0x3ff00000
mov r8, rcx
shl r8, 0x20
or r10, r8
mov r8d, edx
movq xmm0, r10
subsd xmm0, qword [0x140010a10]
mulsd xmm0, qword [0x140010a18]
addsd xmm0, qword [0x140010a20]
addsd xmm0, xmm1
test edx, edx
jns 0x1400047e6
mov r8d, 1
sub r8d, eax
sub r8d, 0x435
test r8d, r8d
jle 0x140004803
cvtsi2sd xmm1, r8d
mulsd xmm1, qword [0x140010a30]
addsd xmm0, xmm1
xorps xmm1, xmm1
cvttsd2si esi, xmm0
comisd xmm1, xmm0
jbe 0x14000481e
cvtsi2sd xmm1, esi
ucomisd xmm1, xmm0
jp 0x14000481c
je 0x14000481e
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 0x140004866
mov r8, qword [0x140010ef0]
movsxd rcx, esi
movsd xmm0, qword [r8 + rcx*8]
comisd xmm0, xmm6
jbe 0x14000485e
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 0x14000488f
mov edx, 1
sub edx, ecx
xor ecx, ecx
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x48], ecx
test esi, esi
js 0x1400048a0
add dword [rsp + 0x48], esi
xor r15d, r15d
mov dword [rsp + 0x64], esi
jmp 0x1400048b0
xor edx, edx
sub dword [rsp + 0x44], esi
mov r15d, esi
mov dword [rsp + 0x64], edx
neg r15d
cmp dword [rsp + 0x34], 9
ja 0x1400048c8
cmp dword [rsp + 0x34], 5
jle 0x1400048ce
sub dword [rsp + 0x34], 4
xor r8d, r8d
jmp 0x1400048df
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 0x14000493a
cmp dword [rsp + 0x34], 5
je 0x140004962
cmp dword [rsp + 0x34], 2
mov dword [rsp + 0x40], 0
je 0x140004942
cmp dword [rsp + 0x34], 3
je 0x14000496a
cvtsi2sd xmm0, ebp
xor r11d, r11d
mov dword [rsp + 0x40], 1
or edi, 0xffffffff
mulsd xmm0, qword [0x140010a38]
mov dword [rsp + 0x54], r11d
mov dword [rsp + 0x50], 0xffffffff
cvttsd2si eax, xmm0
add eax, 3
mov dword [rsp + 0x9c], eax
jmp 0x140004988
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 0x140004988
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 fcn.1400043a0
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 0x1400049ec
mov eax, 2
cmovns eax, dword [rsp + 0x38]
and r14d, 8
mov dword [rsp + 0x38], eax
je 0x1400049ec
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 0x140004c2e
mov eax, dword [rsp + 0x38]
or eax, esi
mov dword [rsp + 0x3c], eax
jne 0x140004c2e
xor r8d, r8d
cmp dword [rsp + 0x78], 0
movaps xmm0, xmm6
mov dword [rsp + 0x9c], r8d
je 0x140004a5d
movsd xmm1, qword [0x140010a40]
comisd xmm1, xmm6
jbe 0x140004a5d
test edi, edi
je 0x140004a61
cmp dword [rsp + 0x50], 0
jle 0x140004c2e
mulsd xmm0, qword [0x140010a48]
mov eax, dword [rsp + 0x50]
mov ecx, 3
mov dword [rsp + 0x3c], 0xffffffff
movq r10, xmm0
jmp 0x140004a68
mov eax, edi
jmp 0x140004a63
xor eax, eax
mov ecx, 2
cvtsi2sd xmm1, ecx
movq xmm0, r10
mulsd xmm1, xmm0
addsd xmm1, qword [0x140010a50]
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 0x140004aca
subsd xmm0, qword [0x140010a58]
movq xmm1, rcx
comisd xmm0, xmm1
ja 0x14000503b
xorps xmm1, xmmword [0x140010a60]
comisd xmm1, xmm0
ja 0x140004c6f
jmp 0x140004c2e
mov r8, qword [0x140010ef0]
movq xmm1, rcx
lea ecx, [rax - 1]
cmp dword [rsp + 0x40], 0
movsxd rcx, ecx
movsd xmm3, qword [r8 + rcx*8]
je 0x140004b81
movsd xmm2, qword [0x140010a70]
mov r14, qword [rsp + 0x28]
divsd xmm2, xmm3
movsd xmm3, qword [0x140010a40]
subsd xmm2, xmm1
movsd xmm1, qword [0x140010a48]
cvttsd2si edx, xmm0
inc r14
cvtsi2sd xmm4, edx
add edx, 0x30
mov byte [r14 - 1], dl
subsd xmm0, xmm4
comisd xmm2, xmm0
jbe 0x140004b4d
xorps xmm1, xmm1
xor eax, eax
mov edx, 1
ucomisd xmm0, xmm1
setp al
cmovne eax, edx
shl eax, 4
mov r12d, eax
jmp 0x140005466
movaps xmm4, xmm3
subsd xmm4, xmm0
comisd xmm2, xmm4
ja 0x140004d03
mov ecx, dword [rsp + 0x9c]
lea edx, [rcx + 1]
mov dword [rsp + 0x9c], edx
cmp edx, eax
jge 0x140004c2e
mulsd xmm2, xmm1
mulsd xmm0, xmm1
jmp 0x140004b12
mulsd xmm1, xmm3
mov r14, qword [rsp + 0x28]
mov ecx, 1
xor r8d, r8d
movsd xmm2, qword [0x140010a48]
mov dword [rsp + 0x9c], ecx
cvttsd2si ecx, xmm0
test ecx, ecx
je 0x140004bb4
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 0x140004c20
movsd xmm2, qword [0x140010a70]
movq rax, xmm0
test r8b, r8b
movaps xmm3, xmm1
cmovne r10, rax
addsd xmm3, xmm2
movq xmm0, r10
comisd xmm0, xmm3
ja 0x140004d03
subsd xmm2, xmm1
comisd xmm2, xmm0
jbe 0x140004c2e
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 0x140004d39
mulsd xmm0, xmm2
inc ecx
mov r8d, edx
jmp 0x140004b9a
test r9d, r9d
js 0x140004d5e
cmp dword [r13 + 0x14], esi
jl 0x140004d5e
mov rdx, qword [0x140010ef0]
movsxd rax, esi
cmp dword [rsp + 0x54], 0
movsd xmm0, qword [rdx + rax*8]
jns 0x140004c7d
test edi, edi
jg 0x140004c7d
jne 0x140004c6f
mulsd xmm0, qword [0x140010a58]
comisd xmm0, xmm6
jb 0x140005037
xor ecx, ecx
xor ebp, ebp
mov qword [rsp + 0x20], rcx
jmp 0x14000501b
mov r14, qword [rsp + 0x28]
movsd xmm2, qword [0x140010a48]
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 0x140004cc5
je 0x14000546a
mov eax, dword [rsp + 0x9c]
cmp eax, edi
jne 0x140004d4c
cmp dword [rsp + 0x38], 0
je 0x140004cea
cmp dword [rsp + 0x38], 1
mov r12d, 0x10
jne 0x14000546a
jmp 0x140004d07
addsd xmm6, xmm6
comisd xmm6, xmm0
ja 0x140004d07
ucomisd xmm6, xmm0
jp 0x140004d33
jne 0x140004d33
and dl, 1
je 0x140004d33
jmp 0x140004d07
mov esi, dword [rsp + 0x3c]
mov rax, r14
mov r14, rax
dec rax
cmp byte [rax], 0x39
jne 0x140004d26
cmp qword [rsp + 0x28], rax
jne 0x140004d0a
mov rdi, qword [rsp + 0x28]
inc esi
mov byte [rdi], 0x30
inc byte [rax]
mov r12d, 0x20
jmp 0x14000546a
mov r12d, 0x10
mov rax, r14
mov r14, rax
dec rax
cmp byte [rax], 0x30
je 0x140004d3c
jmp 0x14000546a
mulsd xmm6, xmm2
inc eax
mov dword [rsp + 0x9c], eax
jmp 0x140004c98
cmp dword [rsp + 0x40], 0
je 0x140004e29
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 0x140004dbb
mov eax, dword [rsp + 0x34]
sub eax, 3
and eax, 0xfffffffd
jne 0x140004d9e
lea eax, [rdi - 1]
cmp r15d, eax
jge 0x140004dc7
jmp 0x140004dd3
sub r9d, edx
inc r9d
cmp r9d, edi
mov dword [rsp + 0x9c], r9d
setg dl
test edi, edi
setg al
test dl, al
je 0x140004dc2
cmp dword [rsp + 0x34], 1
jg 0x140004d94
mov r8d, r15d
jmp 0x140004de9
mov r8d, r15d
sub r8d, eax
test edi, edi
js 0x140004df0
jmp 0x140004de2
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 0x140004e01
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 fcn.140005883
mov r8d, dword [rsp + 0x20]
mov rbp, rax
jmp 0x140004e33
mov r14d, dword [rsp + 0x44]
mov r8d, r15d
xor ebp, ebp
test r14d, r14d
jle 0x140004e5c
cmp dword [rsp + 0x48], 0
jle 0x140004e5c
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 0x140004eba
cmp dword [rsp + 0x40], 0
je 0x140004eac
test r8d, r8d
je 0x140004ea2
mov edx, r8d
mov rcx, rbp
mov dword [rsp + 0x3c], r8d
call fcn.1400059c9
mov rdx, rbx
mov rcx, rax
mov rbp, rax
call fcn.1400058a9
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140005797
mov rbx, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x3c]
mov edx, r15d
sub edx, r8d
je 0x140004eba
jmp 0x140004eaf
mov edx, r15d
mov rcx, rbx
call fcn.1400059c9
mov rbx, rax
mov ecx, 1
call fcn.140005883
cmp dword [rsp + 0x64], 0
mov qword [rsp + 0x20], rax
je 0x140004ee1
mov edx, dword [rsp + 0x64]
mov rcx, rax
call fcn.1400059c9
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x60], 1
jne 0x140004f10
cmp dword [rsp + 0x34], 1
jg 0x140004f10
mov eax, dword [r13 + 4]
mov ecx, dword [rsp + 0x7c]
xor r15d, r15d
inc eax
cmp eax, ecx
jge 0x140004f13
inc dword [rsp + 0x44]
mov r15d, 1
inc dword [rsp + 0x48]
jmp 0x140004f13
xor r15d, r15d
cmp dword [rsp + 0x64], 0
mov r13d, 0x1f
je 0x140004f3f
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 0x140004f6c
mov rcx, rbx
call fcn.140005ad7
mov rbx, rax
mov edx, dword [rsp + 0x48]
add edx, dword [rsp + 0x9c]
test edx, edx
jle 0x140004f8a
mov rcx, qword [rsp + 0x20]
call fcn.140005ad7
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x78], 0
je 0x140004fa2
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.140005bd4
test eax, eax
js 0x140004fac
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x50], edi
jmp 0x140004fe0
lea eax, [rsi - 1]
xor r8d, r8d
mov rcx, rbx
mov edx, 0xa
mov dword [rsp + 0x3c], eax
call fcn.1400057e3
cmp dword [rsp + 0x40], 0
mov rbx, rax
je 0x140004fe0
mov rcx, rbp
xor r8d, r8d
mov edx, 0xa
call fcn.1400057e3
mov rbp, rax
cmp dword [rsp + 0x50], 0
jg 0x14000505b
cmp dword [rsp + 0x34], 2
jle 0x14000505b
cmp dword [rsp + 0x50], 0
jne 0x14000501b
mov rcx, qword [rsp + 0x20]
xor r8d, r8d
mov edx, 5
call fcn.1400057e3
mov rcx, rbx
mov rdx, rax
mov qword [rsp + 0x20], rax
call fcn.140005bd4
test eax, eax
jg 0x140005044
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x28]
xor esi, esi
mov r12d, 0x10
not eax
mov dword [rsp + 0x3c], eax
jmp 0x14000543d
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 0x1400052d0
cmp dword [rsp + 0x40], 0
je 0x14000534d
lea edx, [r13 + r14]
test edx, edx
jle 0x14000507a
mov rcx, rbp
call fcn.140005ad7
mov rbp, rax
mov rax, rbp
test r15d, r15d
je 0x1400050b0
mov ecx, dword [rbp + 8]
lea rsi, [rbp + 0x10]
call fcn.1400056e3
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 fcn.140005ad7
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 fcn.140004423
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x44], eax
lea r15d, [rax + 0x30]
call fcn.140005bd4
mov rcx, qword [rsp + 0x20]
mov rdx, rbp
mov edi, eax
call fcn.140005c1a
mov r14d, dword [rsp + 0x40]
cmp dword [rax + 0x10], 0
mov rdx, rax
jne 0x140005118
mov rcx, rbx
mov qword [rsp + 0x48], rax
call fcn.140005bd4
mov rdx, qword [rsp + 0x48]
mov r14d, eax
mov rcx, rdx
call fcn.140005797
mov eax, dword [rsp + 0x34]
or eax, r14d
jne 0x14000517d
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
and eax, 1
or eax, dword [rsp + 0x38]
jne 0x14000517d
cmp r15d, 0x39
je 0x1400052b8
test edi, edi
jg 0x14000516f
cmp dword [rbx + 0x14], 1
mov r12d, 0x10
jg 0x140005295
xor eax, eax
cmp dword [rbx + 0x18], 0
setne al
shl eax, 4
mov r12d, eax
jmp 0x140005295
mov r15d, dword [rsp + 0x44]
add r15d, 0x31
jmp 0x14000522c
test edi, edi
js 0x140005199
or edi, dword [rsp + 0x34]
jne 0x1400052a2
mov rax, qword [rsp + 0x58]
test byte [rax], 1
jne 0x1400052a2
cmp dword [rsp + 0x38], 0
je 0x140005234
cmp dword [rbx + 0x14], 1
jg 0x1400051b4
cmp dword [rbx + 0x18], 0
je 0x140005234
cmp dword [rsp + 0x38], 2
je 0x14000528f
mov rcx, qword [rsp + 0x20]
mov rdx, rbp
lea r12, [r13 + 1]
call fcn.140005bd4
test eax, eax
jle 0x14000521f
mov byte [r12 - 1], r15b
xor r8d, r8d
mov rcx, rbp
mov edx, 0xa
mov r13, r12
call fcn.1400057e3
cmp rsi, rbp
mov rcx, rbx
mov edx, 0xa
cmove rsi, rax
xor r8d, r8d
mov rdi, rax
call fcn.1400057e3
mov rdx, qword [rsp + 0x20]
mov rbp, rdi
mov rcx, rax
mov rbx, rax
call fcn.140004423
lea r15d, [rax + 0x30]
jmp 0x1400051bf
cmp r15d, 0x39
je 0x1400052b8
inc r15d
mov r12d, 0x20
jmp 0x140005295
test r14d, r14d
jle 0x14000527a
mov rcx, rbx
mov edx, 1
call fcn.140005ad7
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call fcn.140005bd4
test eax, eax
jg 0x140005265
jne 0x140005274
test r15d, 1
je 0x140005274
cmp r15d, 0x39
je 0x1400052b8
mov r15d, dword [rsp + 0x44]
add r15d, 0x31
mov r12d, 0x20
cmp dword [rbx + 0x14], 1
jg 0x14000528f
cmp dword [rbx + 0x18], 0
mov eax, 0x10
cmovne r12d, eax
jmp 0x140005295
mov r12d, 0x10
mov byte [r13], r15b
lea r14, [r13 + 1]
jmp 0x14000543d
lea rdi, [r13 + 1]
test r14d, r14d
jle 0x1400052db
cmp dword [rsp + 0x38], 2
je 0x1400052db
cmp r15d, 0x39
jne 0x1400052c6
mov byte [r13], 0x39
lea rdi, [r13 + 1]
jmp 0x1400053e7
inc r15d
mov r14, rdi
mov byte [r13], r15b
mov r12d, 0x20
jmp 0x14000543d
mov byte [rdi - 1], r15b
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x9c], eax
je 0x1400053a3
mov rcx, rbx
xor r8d, r8d
mov edx, 0xa
call fcn.1400057e3
xor r8d, r8d
mov edx, 0xa
mov rcx, rsi
mov rbx, rax
cmp rsi, rbp
jne 0x140005320
call fcn.1400057e3
mov rsi, rax
mov rbp, rax
jmp 0x14000533b
call fcn.1400057e3
mov rcx, rbp
xor r8d, r8d
mov edx, 0xa
mov rsi, rax
call fcn.1400057e3
mov rbp, rax
mov eax, dword [rsp + 0x9c]
mov r13, rdi
lea edx, [rax + 1]
jmp 0x1400050bf
mov rdi, qword [rsp + 0x28]
mov eax, 1
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x9c], eax
inc rdi
call fcn.140004423
lea r15d, [rax + 0x30]
mov eax, dword [rsp + 0x50]
mov byte [rdi - 1], r15b
cmp dword [rsp + 0x9c], eax
jge 0x1400053a1
mov rcx, rbx
xor r8d, r8d
mov edx, 0xa
call fcn.1400057e3
mov rbx, rax
mov eax, dword [rsp + 0x9c]
inc eax
jmp 0x140005357
xor esi, esi
cmp dword [rsp + 0x38], 0
je 0x1400053be
cmp dword [rsp + 0x38], 2
mov eax, dword [rbx + 0x14]
je 0x140005417
dec eax
jg 0x1400053e7
cmp dword [rbx + 0x18], 0
jmp 0x1400053e5
mov rcx, rbx
mov edx, 1
call fcn.140005ad7
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call fcn.140005bd4
test eax, eax
jg 0x1400053e7
jne 0x140005417
and r15d, 1
je 0x140005417
mov r14, rdi
lea rdi, [rdi - 1]
mov al, byte [r14 - 1]
cmp al, 0x39
jne 0x14000540e
cmp qword [rsp + 0x28], rdi
jne 0x1400053e7
mov rax, qword [rsp + 0x28]
inc dword [rsp + 0x3c]
mov byte [rax], 0x31
jmp 0x1400052d0
inc eax
mov byte [rdi], al
jmp 0x1400052d0
cmp dword [rbx + 0x14], 1
mov r12d, 0x10
jg 0x140005432
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 0x140005432
mov rcx, qword [rsp + 0x20]
call fcn.140005797
test rbp, rbp
je 0x140005466
test rsi, rsi
je 0x14000545e
cmp rsi, rbp
je 0x14000545e
mov rcx, rsi
call fcn.140005797
mov rcx, rbp
call fcn.140005797
mov esi, dword [rsp + 0x3c]
mov rcx, rbx
inc esi
call fcn.140005797
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x68], 0
mov byte [r14], 0
mov dword [rax], esi
je 0x14000548f
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