Function at 0x4c8540
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0xb8]
cmp r12, qword [r14 + 0x10]
jbe 0x4c8d66
sub rsp, 0x138
mov qword [rsp + 0x130], rbp
lea rbp, [rsp + 0x130]
call fcn.004956e0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x110], rcx
mov rdx, qword [0x005d4620]
mov qword [rsp + 0xf8], rdx
mov rsi, qword [0x005d4628]
mov qword [rsp + 0x70], rsi
mov rdi, qword [0x005dc6f8]
mov r8, qword [0x005dc700]
mov r9, qword [0x005dc708]
mov rsi, r8
mov r8, r9
nop dword [rax]
call fcn.00494500
test al, al
je 0x4c85fd
mov rcx, qword [0x005dc718]
mov rax, qword [0x005dc710]
mov rbx, qword [rsp + 0x70]
nop dword [rax]
cmp rcx, rbx
je 0x4c85e9
xor eax, eax
jmp 0x4c8604
mov rbx, qword [rsp + 0xf8]
call fcn.00402a00
mov rbx, qword [rsp + 0x70]
jmp 0x4c8604
mov rbx, qword [rsp + 0x70]
xor eax, eax
test al, al
je 0x4c8635
mov rcx, qword [0x005dc6e8]
test rcx, rcx
je 0x4c8619
mov rcx, qword [rcx]
jmp 0x4c8620
xor ecx, ecx
nop dword [rax + rax]
test rcx, rcx
jle 0x4c8635
mov rbp, qword [rsp + 0x130]
add rsp, 0x138
ret
mov rax, qword [rsp + 0xf8]
nop dword [rax]
call fcn.004d48a0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x48], rdi
test rsi, rsi
je 0x4c8673
mov r10, qword [rsp + 0x70]
xor edx, edx
jmp 0x4c8721
mov rdx, qword [0x005dc718]
mov r9, qword [0x005dc710]
mov r10, qword [rsp + 0x70]
cmp rdx, r10
je 0x4c868f
xor edx, edx
jmp 0x4c86c9
mov rax, r9
mov rbx, qword [rsp + 0xf8]
mov rcx, rdx
nop dword [rax]
call fcn.00402a00
mov rcx, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x48]
mov r10, qword [rsp + 0x70]
mov edx, eax
mov rax, qword [rsp + 0x88]
test dl, dl
jne 0x4c86d1
xor edx, edx
jmp 0x4c8721
mov rdx, qword [0x005dc720]
mov r9, qword [0x005dc728]
mov r10, qword [0x005dc730]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, rdx
mov rbx, r9
mov rcx, r10
call fcn.004945c0
mov rcx, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x48]
mov r10, qword [rsp + 0x70]
mov edx, eax
mov rax, qword [rsp + 0x88]
test dl, dl
je 0x4c8795
cmp qword [0x005dc738], rdi
jne 0x4c8795
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x110]
movabs rdi, 0x12a05f200
call fcn.00495020
mov qword [0x005dc6f8], rax
mov qword [0x005dc700], rbx
cmp dword [0x00630760], 0
jne 0x4c8775
mov qword [0x005dc708], rcx
jmp 0x4c8785
lea rdi, [0x005dc708]
nop dword [rax]
call fcn.00463600
mov rbp, qword [rsp + 0x130]
add rsp, 0x138
ret
call fcn.0040dca0
mov qword [rsp + 0xf0], rax
call fcn.0040dca0
mov qword [rsp + 0xe8], rax
mov rbx, qword [rsp + 0x70]
mov rax, qword [rsp + 0xf8]
nop dword [rax]
call fcn.004d47a0
test rax, rax
je 0x4c87d9
mov qword [rsp + 0x100], rax
call fcn.004d4640
jmp 0x4c87f6
mov rbp, qword [rsp + 0x130]
add rsp, 0x138
ret
mov rax, qword [rsp + 0x100]
call fcn.004d4640
test cl, cl
je 0x4c88b2
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0xe0], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x23
call fcn.00402ec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x4c884b
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jae 0x4c8850
jmp 0x4c8d60
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0xe0]
mov rbx, rcx
lea rcx, [0x00508f72]
mov edi, 4
call fcn.004d4a40
cmp rbx, 2
jl 0x4c87e9
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0xc8], rax
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
call fcn.004c8460
test rbx, rbx
je 0x4c87e9
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x78], rbx
mov ecx, 1
jmp 0x4c8a1b
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x110]
movabs rdi, 0x12a05f200
call fcn.00495020
mov qword [0x005dc6f8], rax
mov qword [0x005dc700], rbx
cmp dword [0x00630760], 0
jne 0x4c88f9
mov qword [0x005dc708], rcx
jmp 0x4c8905
lea rdi, [0x005dc708]
call fcn.00463600
mov rcx, qword [rsp + 0x70]
mov qword [0x005dc718], rcx
cmp dword [0x00630760], 0
jne 0x4c8949
mov rcx, qword [rsp + 0xf8]
mov qword [0x005dc710], rcx
mov rcx, qword [rsp + 0xf0]
mov qword [0x005dc6e8], rcx
mov rcx, qword [rsp + 0xe8]
mov qword [0x005dc6f0], rcx
jmp 0x4c8985
lea rdi, [0x005dc710]
mov rcx, qword [rsp + 0xf8]
call fcn.00463600
lea rdi, [0x005dc6e8]
mov rcx, qword [rsp + 0xf0]
call fcn.00463600
lea rdi, [0x005dc6f0]
mov rcx, qword [rsp + 0xe8]
call fcn.00463600
mov rcx, qword [rsp + 0x88]
mov qword [0x005dc720], rcx
mov rcx, qword [rsp + 0x80]
mov qword [0x005dc728], rcx
cmp dword [0x00630760], 0
jne 0x4c89bd
mov rcx, qword [rsp + 0x128]
mov qword [0x005dc730], rcx
jmp 0x4c89d1
lea rdi, [0x005dc730]
mov rcx, qword [rsp + 0x128]
call fcn.00463600
mov rcx, qword [rsp + 0x48]
mov qword [0x005dc738], rcx
nop
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx]
test rcx, rcx
je 0x4c89f6
mov rax, qword [rcx]
call fcn.004a0d20
mov rbp, qword [rsp + 0x130]
add rsp, 0x138
ret
mov rcx, qword [rsp + 0x68]
inc rcx
mov rax, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
cmp rdx, rcx
jle 0x4c87e9
mov qword [rsp + 0x68], rcx
shl rcx, 4
mov qword [rsp + 0xa0], rcx
mov rdx, qword [rsp + 0xc8]
mov rbx, qword [rdx + rcx + 8]
mov qword [rsp + 0x58], rbx
mov rsi, qword [rdx + rcx]
mov qword [rsp + 0xd8], rsi
mov qword [rsp], rsi
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call fcn.00402ec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x4c8ad0
mov rax, qword [rsp + 0x58]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x4c8d51
mov rbx, qword [rsp + 0xd8]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x4c8add
mov rcx, rax
lea rdi, [0x00508d7e]
mov esi, 1
xor eax, eax
nop dword [rax]
call fcn.0044e320
mov rcx, rbx
mov rbx, rax
mov rax, rcx
jmp 0x4c8add
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xd8], rbx
mov rdx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xc8]
mov rdi, qword [rsi + rdx]
mov rcx, qword [rsi + rdx + 8]
lea rax, [rsp + 0xa8]
mov rbx, rdi
call fcn.0044e860
xor ecx, ecx
jmp 0x4c8d28
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044e6c0
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call fcn.00402ec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x4c8ba8
mov rax, qword [rsp + 0x50]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x4c8d46
mov rbx, qword [rsp + 0xd0]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x4c8bb5
mov rcx, rax
lea rdi, [0x00508d7e]
mov esi, 1
xor eax, eax
call fcn.0044e320
mov rcx, rax
mov rax, rbx
mov rbx, rcx
jmp 0x4c8bb5
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xd0]
mov rcx, rbx
mov rdi, rax
lea rax, [0x004eeba0]
mov rbx, qword [rsp + 0xf0]
call fcn.00412240
mov rsi, qword [rax + 8]
mov rbx, qword [rax]
mov rdi, qword [rax + 0x10]
lea rdx, [rsi + 1]
nop
cmp rdi, rdx
jae 0x4c8c27
mov qword [rsp + 0x120], rax
lea rax, [0x004ea4e0]
mov rcx, rsi
mov rsi, rdx
call fcn.0044a800
mov rdi, qword [rsp + 0x120]
mov qword [rdi + 0x10], rcx
cmp dword [0x00630760], 0
jne 0x4c8c19
mov qword [rdi], rax
jmp 0x4c8c1e
call fcn.00463500
mov rsi, rbx
mov rbx, rax
mov rax, rdi
lea rdx, [rsi + 1]
mov qword [rax + 8], rdx
shl rsi, 4
mov rdi, qword [rsp + 0x78]
mov qword [rbx + rsi + 8], rdi
lea rdx, [rbx + rsi]
cmp dword [0x00630760], 0
jne 0x4c8c58
mov rcx, qword [rsp + 0x108]
mov qword [rbx + rsi], rcx
jmp 0x4c8c6e
mov rax, rdi
mov rdi, rdx
mov rcx, qword [rsp + 0x108]
call fcn.00463600
mov rdi, rax
lea rax, [0x004eeba0]
mov rbx, qword [rsp + 0xe8]
nop dword [rax]
call fcn.00412240
mov rsi, qword [rax + 8]
mov rbx, qword [rax]
mov rdi, qword [rax + 0x10]
lea rdx, [rsi + 1]
cmp rdi, rdx
jae 0x4c8cdb
mov qword [rsp + 0x118], rax
lea rax, [0x004ea4e0]
mov rcx, rsi
mov rsi, rdx
call fcn.0044a800
mov rdi, qword [rsp + 0x118]
mov qword [rdi + 0x10], rcx
cmp dword [0x00630760], 0
jne 0x4c8ccd
mov qword [rdi], rax
jmp 0x4c8cd2
call fcn.00463500
mov rsi, rbx
mov rbx, rax
mov rax, rdi
lea rcx, [rsi + 1]
mov qword [rax + 8], rcx
shl rsi, 4
mov rcx, qword [rsp + 0x58]
mov qword [rbx + rsi + 8], rcx
lea rdi, [rbx + rsi]
cmp dword [0x00630760], 0
jne 0x4c8d0f
mov rcx, qword [rsp + 0xd8]
mov qword [rbx + rsi], rcx
jmp 0x4c8a06
mov rcx, qword [rsp + 0xd8]
call fcn.00463600
nop dword [rax]
jmp 0x4c8a06
inc rcx
cmp rbx, rcx
jle 0x4c8b1a
movzx edx, byte [rax + rcx]
lea esi, [rdx - 0x41]
cmp sil, 0x19
ja 0x4c8d25
add edx, 0x20
mov byte [rax + rcx], dl
jmp 0x4c8d25
mov rcx, rax
mov rax, rdx
call fcn.004639a0
mov rcx, rax
mov rax, rdx
call fcn.004639a0
nop dword [rax]
call fcn.004639e0
nop
call fcn.004612c0
jmp fcn.004c8540