Function at 0x589680
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x58997d
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0xa0], r8
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], rdi
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], r8
mov byte [rsp + 0x18], 0xa
call fcn.00403240
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdi, qword [rsp + 0x20]
test rdi, rdi
jl 0x58977a
nop dword [rax + rax]
cmp rdi, 1
jne 0x58972a
mov rdx, qword [rsp + 0x98]
test rdx, rdx
jbe 0x589972
mov r9, qword [rsp + 0x90]
cmp byte [r9], 0xd
je 0x58973f
test rdi, rdi
jmp 0x58973d
test rdi, rdi
mov rdx, qword [rsp + 0x98]
mov r9, qword [rsp + 0x90]
jne 0x589766
inc rdi
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
xor esi, esi
xor r8d, r8d
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
lea rbx, [rdi + 1]
mov rax, r9
mov rcx, qword [rsp + 0xa0]
mov rsi, rbx
jmp 0x5897c0
mov rsi, qword [0x0079f250]
mov r8, qword [0x0079f258]
mov rax, qword [rsp + 0x78]
xor ebx, ebx
mov rcx, qword [rsp + 0x88]
mov rdi, rbx
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
lea rbx, [rax + 1]
mov rax, qword [rsp + 0x90]
mov rdx, r9
mov r9, qword [rsp + 0x60]
mov rsi, rcx
mov rcx, qword [rsp + 0x38]
cmp rbx, rdx
ja 0x589967
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x28], rsi
sub rcx, rbx
mov qword [rsp + 0x38], rcx
mov rax, rcx
neg rcx
sar rcx, 0x3f
and rcx, rbx
mov qword [rsp + 0x50], rcx
lea rsi, [r9 + rcx]
mov qword [rsp + 0x60], rsi
nop
mov qword [rsp], rsi
sub rdx, rbx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rax
mov byte [rsp + 0x18], 0xa
call fcn.00403240
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
test rax, rax
jl 0x589929
mov r8, qword [rsp + 0x28]
lea rcx, [r8 + rax]
lea rcx, [rcx + 1]
add r8, rax
cmp rax, 1
jne 0x589877
mov r9, qword [rsp + 0x30]
test r9, r9
jbe 0x58995d
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
movzx r10d, byte [r11 + r10]
cmp r10b, 0xd
je 0x589886
test rax, rax
jmp 0x58987f
test rax, rax
mov r9, qword [rsp + 0x30]
nop
jne 0x5897a4
mov rdx, qword [rsp + 0xa0]
cmp rdx, rcx
jb 0x589958
mov qword [rsp + 0x48], rcx
mov rdx, qword [rsp + 0x80]
lea rsi, [r8 + rdx]
lea rsi, [rsi + 1]
mov qword [rsp + 0x50], rsi
mov rdi, qword [rsp + 0x88]
cmp rdi, rsi
jb 0x5898c5
mov rax, qword [rsp + 0x78]
jmp 0x5898e9
lea rax, [0x005b9c40]
mov rbx, qword [rsp + 0x78]
mov rcx, rdx
call fcn.0044b320
mov rdx, qword [rsp + 0x80]
mov rdi, rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rdi
add rdx, rax
mov rbx, qword [rsp + 0x90]
mov rax, rdx
call fcn.00465020
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
xor esi, esi
xor r8d, r8d
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rsi, qword [0x0079f250]
mov r8, qword [0x0079f258]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
xor edi, edi
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
call fcn.00464700
xor eax, eax
mov rcx, rax
call fcn.00464680
mov rax, rbx
mov rcx, rdx
call fcn.00464740
xor eax, eax
mov rcx, rax
call fcn.00464680
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
nop dword [rax + rax]
call fcn.00461fa0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.00589680