Function at 0x4c5160
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0xb8]
cmp r12, qword [r14 + 0x10]
jbe 0x4c5986
sub rsp, 0x138
mov qword [rsp + 0x130], rbp
lea rbp, [rsp + 0x130]
call fcn.00480000
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x110], rcx
mov rdx, qword [0x005d2660]
mov qword [rsp + 0xf8], rdx
mov rsi, qword [0x005d2668]
mov qword [rsp + 0x70], rsi
mov rdi, qword [0x005da6f8]
mov r8, qword [0x005da700]
mov r9, qword [0x005da708]
mov rsi, r8
mov r8, r9
nop dword [rax]
call fcn.0047ee20
test al, al
je 0x4c521d
mov rcx, qword [0x005da718]
mov rax, qword [0x005da710]
mov rbx, qword [rsp + 0x70]
nop dword [rax]
cmp rcx, rbx
je 0x4c5209
xor eax, eax
jmp 0x4c5224
mov rbx, qword [rsp + 0xf8]
call fcn.00402a00
mov rbx, qword [rsp + 0x70]
jmp 0x4c5224
mov rbx, qword [rsp + 0x70]
xor eax, eax
test al, al
je 0x4c5255
mov rcx, qword [0x005da6e8]
test rcx, rcx
je 0x4c5239
mov rcx, qword [rcx]
jmp 0x4c5240
xor ecx, ecx
nop dword [rax + rax]
test rcx, rcx
jle 0x4c5255
mov rbp, qword [rsp + 0x130]
add rsp, 0x138
ret
mov rax, qword [rsp + 0xf8]
nop dword [rax]
call fcn.004d1440
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x48], rdi
test rsi, rsi
je 0x4c5293
mov r10, qword [rsp + 0x70]
xor edx, edx
jmp 0x4c5341
mov rdx, qword [0x005da718]
mov r9, qword [0x005da710]
mov r10, qword [rsp + 0x70]
cmp rdx, r10
je 0x4c52af
xor edx, edx
jmp 0x4c52e9
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 0x4c52f1
xor edx, edx
jmp 0x4c5341
mov rdx, qword [0x005da720]
mov r9, qword [0x005da728]
mov r10, qword [0x005da730]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, rdx
mov rbx, r9
mov rcx, r10
call fcn.0047eee0
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 0x4c53b5
cmp qword [0x005da738], rdi
jne 0x4c53b5
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x110]
movabs rdi, 0x12a05f200
call fcn.0047f940
mov qword [0x005da6f8], rax
mov qword [0x005da700], rbx
cmp dword [0x0062e740], 0
jne 0x4c5395
mov qword [0x005da708], rcx
jmp 0x4c53a5
lea rdi, [0x005da708]
nop dword [rax]
call fcn.004630a0
mov rbp, qword [rsp + 0x130]
add rsp, 0x138
ret
call fcn.0040dd00
mov qword [rsp + 0xf0], rax
call fcn.0040dd00
mov qword [rsp + 0xe8], rax
mov rbx, qword [rsp + 0x70]
mov rax, qword [rsp + 0xf8]
nop dword [rax]
call fcn.004d1340
test rax, rax
je 0x4c53f9
mov qword [rsp + 0x100], rax
call fcn.004d11e0
jmp 0x4c5416
mov rbp, qword [rsp + 0x130]
add rsp, 0x138
ret
mov rax, qword [rsp + 0x100]
call fcn.004d11e0
test cl, cl
je 0x4c54d2
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.00402ea0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x4c546b
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jae 0x4c5470
jmp 0x4c5980
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0xe0]
mov rbx, rcx
lea rcx, [0x005074ac]
mov edi, 4
call fcn.004d15e0
cmp rbx, 2
jl 0x4c5409
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0xc8], rax
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
call fcn.004c5080
test rbx, rbx
je 0x4c5409
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x78], rbx
mov ecx, 1
jmp 0x4c563b
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x110]
movabs rdi, 0x12a05f200
call fcn.0047f940
mov qword [0x005da6f8], rax
mov qword [0x005da700], rbx
cmp dword [0x0062e740], 0
jne 0x4c5519
mov qword [0x005da708], rcx
jmp 0x4c5525
lea rdi, [0x005da708]
call fcn.004630a0
mov rcx, qword [rsp + 0x70]
mov qword [0x005da718], rcx
cmp dword [0x0062e740], 0
jne 0x4c5569
mov rcx, qword [rsp + 0xf8]
mov qword [0x005da710], rcx
mov rcx, qword [rsp + 0xf0]
mov qword [0x005da6e8], rcx
mov rcx, qword [rsp + 0xe8]
mov qword [0x005da6f0], rcx
jmp 0x4c55a5
lea rdi, [0x005da710]
mov rcx, qword [rsp + 0xf8]
call fcn.004630a0
lea rdi, [0x005da6e8]
mov rcx, qword [rsp + 0xf0]
call fcn.004630a0
lea rdi, [0x005da6f0]
mov rcx, qword [rsp + 0xe8]
call fcn.004630a0
mov rcx, qword [rsp + 0x88]
mov qword [0x005da720], rcx
mov rcx, qword [rsp + 0x80]
mov qword [0x005da728], rcx
cmp dword [0x0062e740], 0
jne 0x4c55dd
mov rcx, qword [rsp + 0x128]
mov qword [0x005da730], rcx
jmp 0x4c55f1
lea rdi, [0x005da730]
mov rcx, qword [rsp + 0x128]
call fcn.004630a0
mov rcx, qword [rsp + 0x48]
mov qword [0x005da738], rcx
nop
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx]
test rcx, rcx
je 0x4c5616
mov rax, qword [rcx]
call fcn.00490b40
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 0x4c5409
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.00402ea0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x4c56f0
mov rax, qword [rsp + 0x58]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x4c5971
mov rbx, qword [rsp + 0xd8]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x4c56fd
mov rcx, rax
lea rdi, [0x005072c0]
mov esi, 1
xor eax, eax
nop dword [rax]
call fcn.0044e3a0
mov rcx, rbx
mov rbx, rax
mov rax, rcx
jmp 0x4c56fd
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.0044e8e0
xor ecx, ecx
jmp 0x4c5948
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044e740
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.00402ea0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x4c57c8
mov rax, qword [rsp + 0x50]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x4c5966
mov rbx, qword [rsp + 0xd0]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x4c57d5
mov rcx, rax
lea rdi, [0x005072c0]
mov esi, 1
xor eax, eax
call fcn.0044e3a0
mov rcx, rax
mov rax, rbx
mov rbx, rcx
jmp 0x4c57d5
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xd0]
mov rcx, rbx
mov rdi, rax
lea rax, [0x004ee360]
mov rbx, qword [rsp + 0xf0]
call fcn.004122a0
mov rsi, qword [rax + 8]
mov rbx, qword [rax]
mov rdi, qword [rax + 0x10]
lea rdx, [rsi + 1]
nop
cmp rdi, rdx
jae 0x4c5847
mov qword [rsp + 0x120], rax
lea rax, [0x004e9d60]
mov rcx, rsi
mov rsi, rdx
call fcn.0044a880
mov rdi, qword [rsp + 0x120]
mov qword [rdi + 0x10], rcx
cmp dword [0x0062e740], 0
jne 0x4c5839
mov qword [rdi], rax
jmp 0x4c583e
call fcn.00462fa0
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 [0x0062e740], 0
jne 0x4c5878
mov rcx, qword [rsp + 0x108]
mov qword [rbx + rsi], rcx
jmp 0x4c588e
mov rax, rdi
mov rdi, rdx
mov rcx, qword [rsp + 0x108]
call fcn.004630a0
mov rdi, rax
lea rax, [0x004ee360]
mov rbx, qword [rsp + 0xe8]
nop dword [rax]
call fcn.004122a0
mov rsi, qword [rax + 8]
mov rbx, qword [rax]
mov rdi, qword [rax + 0x10]
lea rdx, [rsi + 1]
cmp rdi, rdx
jae 0x4c58fb
mov qword [rsp + 0x118], rax
lea rax, [0x004e9d60]
mov rcx, rsi
mov rsi, rdx
call fcn.0044a880
mov rdi, qword [rsp + 0x118]
mov qword [rdi + 0x10], rcx
cmp dword [0x0062e740], 0
jne 0x4c58ed
mov qword [rdi], rax
jmp 0x4c58f2
call fcn.00462fa0
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 [0x0062e740], 0
jne 0x4c592f
mov rcx, qword [rsp + 0xd8]
mov qword [rbx + rsi], rcx
jmp 0x4c5626
mov rcx, qword [rsp + 0xd8]
call fcn.004630a0
nop dword [rax]
jmp 0x4c5626
inc rcx
cmp rbx, rcx
jle 0x4c573a
movzx edx, byte [rax + rcx]
lea esi, [rdx - 0x41]
cmp sil, 0x19
ja 0x4c5945
add edx, 0x20
mov byte [rax + rcx], dl
jmp 0x4c5945
mov rcx, rax
mov rax, rdx
call fcn.00463440
mov rcx, rax
mov rax, rdx
call fcn.00463440
nop dword [rax]
call fcn.00463480
nop
call fcn.00460d60
jmp fcn.004c5160