Function at 0x4ea5e0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4ea9fa
sub rsp, 0xa0
mov qword [rsp + 0x98], rbp
lea rbp, [rsp + 0x98]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xd0], r8
shl rsi, 1
mov rax, rsi
call fcn.004eb7a0
mov qword [rsp + 0x80], rax
mov rbx, qword [rax + 8]
mov qword [rsp + 0x60], rbx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x68], rcx
mov rdx, qword [rax]
mov qword [rsp + 0x88], rdx
nop
test rbx, rbx
je 0x4ea69f
shl rbx, 3
mov rax, rdx
nop dword [rax + rax]
call fcn.0045a9e0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0xc8]
test rsi, rsi
jbe 0x4ea9ef
mov rcx, qword [rsp + 0xc0]
mov rbx, qword [rcx]
mov rax, rbx
nop
call fcn.004e3aa0
mov rcx, qword [rsp + 0xb0]
cmp rcx, 1
jbe 0x4ea9e5
mov rsi, qword [rsp + 0x90]
mov qword [rsi + 8], rax
mov qword [rsi], rbx
mov eax, 1
jmp 0x4ea716
mov rdi, qword [rsp + 0x78]
mov r8, qword [rsp + 0x88]
mov qword [r8 + rdi], rax
mov rax, qword [rsp + 0x58]
inc rax
mov rcx, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xc8]
nop
cmp rdi, rax
jle 0x4ea84f
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xc0]
mov rbx, qword [rcx + rax*8]
mov qword [rsp + 0x50], rbx
mov rax, rbx
call fcn.004e3aa0
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx + rcx]
lea rdx, [rdx + 1]
mov rsi, qword [rsp + 0xb0]
nop dword [rax]
cmp rsi, rdx
jbe 0x4ea9d5
mov rdi, qword [rsp + 0x90]
mov qword [rdi + rdx*8], rax
mov rax, rcx
shl rax, 1
nop dword [rax + rax]
cmp rsi, rax
jbe 0x4ea9cd
mov r8, rcx
shl rcx, 4
mov qword [rdi + rcx], rbx
mov rdx, qword [rsp + 0x68]
nop dword [rax]
cmp rdx, rax
jb 0x4ea9c5
cmp r8, rax
ja 0x4ea9b5
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rax
mov rcx, r8
shl r8, 3
sub rdx, rcx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and r8, rdx
mov rdx, qword [rsp + 0x88]
lea rdi, [rdx + r8]
mov qword [rsp], rdi
sub rax, rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rsi
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rsi
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x30], r8
call fcn.004f3760
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
cmp rcx, rdx
ja 0x4ea6ed
jmp 0x4ea9ad
lea rbx, [rdi + rdi]
lea rbx, [rbx - 1]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
cmp rdx, rbx
jb 0x4ea9a5
cmp rbx, 1
jb 0x4ea995
mov qword [rsp + 0x78], rbx
lea rax, [rdx - 1]
mov rcx, rax
neg rax
sar rax, 0x3f
and eax, 8
mov rbx, qword [rsp + 0x88]
add rax, rbx
mov qword [rsp], rax
lea rsi, [rdi + rdi]
lea rsi, [rsi - 2]
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 1
call fcn.004f35c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
cmp rcx, rdx
jbe 0x4ea98d
mov rbx, qword [rsp + 0x88]
mov qword [rbx + rdx*8], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp], rax
mov rdx, qword [rsp + 0xb0]
mov qword [rsp + 8], rdx
mov rsi, qword [rsp + 0xb8]
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 + 0x68]
mov qword [rsp + 0x40], rax
call fcn.004f3340
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
nop
lea rax, [0x008f4580]
lea rbx, [0x00719920]
mov rcx, qword [rsp + 0x80]
call fcn.00463700
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
mov rax, rdx
call fcn.0045a320
mov eax, 1
xor ecx, ecx
nop dword [rax]
call fcn.0045a3e0
mov rcx, rbx
call fcn.0045a3a0
mov rax, rdx
call fcn.0045a320
mov rcx, rax
mov rax, r8
nop dword [rax + rax]
call fcn.0045a3e0
mov rcx, rax
call fcn.0045a3a0
mov rcx, rsi
call fcn.0045a320
mov rax, rdx
mov rcx, rsi
nop dword [rax + rax]
call fcn.0045a320
mov eax, 1
call fcn.0045a320
xor eax, eax
mov rcx, rax
call fcn.0045a320
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.00457c40
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]
nop dword [rax + rax]
jmp fcn.004ea5e0