Function at 0x665d40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6660e6
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x88], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2c
call fcn.00403b60
xorps xmm15, xmm15
mov r14, qword [0x00a58918]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
jmp 0x665e06
sub rdx, rbx
lea rcx, [rdx - 1]
mov qword [rsp + 0x30], rcx
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and rax, rcx
add rax, rsi
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x2c
nop dword [rax]
call fcn.00403b60
xorps xmm15, xmm15
mov r14, qword [0x00a58918]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x30]
cmp rax, 0xffffffffffffffff
je 0x665e7a
cmp rdx, rax
jb 0x6660db
mov rbx, rax
mov rsi, rcx
nop dword [rax + rax]
jmp 0x665fc0
mov rdi, qword [rsp + 0x98]
cmp rdi, rax
jne 0x665e5b
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, qword [rsp + 0x90]
xor r9d, r9d
jmp 0x666015
xor eax, eax
nop dword [rax]
test al, al
jne 0x665fff
lea rax, [rbx + 1]
cmp rdx, rax
jae 0x665dae
jmp 0x66600a
jmp 0x665e8f
dec rdx
mov rsi, rdx
neg rsi
sar rsi, 0x3f
and esi, 1
add rcx, rsi
test rdx, rdx
je 0x665eab
movzx esi, byte [rcx]
cmp sil, 0x20
je 0x665e7c
nop dword [rax]
cmp sil, 9
je 0x665e7c
jmp 0x665eab
dec rdx
test rdx, rdx
je 0x665ec6
movzx esi, byte [rdx + rcx - 1]
cmp sil, 0x20
je 0x665ea8
nop dword [rax + rax]
cmp sil, 9
je 0x665ea8
mov rsi, qword [rsp + 0x98]
cmp rsi, rdx
jne 0x665ee9
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x20], rdx
mov rdi, qword [rsp + 0x90]
xor eax, eax
jmp 0x665ef4
xor eax, eax
add rsp, 0x70
pop rbp
ret
mov rax, r9
cmp rax, rdx
jge 0x665f97
movzx r8d, byte [rcx + rax]
cmp r8d, 0x80
jge 0x665f11
lea r9, [rax + 1]
jmp 0x665f4c
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdx, rax
mov rax, rcx
mov rcx, rdx
call fcn.00463020
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov r8d, eax
mov r9, rbx
mov rax, qword [rsp + 0x38]
cmp r8d, 0x80
jge 0x665f90
lea r10d, [r8 - 0x41]
cmp r10b, 0x19
ja 0x665f63
add r8d, 0x20
cmp rsi, rax
jbe 0x665fa5
movzx r10d, byte [rax + rdi]
lea r11d, [r10 - 0x41]
cmp r11b, 0x19
ja 0x665f80
add r10d, 0x20
nop dword [rax + rax]
cmp r8b, r10b
je 0x665ef1
xor eax, eax
jmp 0x665eeb
xor eax, eax
jmp 0x665eeb
mov eax, 1
nop dword [rax]
jmp 0x665eeb
mov rcx, rsi
call fcn.0046cba0
dec rax
mov rdi, rax
neg rdi
sar rdi, 0x3f
and edi, 1
add rcx, rdi
test rax, rax
je 0x665fe0
movzx edi, byte [rcx]
cmp dil, 0x20
je 0x665fad
cmp dil, 9
je 0x665fad
jmp 0x665fe0
dec rax
nop dword [rax]
test rax, rax
je 0x665e25
movzx edi, byte [rax + rcx - 1]
cmp dil, 0x20
je 0x665fd6
cmp dil, 9
je 0x665fd6
jmp 0x665e25
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rcx, rdx
call fcn.0046cc60
mov r9, r11
cmp r9, rax
jge 0x6660c6
movzx r10d, byte [rcx + r9]
cmp r10d, 0x80
jge 0x666032
lea r11, [r9 + 1]
jmp 0x666080
mov qword [rsp + 0x40], r9
mov rbx, rax
mov rax, rcx
mov rcx, r9
call fcn.00463020
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x40]
mov r10d, eax
mov r11, rbx
mov rax, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
nop dword [rax]
cmp r10d, 0x80
jge 0x6660bf
lea r12d, [r10 - 0x41]
cmp r12b, 0x19
ja 0x666097
add r10d, 0x20
cmp rdi, r9
jbe 0x6660d0
movzx r9d, byte [r9 + r8]
lea r12d, [r9 - 0x41]
cmp r12b, 0x19
ja 0x6660af
add r9d, 0x20
cmp r10b, r9b
je 0x666012
xor eax, eax
jmp 0x665e60
xor eax, eax
jmp 0x665e60
mov eax, 1
jmp 0x665e60
mov rax, r9
mov rcx, rdi
call fcn.0046cba0
mov rcx, rax
nop
call fcn.0046cbe0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046a8c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00665d40