Function at 0x4b8700
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x4b8ad3
push rbp
mov rbp, rsp
sub rsp, 0x88
mov qword [rsp + 0xc0], r8
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x98], rax
shl rsi, 1
mov rax, rsi
call fcn.004b97e0
mov qword [rsp + 0x78], rax
mov rbx, qword [rax + 8]
mov qword [rsp + 0x58], rbx
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x60], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x80], rcx
nop
test rbx, rbx
je 0x4b87a6
mov rdx, rbx
shl rdx, 3
mov rax, rcx
mov rbx, rdx
call fcn.0045f3a0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
jbe 0x4b8ac8
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rdi]
mov r9, rax
mov rax, r8
mov r8, rdx
mul rax
mov r10, qword [rsp + 0xa0]
nop word [rax + rax]
nop
cmp r10, 1
jbe 0x4b8abb
mov r11, qword [rsp + 0x98]
mov qword [r11 + 8], rdx
mov qword [r11], rax
mov r12, qword [rsp + 0xc0]
mov eax, 1
jmp 0x4b8863
mov r13, qword [rsp + 0x38]
mov r15, qword [rsp + 0x70]
mov rax, qword [rsp + 0x80]
mov qword [rax + r15], r13
mov r13, qword [rsp + 0x50]
inc r13
mov r11, qword [rsp + 0x98]
mov r10, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x60]
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov rcx, rax
mov rbx, qword [rsp + 0x58]
mov r9, qword [rsp + 0x78]
mov rax, r13
cmp rsi, rax
jle 0x4b8945
mov qword [rsp + 0x50], rax
mov r13, qword [rdi + rax*8]
lea r15, [rax + rax]
lea r15, [r15 + 1]
mov rax, r13
mul rax
cmp r10, r15
jbe 0x4b8ab0
mov qword [r11 + r15*8], rdx
mov r15, qword [rsp + 0x50]
mov rdx, r15
shl r15, 1
nop dword [rax + rax]
cmp r10, r15
jbe 0x4b8aa5
shl rdx, 4
mov qword [r11 + rdx], rax
cmp r8, r15
jb 0x4b8a97
mov rax, qword [rsp + 0x50]
nop
cmp rax, r15
ja 0x4b8a8f
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], r15
mov rdx, rax
shl rax, 3
sub r8, rdx
sub r15, rdx
mov r9, r8
neg r8
sar r8, 0x3f
and rax, r8
add rax, rcx
mov qword [rsp], rax
mov qword [rsp + 8], r15
mov qword [rsp + 0x10], r9
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r13
call fcn.004c1620
xorps xmm15, xmm15
mov r14, qword [0x007f3030]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x68]
cmp rcx, rax
ja 0x4b8808
nop dword [rax]
jmp 0x4b8a8a
lea rdi, [rsi + rsi]
lea rdi, [rdi - 1]
cmp r8, rdi
jb 0x4b8a7f
nop word [rax + rax]
nop
cmp rdi, 1
jb 0x4b8a73
mov qword [rsp + 0x70], rdi
lea rax, [rsi + rsi]
lea rax, [rax - 2]
lea rdx, [r8 - 1]
mov rbx, rdx
neg rdx
sar rdx, 0x3f
and edx, 8
add rdx, rcx
mov qword [rsp], rdx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 1
call fcn.004c1480
xorps xmm15, xmm15
mov r14, qword [0x007f3030]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
cmp rcx, rax
jbe 0x4b8a6e
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x80]
mov qword [rbx + rax*8], rdx
mov rax, qword [rsp + 0x98]
mov qword [rsp], rax
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 8], rdx
mov rsi, qword [rsp + 0xa8]
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
call fcn.004c1200
xorps xmm15, xmm15
mov r14, qword [0x007f3030]
mov r14, qword gs:[r14]
mov r14, qword [r14]
nop
lea rax, [0x0076d760]
lea rbx, [0x00577520]
mov rcx, qword [rsp + 0x78]
call fcn.00467420
add rsp, 0x88
pop rbp
ret
call fcn.0045ece0
mov eax, 1
xor ecx, ecx
call fcn.0045eda0
mov rcx, rdi
mov rdx, r8
call fcn.0045ed60
call fcn.0045ece0
mov rcx, r15
call fcn.0045eda0
mov rcx, r15
mov rdx, r8
nop dword [rax]
call fcn.0045ed60
mov rax, r15
mov rcx, r10
call fcn.0045ece0
mov rax, r15
mov rcx, r10
call fcn.0045ece0
mov eax, 1
mov rcx, r10
call fcn.0045ece0
xor eax, eax
mov rcx, rax
call fcn.0045ece0
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
call fcn.0045ca00
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.004b8700