Function at 0x598e60
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0xf8]
cmp r12, qword [r14 + 0x10]
jbe 0x5993e9
sub rsp, 0x178
mov qword [rsp + 0x170], rbp
lea rbp, [rsp + 0x170]
mov byte [rsp + 0x180], al
mov byte [rsp + 0x181], bl
mov qword [rsp + 0x190], rdi
mov qword [rsp + 0x188], rcx
lea rax, [0x005b2ce0]
xor ebx, ebx
mov rcx, rdi
call fcn.0044b000
mov qword [rsp + 0xa0], rax
movups xmmword [rsp + 0xa8], xmm15
movups xmmword [rsp + 0xb8], xmm15
movups xmmword [rsp + 0xc8], xmm15
mov rbx, qword [rsp + 0x190]
cmp rbx, 8
jg 0x598f23
movups xmmword [rsp + 0xd8], xmm15
lea rdi, [rsp + 0xe0]
lea rdi, [rdi - 0x30]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00464df9
mov rbp, qword [rbp]
lea rdx, [rsp + 0xd8]
mov qword [rsp + 0xb8], rdx
lea rax, [0x005bc640]
lea rcx, [rsp + 0xa8]
call fcn.0040e020
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x190]
mov rdx, qword [rsp + 0xa0]
xor ebx, ebx
mov rsi, rcx
xor edi, edi
xor r8d, r8d
jmp 0x598f71
mov rbx, r8
mov rsi, rdi
mov rdi, rcx
mov r8, rdx
mov rcx, qword [rsp + 0x68]
mov rdx, rax
mov rax, qword [rsp + 0x70]
test rcx, rcx
jle 0x5992e5
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x60], rdi
lea r9, [rcx - 1]
mov qword [rsp + 0x68], r9
mov r10, r9
shl r9, 4
mov r11, qword [rsp + 0x188]
mov r12, qword [r11 + r9 + 8]
mov qword [rsp + 0x50], r12
mov r9, qword [r11 + r9]
mov qword [rsp + 0x80], r9
movzx r13d, byte [rsp + 0x181]
test r13b, r13b
je 0x598fd6
xor ecx, ecx
jmp 0x59904c
mov qword [rsp], r9
mov qword [rsp + 8], r12
mov byte [rsp + 0x10], 0
call fcn.004031c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
setne al
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x188]
mov r12, qword [rsp + 0x50]
movzx r13d, byte [rsp + 0x181]
mov ecx, eax
mov rax, qword [rsp + 0x70]
test cl, cl
je 0x59908d
nop
lea rax, [0x005c2e80]
call fcn.0040d440
mov qword [rax + 8], 0x27
lea rcx, [0x005f5c03]
mov qword [rax], rcx
mov rdi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
lea rcx, [0x00648dc0]
mov rdx, rax
mov rax, qword [rsp + 0x78]
jmp 0x598f58
mov rax, r9
mov rbx, r12
lea rcx, [0x005ea548]
mov edi, 1
nop
call fcn.004cc240
test rax, rax
jne 0x5990ed
mov rbx, qword [rsp + 0x50]
cmp rbx, 1
jb 0x5993dc
lea rdx, [rbx - 1]
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 1
mov r8, qword [rsp + 0x80]
lea rax, [r8 + rdx]
lea rcx, [0x005ea548]
mov edi, 1
mov rbx, rsi
call fcn.004cc240
inc rax
test rax, rax
jge 0x5991a5
mov rdx, qword [rsp + 0x50]
nop dword [rax + rax]
test rdx, rdx
je 0x599183
mov rsi, qword [rsp + 0x40]
lea r8, [rsi + 1]
mov rdi, qword [rsp + 0x48]
cmp rdi, r8
jb 0x59911f
mov rax, qword [rsp + 0x78]
jmp 0x599147
lea rax, [0x005b2ce0]
mov rbx, qword [rsp + 0x78]
mov rcx, rsi
mov rsi, r8
call fcn.0044b160
lea r8, [rbx + 1]
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, rcx
shl rsi, 4
mov qword [rax + rsi + 8], rdx
lea rdx, [rax + rsi]
cmp dword [0x007c4550], 0
jne 0x59916b
mov rdx, qword [rsp + 0x80]
mov qword [rax + rsi], rdx
jmp 0x599192
mov rcx, rdi
mov rdi, rdx
mov r9, qword [rsp + 0x80]
call fcn.00464840
mov rdi, rcx
jmp 0x599192
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
nop
jmp 0x598f58
mov rdx, qword [rsp + 0x50]
cmp rax, rdx
ja 0x5993d4
movzx esi, byte [rsp + 0x180]
nop dword [rax + rax]
test sil, sil
jne 0x5991cf
mov rcx, qword [rsp + 0x80]
jmp 0x5991e5
mov rbx, rax
mov rax, qword [rsp + 0x80]
call fcn.004cb080
mov rcx, rax
mov rax, rbx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x70]
mov rdi, rax
lea rax, [0x005bc640]
call fcn.00412040
cmp byte [rax], 0
je 0x59922c
mov rdi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
jmp 0x598f58
lea rax, [0x005bc640]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x58]
call fcn.00412860
mov byte [rax], 1
mov rsi, qword [rsp + 0x40]
lea rdx, [rsi + 1]
mov rdi, qword [rsp + 0x48]
nop dword [rax + rax]
cmp rdi, rdx
jb 0x59926c
mov rax, qword [rsp + 0x78]
jmp 0x599291
lea rax, [0x005b2ce0]
mov rbx, qword [rsp + 0x78]
mov rcx, rsi
mov rsi, rdx
nop
call fcn.0044b160
lea rdx, [rbx + 1]
mov rsi, qword [rsp + 0x40]
mov rdi, rcx
shl rsi, 4
mov r8, qword [rsp + 0x50]
mov qword [rax + rsi + 8], r8
lea r8, [rax + rsi]
cmp dword [0x007c4550], 0
jne 0x5992ba
mov r8, qword [rsp + 0x80]
mov qword [rax + rsi], r8
jmp 0x5992d0
mov rcx, rdi
mov rdi, r8
mov r9, qword [rsp + 0x80]
call fcn.00464840
mov rdi, rcx
mov r8, rdx
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
jmp 0x598f58
xor eax, eax
jmp 0x5992f0
lea rax, [r10 + 1]
mov r8, rcx
mov rcx, rbx
shr rbx, 1
cmp rax, rbx
jge 0x5993a5
mov rbx, rcx
sub rcx, rax
cmp rbx, rax
jbe 0x5993cc
lea r9, [rcx - 1]
mov r10, rax
shl rax, 4
mov r11, qword [rdx + rax]
mov r12, qword [rdx + rax + 8]
lea r13, [rdx + rax]
cmp rbx, r9
jbe 0x5993c1
shl r9, 4
mov r15, qword [r9 + rdx]
mov rcx, r8
mov r8, qword [r9 + rdx + 8]
mov qword [rdx + rax + 8], r8
lea r8, [r9 + rdx]
cmp dword [0x007c4550], 0
jne 0x599357
mov qword [rdx + rax], r15
jmp 0x599378
mov qword [rsp + 0x98], r8
mov rax, rdi
mov rdi, r13
mov r8, r15
call fcn.00464820
mov rdi, rax
mov r8, qword [rsp + 0x98]
mov qword [rdx + r9 + 8], r12
cmp dword [0x007c4550], 0
jne 0x59938f
mov qword [rdx + r9], r11
jmp 0x5992e9
mov rax, rdi
mov rdi, r8
mov r9, r11
call fcn.00464840
mov rdi, rax
jmp 0x5992e9
mov rax, rdx
mov rbx, rcx
mov rcx, rsi
mov rsi, r8
mov rbp, qword [rsp + 0x170]
add rsp, 0x178
ret
mov rax, r9
mov rcx, rbx
call fcn.00464b40
mov rcx, rbx
call fcn.00464b40
mov rcx, rax
call fcn.00464b80
mov eax, 1
xor ecx, ecx
call fcn.00464c00
nop
mov byte [rsp + 8], al
mov byte [rsp + 9], bl
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
call fcn.00462460
movzx eax, byte [rsp + 8]
movzx ebx, byte [rsp + 9]
mov rcx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
nop
jmp fcn.00598e60