Function at 0x580000
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x58]
cmp r12, qword [r14 + 0x10]
jbe 0x5802e6
push rbp
mov rbp, rsp
sub rsp, 0xd0
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x130], rsi
cmp byte [0x00c4c5a7], 0
je 0x580274
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x118], rbx
movups xmmword [rsp + 0x68], xmm15
movups xmmword [rsp + 0x78], xmm15
movups xmmword [rsp + 0x88], xmm15
movups xmmword [rsp + 0x98], xmm15
test byte [rax], al
mov rbx, rax
mov rcx, rsi
mov rdi, r8
mov rsi, r9
lea rax, [rsp + 0x68]
call fcn.0057fc80
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0xe8]
lea rbx, [rdx + rcx]
lea rbx, [rbx - 0x10]
mov qword [rsp + 0xb0], rbx
nop
mov r8, qword [rsp + 0x128]
cmp r8, rbx
jl 0x5800bd
mov rax, qword [rsp + 0x118]
jmp 0x5800ec
lea rax, [0x0067b5e0]
mov rdi, qword [rsp + 0x118]
call fcn.00444b00
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xb0]
mov r8, rbx
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xb8], r8
mov rsi, r8
sub r8, rcx
mov rdi, r8
neg r8
sar r8, 0x3f
and rcx, r8
add rcx, rax
cmp rdx, 0x10
jne 0x580122
mov r8, qword [rsp + 0xe0]
jmp 0x580174
jne 0x58012e
mov r8, qword [rsp + 0xe0]
jmp 0x580174
mov r8, qword [rsp + 0xe0]
cmp r8, rcx
je 0x580174
mov r9, rcx
lea r10, [r8 + rdx]
lea r10, [r10 - 0x11]
nop
cmp r10, rcx
jb 0x580171
mov rcx, r8
lea r10, [rdx + r9]
lea r10, [r10 - 0x11]
nop word [rax + rax]
cmp r10, r8
jae 0x5802cf
mov r8, rcx
mov rcx, r9
jmp 0x580174
mov rcx, r9
mov qword [rsp + 0xc0], rcx
mov qword [rsp], rcx
lea rax, [rdx - 0x10]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rdi
lea rbx, [rsp + 0x68]
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], 0x10
mov qword [rsp + 0x28], 0x10
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0xf0]
mov qword [rsp + 0x40], rbx
mov rbx, qword [rsp + 0xf8]
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x100]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x108]
mov qword [rsp + 0x58], rbx
call fcn.00580f00
xorps xmm15, xmm15
mov r14, qword [0x00c4bbb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp byte [rsp + 0x60], 0
jne 0x58024f
mov rdx, qword [rsp + 0xe8]
cmp rdx, 0x10
je 0x580231
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xa8]
call fcn.0045c8e0
mov rdi, qword [0x00baf150]
mov rsi, qword [0x00baf158]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0xd0
pop rbp
ret
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
xor edi, edi
xor esi, esi
add rsp, 0xd0
pop rbp
ret
mov rdx, qword [rsp + 0xe0]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 8], rdx
mov rdx, qword [rsp + 0xf0]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0xf8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x100]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x108]
mov qword [rsp + 0x28], rdx
call fcn.005808c0
add rsp, 0xd0
pop rbp
ret
lea rax, [0x0067b560]
lea rbx, [0x007650f0]
nop dword [rax]
call fcn.00431120
nop
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
call fcn.0045a0c0
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x68]
jmp fcn.00580000