Function at 0x509740
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x90]
cmp r12, qword [r14 + 0x10]
jbe 0x509f90
sub rsp, 0x110
mov qword [rsp + 0x108], rbp
lea rbp, [rsp + 0x108]
mov qword [rsp + 0xd8], rax
lea rax, [0x0053c160]
call fcn.0040d7c0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xd8]
call fcn.0050a5e0
jmp 0x5097a5
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call fcn.0050a5e0
test cl, cl
je 0x509872
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 [0x006a2ee0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x5097f9
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jae 0x5097fe
jmp 0x509f8a
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0xa8]
jmp 0x5098a0
test rcx, rcx
je 0x509794
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 [0x006a2ee0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x5098ea
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jb 0x509f85
mov rax, qword [rsp + 0xa8]
mov rbx, rcx
mov rsi, rax
jmp 0x509965
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 0x5098c1
movzx edx, byte [rax]
cmp dl, 0x20
je 0x50988a
cmp dl, 9
je 0x50988a
cmp dl, 0xa
je 0x50988a
cmp dl, 0xd
je 0x50988a
jmp 0x5098c1
dec rcx
test rcx, rcx
je 0x509794
movzx edx, byte [rax + rcx - 1]
cmp dl, 0x20
je 0x5098be
cmp dl, 9
je 0x5098be
cmp dl, 0xa
je 0x5098be
nop
cmp dl, 0xd
je 0x5098be
jmp 0x50980b
lea rax, [0x00533a20]
call fcn.0040d7c0
mov qword [rax + 8], 0x10
lea rcx, [0x00551fe7]
mov qword [rax], rcx
lea rcx, [0x00582828]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x006a2ff0], 0
jne 0x50992a
mov qword [rdi + 0x20], rax
jmp 0x50993c
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00464ea0
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 0x50998b
movzx edi, byte [rax]
cmp dil, 0x20
je 0x50994f
cmp dil, 9
je 0x50994f
cmp dil, 0xa
je 0x50994f
nop
cmp dil, 0xd
je 0x50994f
jmp 0x50998b
dec rcx
test rcx, rcx
je 0x5099b2
movzx edi, byte [rax + rcx - 1]
cmp dil, 0x20
je 0x509988
nop dword [rax + rax]
cmp dil, 9
je 0x509988
cmp dil, 0xa
je 0x509988
cmp dil, 0xd
je 0x509988
lea rdi, [rbx + 1]
cmp rdx, rdi
jb 0x509f75
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 0x5099ff
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xc8]
nop
jmp 0x509d6b
test rbx, rbx
je 0x509794
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 [0x006a2ee0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x509a8d
mov rdx, qword [rsp + 0x50]
cmp rdx, rcx
jb 0x509f70
lea rax, [rcx + 1]
nop dword [rax]
cmp rdx, rax
jb 0x509f68
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 0x509f10
xor eax, eax
xor ecx, ecx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rdx
nop dword [rax + rax]
test rax, rax
je 0x509ba7
cmp byte [rcx], 0x5b
je 0x509ab9
xor ebx, ebx
xor esi, esi
xor edi, edi
jmp 0x509bad
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 [0x006a2ee0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x509e74
mov rdx, qword [rsp + 0x88]
cmp rdx, rcx
jb 0x509ef5
cmp rcx, 1
jb 0x509ee9
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.00509fc0
test rdi, rdi
jne 0x509dbd
mov rdx, qword [rsp + 0x78]
lea rsi, [rdx + 1]
mov r8, qword [rsp + 0x88]
cmp r8, rsi
jb 0x509ede
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 0x509bad
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 0x509c35
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0xb0], rdi
nop dword [rax + rax]
call fcn.0040e300
cmp dword [0x006a2ff0], 0
jne 0x509bfc
mov rdx, qword [rsp + 0xb8]
mov qword [rdx + 0x28], rax
jmp 0x509c16
mov rdi, qword [rsp + 0xb8]
lea rdx, [rdi + 0x28]
mov rcx, rdi
mov rdi, rdx
call fcn.00464ea0
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, [0x0052f300]
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x40]
call fcn.00412bc0
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
cmp rcx, rbx
jae 0x509cf2
mov qword [rsp + 0xc0], rax
mov rax, rdx
mov edi, 1
lea rsi, [0x0053af00]
call fcn.0044a2a0
mov rdi, qword [rsp + 0xc0]
mov qword [rdi + 0x10], rcx
cmp dword [0x006a2ff0], 0
nop
jne 0x509ce7
mov qword [rdi], rax
jmp 0x509cec
call fcn.00464ea0
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 [0x006a2ff0], 0
jne 0x509d3c
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 0x5099e5
lea rax, [0x0053af00]
lea rcx, [rsp + 0xe0]
call fcn.00413820
jmp 0x5099e5
dec rbx
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
add rdx, rbx
mov rbx, rsi
test rbx, rbx
je 0x509d91
movzx esi, byte [rdx]
cmp sil, 0x20
je 0x509d55
cmp sil, 9
je 0x509d55
nop
cmp sil, 0xa
je 0x509d55
cmp sil, 0xd
je 0x509d55
jmp 0x509d91
dec rbx
test rbx, rbx
je 0x509794
movzx esi, byte [rbx + rdx - 1]
nop
cmp sil, 0x20
je 0x509d8e
cmp sil, 9
je 0x509d8e
cmp sil, 0xa
je 0x509d8e
cmp sil, 0xd
je 0x509d8e
jmp 0x509a05
xor eax, eax
lea rbx, [0x00552874]
mov ecx, 0x12
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0x80]
nop dword [rax + rax]
call fcn.0044e0e0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x48], rbx
lea rax, [0x00533a20]
call fcn.0040d7c0
mov rdx, qword [rsp + 0x48]
mov qword [rax + 8], rdx
cmp dword [0x006a2ff0], 0
jne 0x509e1d
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
jmp 0x509e2d
mov rdi, rax
mov rcx, qword [rsp + 0x98]
call fcn.00464fa0
lea rcx, [0x00582828]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x006a2ff0], 0
jne 0x509e4f
mov qword [rdi + 0x20], rax
jmp 0x509e61
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00464ea0
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
lea rax, [0x00533a20]
nop dword [rax + rax]
call fcn.0040d7c0
mov qword [rax + 8], 0x1a
lea rcx, [0x00555732]
mov qword [rax], rcx
lea rcx, [0x00582828]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x006a2ff0], 0
jne 0x509eb9
mov qword [rdi + 0x20], rax
jmp 0x509ecb
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00464ea0
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
mov rax, rsi
mov rcx, r8
call fcn.00465400
mov eax, 1
xor ecx, ecx
call fcn.00465400
call fcn.00465380
dec rsi
mov r9, rsi
neg rsi
sar rsi, 0x3f
and esi, 1
add r8, rsi
mov rsi, r9
test rsi, rsi
je 0x509f37
movzx r9d, byte [r8]
cmp r9b, 0x20
je 0x509efa
nop
cmp r9b, 9
je 0x509efa
cmp r9b, 0xa
je 0x509efa
cmp r9b, 0xd
je 0x509efa
jmp 0x509f37
dec rsi
test rsi, rsi
je 0x509f5a
movzx r9d, byte [rsi + r8 - 1]
cmp r9b, 0x20
je 0x509f34
cmp r9b, 9
je 0x509f34
cmp r9b, 0xa
je 0x509f34
cmp r9b, 0xd
je 0x509f34
mov rax, rsi
mov rdx, rcx
mov rcx, r8
jmp 0x509a96
mov rcx, rdx
call fcn.00465400
call fcn.00465380
mov rax, rdi
mov rcx, rdx
nop dword [rax + rax]
call fcn.00465400
call fcn.00465380
call fcn.00465380
nop
mov qword [rsp + 8], rax
call fcn.00462ce0
mov rax, qword [rsp + 8]
nop
jmp fcn.00509740