Function at 0x4d9980
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x90]
cmp r12, qword [r14 + 0x10]
jbe 0x4da1d0
sub rsp, 0x110
mov qword [rsp + 0x108], rbp
lea rbp, [rsp + 0x108]
mov qword [rsp + 0xd8], rax
lea rax, [0x00507960]
call fcn.0040d720
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xd8]
call fcn.004da820
jmp 0x4d99e5
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call fcn.004da820
test cl, cl
je 0x4d9ab2
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0xa8], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x23
call fcn.00403220
xorps xmm15, xmm15
mov r14, qword [0x0064d418]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4d9a39
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jae 0x4d9a3e
jmp 0x4da1ca
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0xa8]
jmp 0x4d9ae0
test rcx, rcx
je 0x4d99d4
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0xa8], rax
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0x3a
call fcn.00403220
xorps xmm15, xmm15
mov r14, qword [0x0064d418]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4d9b2a
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jb 0x4da1c5
mov rax, qword [rsp + 0xa8]
mov rbx, rcx
mov rsi, rax
jmp 0x4d9ba5
mov rax, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
dec rcx
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and ecx, 1
add rax, rcx
mov rcx, rdx
test rcx, rcx
je 0x4d9b01
movzx edx, byte [rax]
cmp dl, 0x20
je 0x4d9aca
cmp dl, 9
je 0x4d9aca
cmp dl, 0xa
je 0x4d9aca
cmp dl, 0xd
je 0x4d9aca
jmp 0x4d9b01
dec rcx
test rcx, rcx
je 0x4d99d4
movzx edx, byte [rax + rcx - 1]
cmp dl, 0x20
je 0x4d9afe
cmp dl, 9
je 0x4d9afe
cmp dl, 0xa
je 0x4d9afe
nop
cmp dl, 0xd
je 0x4d9afe
jmp 0x4d9a4b
lea rax, [0x00500940]
call fcn.0040d720
mov qword [rax + 8], 0x10
lea rcx, [0x0051bf16]
mov qword [rax], rcx
lea rcx, [0x005463b8]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x0064d510], 0
jne 0x4d9b6a
mov qword [rdi + 0x20], rax
jmp 0x4d9b7c
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00463d00
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
dec rcx
mov rdi, rcx
neg rcx
sar rcx, 0x3f
and ecx, 1
add rax, rcx
mov rcx, rdi
test rcx, rcx
je 0x4d9bcb
movzx edi, byte [rax]
cmp dil, 0x20
je 0x4d9b8f
cmp dil, 9
je 0x4d9b8f
cmp dil, 0xa
je 0x4d9b8f
nop
cmp dil, 0xd
je 0x4d9b8f
jmp 0x4d9bcb
dec rcx
test rcx, rcx
je 0x4d9bf2
movzx edi, byte [rax + rcx - 1]
cmp dil, 0x20
je 0x4d9bc8
nop dword [rax + rax]
cmp dil, 9
je 0x4d9bc8
cmp dil, 0xa
je 0x4d9bc8
cmp dil, 0xd
je 0x4d9bc8
lea rdi, [rbx + 1]
cmp rdx, rdi
jb 0x4da1b5
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x90], rax
sub rdx, rbx
dec rdx
mov rbx, rdx
neg rdx
sar rdx, 0x3f
and rdi, rdx
lea rdx, [rsi + rdi]
jmp 0x4d9c3f
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xc8]
nop
jmp 0x4d9fab
test rbx, rbx
je 0x4d99d4
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0x50], rbx
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x20
call fcn.00403220
xorps xmm15, xmm15
mov r14, qword [0x0064d418]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4d9ccd
mov rdx, qword [rsp + 0x50]
cmp rdx, rcx
jb 0x4da1b0
lea rax, [rcx + 1]
nop dword [rax]
cmp rdx, rax
jb 0x4da1a8
sub rdx, rcx
dec rdx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
mov rdx, qword [rsp + 0xa0]
lea r8, [rdx + rax]
jmp 0x4da150
xor eax, eax
xor ecx, ecx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rdx
nop dword [rax + rax]
test rax, rax
je 0x4d9de7
cmp byte [rcx], 0x5b
je 0x4d9cf9
xor ebx, ebx
xor esi, esi
xor edi, edi
jmp 0x4d9ded
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0x88], rax
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], 0x5d
call fcn.00403220
xorps xmm15, xmm15
mov r14, qword [0x0064d418]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4da0b4
mov rdx, qword [rsp + 0x88]
cmp rdx, rcx
jb 0x4da135
cmp rcx, 1
jb 0x4da129
mov qword [rsp + 0x78], rcx
lea rbx, [rcx - 1]
mov qword [rsp + 0x80], rbx
mov rdx, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
mov rsi, qword [rsp + 0xd0]
lea rax, [rsi + rbx]
mov qword [rsp + 0xc8], rax
mov rbx, rdx
call fcn.004da200
test rdi, rdi
jne 0x4d9ffd
mov rdx, qword [rsp + 0x78]
lea rsi, [rdx + 1]
mov r8, qword [rsp + 0x88]
cmp r8, rsi
jb 0x4da11e
sub r8, rdx
lea rdx, [r8 - 1]
mov r8, rdx
neg rdx
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0xd0]
add rdx, rsi
mov rsi, rcx
mov rdi, rax
mov rax, r8
mov rcx, rdx
mov rdx, qword [rsp + 0x58]
jmp 0x4d9ded
xor ebx, ebx
xor esi, esi
xor edi, edi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0xc8], rcx
mov r8, qword [rsp + 0xb8]
cmp qword [r8 + 0x28], 0
jne 0x4d9e75
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0xb0], rdi
nop dword [rax + rax]
call fcn.0040e260
cmp dword [0x0064d510], 0
jne 0x4d9e3c
mov rdx, qword [rsp + 0xb8]
mov qword [rdx + 0x28], rax
jmp 0x4d9e56
mov rdi, qword [rsp + 0xb8]
lea rdx, [rdi + 0x28]
mov rcx, rdi
mov rdi, rdx
call fcn.00463d00
mov rdx, rcx
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xe8], xmm15
movups xmmword [rsp + 0xf8], xmm15
mov r9, qword [rsp + 0xa0]
mov qword [rsp + 0xe0], r9
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rsi
mov rbx, qword [r8 + 0x28]
lea rax, [0x004fcc00]
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x40]
call fcn.00412800
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
cmp rcx, rbx
jae 0x4d9f32
mov qword [rsp + 0xc0], rax
mov rax, rdx
mov edi, 1
lea rsi, [0x00506a00]
call fcn.00449e80
mov rdi, qword [rsp + 0xc0]
mov qword [rdi + 0x10], rcx
cmp dword [0x0064d510], 0
nop
jne 0x4d9f27
mov qword [rdi], rax
jmp 0x4d9f2c
call fcn.00463d00
mov rdx, rax
mov rax, rdi
mov qword [rax + 8], rbx
lea rsi, [rbx + rbx*4]
lea rbx, [rdx + rsi*8]
lea rbx, [rbx - 0x28]
cmp dword [0x0064d510], 0
jne 0x4d9f7c
mov rcx, qword [rsp + 0xe0]
mov qword [rdx + rsi*8 - 0x28], rcx
lea rcx, [rdx + rsi*8]
lea rcx, [rcx - 0x20]
movups xmm0, xmmword [rsp + 0xe8]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rsp + 0xf8]
movups xmmword [rcx + 0x10], xmm0
jmp 0x4d9c25
lea rax, [0x00506a00]
lea rcx, [rsp + 0xe0]
call fcn.00413460
jmp 0x4d9c25
dec rbx
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
add rdx, rbx
mov rbx, rsi
test rbx, rbx
je 0x4d9fd1
movzx esi, byte [rdx]
cmp sil, 0x20
je 0x4d9f95
cmp sil, 9
je 0x4d9f95
nop
cmp sil, 0xa
je 0x4d9f95
cmp sil, 0xd
je 0x4d9f95
jmp 0x4d9fd1
dec rbx
test rbx, rbx
je 0x4d99d4
movzx esi, byte [rbx + rdx - 1]
nop
cmp sil, 0x20
je 0x4d9fce
cmp sil, 9
je 0x4d9fce
cmp sil, 0xa
je 0x4d9fce
cmp sil, 0xd
je 0x4d9fce
jmp 0x4d9c45
xor eax, eax
lea rbx, [0x0051c6e2]
mov ecx, 0x12
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0x80]
nop dword [rax + rax]
call fcn.0044dc00
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x48], rbx
lea rax, [0x00500940]
call fcn.0040d720
mov rdx, qword [rsp + 0x48]
mov qword [rax + 8], rdx
cmp dword [0x0064d510], 0
jne 0x4da05d
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
jmp 0x4da06d
mov rdi, rax
mov rcx, qword [rsp + 0x98]
call fcn.00463e00
lea rcx, [0x005463b8]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x0064d510], 0
jne 0x4da08f
mov qword [rdi + 0x20], rax
jmp 0x4da0a1
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00463d00
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
lea rax, [0x00500940]
nop dword [rax + rax]
call fcn.0040d720
mov qword [rax + 8], 0x1a
lea rcx, [0x0051f2d0]
mov qword [rax], rcx
lea rcx, [0x005463b8]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x0064d510], 0
jne 0x4da0f9
mov qword [rdi + 0x20], rax
jmp 0x4da10b
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00463d00
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
mov rax, rsi
mov rcx, r8
call fcn.00464260
mov eax, 1
xor ecx, ecx
call fcn.00464260
call fcn.004641e0
dec rsi
mov r9, rsi
neg rsi
sar rsi, 0x3f
and esi, 1
add r8, rsi
mov rsi, r9
test rsi, rsi
je 0x4da177
movzx r9d, byte [r8]
cmp r9b, 0x20
je 0x4da13a
nop
cmp r9b, 9
je 0x4da13a
cmp r9b, 0xa
je 0x4da13a
cmp r9b, 0xd
je 0x4da13a
jmp 0x4da177
dec rsi
test rsi, rsi
je 0x4da19a
movzx r9d, byte [rsi + r8 - 1]
cmp r9b, 0x20
je 0x4da174
cmp r9b, 9
je 0x4da174
cmp r9b, 0xa
je 0x4da174
cmp r9b, 0xd
je 0x4da174
mov rax, rsi
mov rdx, rcx
mov rcx, r8
jmp 0x4d9cd6
mov rcx, rdx
call fcn.00464260
call fcn.004641e0
mov rax, rdi
mov rcx, rdx
nop dword [rax + rax]
call fcn.00464260
call fcn.004641e0
call fcn.004641e0
nop
mov qword [rsp + 8], rax
call fcn.00461b40
mov rax, qword [rsp + 8]
nop
jmp fcn.004d9980