Function at 0x4d8820
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4d8c91
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0x100], r9
mov rdx, qword [rsp + 0xc8]
nop word [rax + rax]
cmp rsi, rdx
jne 0x4d8c7d
cmp r10, rdx
jne 0x4d8c7d
mov r10, qword [rsp + 0xb0]
nop word [rax + rax]
cmp r10, rdx
jne 0x4d8c7d
mov qword [rsp + 0x100], r9
mov qword [rsp + 0xf8], r8
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xe8], rdi
mov rdi, rdx
shl rdi, 1
call fcn.004d7c00
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x78], rbx
call fcn.004d7b60
mov rdx, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xc8]
mov r8, qword [rsp + 0x100]
mov r9, qword [rsp + 0x90]
mov r10, qword [rsp + 0xe8]
mov r11, qword [rsp + 0x80]
xor eax, eax
xor ecx, ecx
jmp 0x4d8960
mov r12, qword [rsp + 0x50]
inc r12
mov rdx, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xc8]
mov r15, qword [rsp + 0x100]
mov r10, qword [rsp + 0xe8]
mov r11, qword [rsp + 0x80]
mov rsi, r13
mov r8, r15
mov r9, qword [rsp + 0x90]
mov rcx, rax
mov rax, r12
nop dword [rax + rax]
cmp rdi, rax
jle 0x4d8af0
lea rbx, [rax + rdi]
mov r12, qword [r8 + rax*8]
cmp r11, rbx
jb 0x4d8c72
nop word [rax + rax]
cmp rax, rbx
ja 0x4d8c6a
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x60], rcx
mov rcx, rax
shl rax, 3
sub r11, rcx
mov qword [rsp + 0x68], r11
mov r8, r11
neg r11
sar r11, 0x3f
and rax, r11
add rax, r9
mov qword [rsp + 0x88], rax
mov qword [rsp], rax
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r10
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r12
call fcn.004e2040
xorps xmm15, xmm15
mov r14, qword [0x0077cf80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x50]
cmp rcx, rax
jbe 0x4d8c65
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + rax*8]
mov rsi, qword [rsp + 0x88]
mov qword [rsp], rsi
mov rsi, qword [rsp + 0xc8]
mov qword [rsp + 8], rsi
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0x10], rdi
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0x18], rdi
mov r8, qword [rsp + 0xb0]
mov qword [rsp + 0x20], r8
mov r9, qword [rsp + 0xb8]
mov qword [rsp + 0x28], r9
mov r10, qword [rsp + 0xc0]
imul rbx, r10
mov qword [rsp + 0x30], rbx
nop dword [rax]
call fcn.004e2040
xorps xmm15, xmm15
mov r14, qword [0x0077cf80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
add rdx, rcx
lea rbx, [rdx + rax]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
nop word [rax + rax]
cmp rsi, rdi
jbe 0x4d8c58
mov r8, qword [rsp + 0x90]
mov qword [r8 + rdi*8], rbx
cmp rcx, rdx
ja 0x4d8adf
cmp rax, rbx
jbe 0x4d8ae9
mov eax, 1
jmp 0x4d890c
xor eax, eax
jmp 0x4d890c
test rcx, rcx
je 0x4d8ba7
nop dword [rax]
cmp r11, rdi
jb 0x4d8c4d
mov rcx, qword [rsp + 0x78]
cmp rcx, rdi
jb 0x4d8c45
mov qword [rsp], r9
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], r11
sub r11, rdi
sub rcx, rdi
mov rdx, r11
neg r11
shl rdi, 3
sar r11, 0x3f
and r11, rdi
lea rsi, [r9 + r11]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rcx
call fcn.004e1cc0
xorps xmm15, xmm15
mov r14, qword [0x0077cf80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp + 0xc8]
mov r9, qword [rsp + 0x90]
mov r11, qword [rsp + 0x80]
jmp 0x4d8c0f
cmp r11, rdi
jb 0x4d8c36
mov rcx, qword [rsp + 0x78]
cmp rcx, rdi
jb 0x4d8c2e
sub rcx, rdi
mov rbx, rdi
sub rdi, r11
mov rsi, rbx
shl rsi, 3
sar rdi, 0x3f
and rdi, rsi
lea rsi, [r9 + rdi]
cmp rbx, rcx
mov r8, rbx
cmovg r8, rcx
nop
test rdi, rdi
je 0x4d8c0f
shl r8, 3
mov rax, r9
mov rbx, rsi
mov rcx, r8
call fcn.00473980
mov rbx, qword [rsp + 0xc8]
mov r9, qword [rsp + 0x90]
mov r11, qword [rsp + 0x80]
cmp r11, rbx
jb 0x4d8c23
mov rax, r9
mov rcx, r11
add rsp, 0x98
pop rbp
ret
mov rcx, rbx
mov rdx, r11
call fcn.00473040
mov rax, rdi
call fcn.00473080
mov rcx, rdi
mov rdx, r11
nop dword [rax]
call fcn.00473040
mov rax, rdi
call fcn.00473080
mov rcx, rdi
mov rdx, r11
call fcn.00473040
mov rax, rdi
mov rcx, rsi
nop
call fcn.00472fc0
call fcn.00472fc0
mov rcx, rbx
call fcn.00473080
mov rcx, rbx
mov rdx, r11
call fcn.00473040
lea rax, [0x0056dfe0]
lea rbx, [0x005dd840]
call fcn.0043fc80
nop
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x70], r11
nop
call fcn.00470ce0
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
jmp fcn.004d8820