Function at 0x4d7580
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x48]
cmp r12, qword [r14 + 0x10]
jbe 0x4d7ab5
sub rsp, 0xc8
mov qword [rsp + 0xc0], rbp
lea rbp, [rsp + 0xc0]
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xd0], rax
mov ecx, 0x107
lea rax, [0x004f1ac0]
mov rbx, rcx
call fcn.00449fa0
mov qword [rsp + 0xa8], rax
mov rbx, qword [rsp + 0xd8]
mov rcx, rax
mov edi, 0x107
mov rsi, rdi
mov r8d, 5
mov rax, qword [rsp + 0xd0]
call fcn.004d7200
nop dword [rax + rax]
test rbx, rbx
jne 0x4d7a5c
mov r10, qword [rsp + 0xa8]
cmp byte [r10], 5
jne 0x4d7a3a
movzx r11d, byte [r10 + 1]
cmp r11b, 3
ja 0x4d762f
test r11b, r11b
jne 0x4d76f4
movups xmmword [rsp + 0xb0], xmm15
movzx r11d, byte [r10 + 1]
lea r12, [0x004f1ac0]
mov qword [rsp + 0xb0], r12
lea r12, [0x005dbfa0]
lea r11, [r12 + r11*8]
mov qword [rsp + 0xb8], r11
cmp byte [0x0063d622], 0
je 0x4d76f4
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x70]
lea rbx, [0x00511788]
mov ecx, 4
lea rdi, [0x00514a36]
mov esi, 0x13
lea r8, [0x005114f0]
mov r9d, 1
call fcn.0044dcc0
mov rdx, qword [0x005e86d8]
mov rcx, rax
mov rdi, rbx
lea rsi, [rsp + 0xb0]
mov r8d, 1
mov r9, r8
lea rax, [0x005404e8]
mov rbx, rdx
call fcn.004a3b20
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x68]
mov r10, qword [rsp + 0xa8]
cmp byte [r10 + 1], 1
jne 0x4d7a18
movzx r9d, byte [r10 + 3]
cmp r9b, 1
jne 0x4d7712
mov r9d, 0xa
jmp 0x4d7733
cmp r9b, 3
jne 0x4d7723
movzx r9d, byte [r10 + 4]
add r9, 7
jmp 0x4d7733
cmp r9b, 4
jne 0x4d79f6
mov r9d, 0x16
mov qword [rsp + 0x50], r9
cmp rax, r9
je 0x4d77ab
nop dword [rax]
jge 0x4d79d4
cmp r9, 0x107
ja 0x4d7aa7
cmp rax, r9
ja 0x4d7a9f
mov r8, r9
sub r8, rax
lea rsi, [rax - 0x107]
mov rdx, rsi
sar rsi, 0x3f
and rsi, rax
lea rcx, [r10 + rsi]
neg rdx
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xd8]
mov rdi, r8
mov rsi, rdx
call fcn.004d7200
test rbx, rbx
jne 0x4d79ba
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x68], rbx
movzx esi, byte [r10 + 3]
nop dword [rax]
cmp sil, 1
je 0x4d7862
cmp sil, 3
jne 0x4d7820
movzx edx, byte [r10 + 4]
add edx, 5
movzx edx, dl
nop dword [rax + rax]
cmp rdx, 5
jb 0x4d7a92
lea rcx, [rdx - 5]
lea rbx, [r10 + 5]
xor eax, eax
call fcn.0044dfc0
mov rcx, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0xa8]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x68]
jmp 0x4d78a0
cmp sil, 4
je 0x4d782c
xor eax, eax
xor edx, edx
jmp 0x4d78a0
lea rax, [r10 + 4]
mov ebx, 0x10
mov ecx, 0x103
call fcn.004c4700
mov rcx, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0xa8]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x68]
nop
jmp 0x4d78a0
lea rax, [r10 + 4]
mov ebx, 4
mov ecx, 0x103
call fcn.004c4700
mov rcx, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0xa8]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x68]
nop word [rax + rax]
nop
cmp r9, 0x107
ja 0x4d7a85
lea rsi, [r9 - 2]
cmp r9, rsi
jb 0x4d7a76
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x98], rdx
lea rcx, [r9 - 0x109]
sar rcx, 0x3f
and rsi, rcx
movzx ecx, word [r10 + rsi]
rol cx, 8
movzx eax, cx
mov ebx, 0xa
call fcn.0046e680
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x48], rbx
mov rcx, qword [rsp + 0x98]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00402700
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4d7970
xor eax, eax
lea rbx, [0x005114ee]
mov ecx, 1
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x60]
lea r8, [0x00511563]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x48]
call fcn.0044dda0
jmp 0x4d799d
xor eax, eax
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x0053f148]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x48]
call fcn.0044dcc0
mov rcx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
xor eax, eax
mov rdi, rcx
mov rcx, rbx
xor ebx, ebx
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
mov rcx, qword [0x005e9080]
mov rdi, qword [0x005e9088]
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
mov rcx, qword [0x005e9040]
mov rdi, qword [0x005e9048]
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
mov rcx, qword [0x005e9060]
mov rdi, qword [0x005e9068]
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
mov rcx, qword [0x005e9090]
mov rdi, qword [0x005e9098]
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
xor eax, eax
mov rdi, rcx
mov rcx, rbx
xor ebx, ebx
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
mov rax, rsi
mov rcx, r9
nop dword [rax]
call fcn.00462ec0
mov rcx, r9
mov edx, 0x107
call fcn.00462e80
mov eax, 5
mov rcx, rdx
call fcn.00462ec0
mov rcx, r9
call fcn.00462ec0
mov rcx, r9
mov edx, 0x107
call fcn.00462e80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop
call fcn.00460720
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004d7580