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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x485b4d
push rbp
mov rbp, rsp
sub rsp, 0x60
test rdi, rdi
jge 0x4858c9
movabs rdx, 0x32712adbf76bae41
mov qword [rsp + 0x24], rdx
movabs rdx, 0xa3fe673c8741036a
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x7af96ef051ac8d2b
mov qword [rsp + 0x34], rdx
movabs rdx, 0xeeea2c52603acdd3
mov qword [rsp + 0x3c], rdx
movabs rdx, 0x7580321a499f9c79
mov qword [rsp + 0x44], rdx
xor eax, eax
jmp 0x485b21
cmp rdi, 9
jg 0x485aee
test ebx, ebx
jne 0x4858e2
movups xmmword [rax + 0x18], xmm15
add rsp, 0x60
pop rbp
ret
mov edx, ebx
lea rdx, [rdx + rdx]
lea rdx, [rdx + 1]
bsr rdx, rdx
cmp rdx, 0x19
jge 0x485917
lea rsi, [rdx - 0x19]
neg rsi
mov r8, rcx
mov rcx, rsi
shl ebx, cl
lea rdx, [rdx + r8]
lea rdx, [rdx - 0x19]
cmp rcx, 0x20
sbb esi, esi
and ebx, esi
jmp 0x48591a
mov rdx, rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x88], rdi
imul rsi, rdx, 0x13441
add rsi, 0x1ce618
sar rsi, 0x12
mov rcx, rdi
sub rcx, rsi
mov qword [rsp + 0x58], rcx
lea rsi, [rcx - 1]
cmp rsi, 0x1b
jg 0x485957
test rsi, rsi
setge r8b
jmp 0x48595a
xor r8d, r8d
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x23], r8b
mov dword [rsp + 0x4c], ebx
mov eax, ebx
mov rbx, rdx
mov rcx, rsi
call fcn.00486bc0
test rbx, rbx
jge 0x485ad5
mov rdx, qword [rsp + 0x58]
lea r8, [rdx + 9]
cmp r8, 0xa
jae 0x4859ab
mov r8d, dword [rsp + 0x4c]
mov r8d, r8d
test r8, r8
je 0x485a88
mov r9, qword [rsp + 0x50]
neg r9
jmp 0x485aa2
movzx esi, byte [rsp + 0x23]
mov r8, rbx
neg rbx
mov edi, ecx
mov rcx, rbx
mov r9d, 1
shl r9d, cl
mov r10d, eax
shr eax, cl
cmp rcx, 0x20
sbb ebx, ebx
and r9d, ebx
dec r9d
and ebx, eax
and r9d, r10d
test sil, sil
je 0x485a27
lea rcx, [r8 + 1]
neg rcx
mov r8d, 1
shl r8d, cl
cmp rcx, 0x20
sbb r10d, r10d
and r8d, r10d
cmp r8d, r9d
jb 0x485a1a
nop
jne 0x485a22
test dil, dil
je 0x485a1a
cmp r8d, r9d
jne 0x485a22
test dil, dil
je 0x485a22
mov r8d, ebx
and r8d, 1
jmp 0x485a49
mov r8d, 1
jmp 0x485a49
xor r8d, r8d
jmp 0x485a49
lea rcx, [r8 + 1]
neg rcx
mov r10d, r9d
shr r9d, cl
cmp rcx, 0x20
sbb r11d, r11d
and r9d, r11d
cmp r9d, 1
sete r8b
mov r9d, r10d
test r9d, r9d
je 0x485a50
xor edi, edi
xor edi, 1
mov rax, qword [rsp + 0x70]
mov ecx, edi
mov edi, r8d
mov rsi, qword [rsp + 0x88]
call fcn.00485e20
mov rdx, qword [rsp + 0x70]
mov r8, qword [rdx + 0x20]
mov r9, qword [rsp + 0x58]
sub r8, r9
inc r8
mov qword [rdx + 0x20], r8
add rsp, 0x60
pop rbp
ret
mov esi, 1
mov ecx, 1
jmp 0x4859b0
dec r9
mov eax, esi
mov r8, rdx
mov rdx, rdi
test r9, r9
jle 0x485a88
mov esi, eax
movabs rax, 0xcccccccccccccccd
mov rdi, rdx
mul r8
shr rdx, 2
lea r10, [rdx + rdx*4]
cmp r8, r10
je 0x485a97
mov eax, esi
mov rdx, rdi
movzx esi, byte [rsp + 0x23]
jmp 0x4859b0
call fcn.0048bea0
call fcn.00461280
mov rbx, rax
lea rax, [0x00619340]
call fcn.00465420
call fcn.0048b100
call fcn.00461280
mov rbx, rax
lea rax, [0x00619340]
call fcn.00465420
lea rdx, [0x00654844]
movzx esi, byte [rdx + rax]
movzx edi, byte [rsp + rax + 0x24]
sub edi, esi
mov byte [rsp + rax + 0x24], dil
inc rax
cmp rax, 0x28
jl 0x485b07
xor eax, eax
lea rbx, [rsp + 0x24]
mov ecx, 0x28
call fcn.00467060
call fcn.00461280
mov rbx, rax
lea rax, [0x00619340]
call fcn.00465420
nop
mov qword [rsp + 8], rax
mov dword [rsp + 0x10], ebx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046ad80
mov rax, qword [rsp + 8]
mov ebx, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00485860