Function at 0x515020
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x120]
cmp r12, qword [r14 + 0x10]
jbe 0x515b0b
sub rsp, 0x1a0
mov qword [rsp + 0x198], rbp
lea rbp, [rsp + 0x198]
call fcn.004a8160
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x140], rcx
mov rdx, qword [0x007a0870]
mov qword [rsp + 0x110], rdx
mov rsi, qword [0x007a0878]
mov qword [rsp + 0x78], rsi
mov rdi, qword [0x007af8f8]
mov r8, qword [0x007af900]
mov r9, qword [0x007af908]
mov rsi, r8
mov r8, r9
nop dword [rax]
call fcn.004a6ea0
test al, al
je 0x5150dd
mov rcx, qword [0x007af918]
mov rax, qword [0x007af910]
mov rbx, qword [rsp + 0x78]
nop dword [rax]
cmp rcx, rbx
je 0x5150c9
xor eax, eax
jmp 0x5150e4
mov rbx, qword [rsp + 0x110]
call fcn.00402de0
mov rbx, qword [rsp + 0x78]
jmp 0x5150e4
mov rbx, qword [rsp + 0x78]
xor eax, eax
test al, al
je 0x515115
mov rcx, qword [0x007af8e8]
test rcx, rcx
je 0x5150f9
mov rcx, qword [rcx]
jmp 0x515100
xor ecx, ecx
nop dword [rax + rax]
test rcx, rcx
jle 0x515115
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rax, qword [rsp + 0x110]
nop dword [rax]
call fcn.00521be0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x50], rdi
test rsi, rsi
je 0x515153
mov r10, qword [rsp + 0x78]
xor edx, edx
jmp 0x515201
mov rdx, qword [0x007af918]
mov r9, qword [0x007af910]
mov r10, qword [rsp + 0x78]
cmp rdx, r10
je 0x51516f
xor edx, edx
jmp 0x5151a9
mov rax, r9
mov rbx, qword [rsp + 0x110]
mov rcx, rdx
nop dword [rax]
call fcn.00402de0
mov rcx, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x50]
mov r10, qword [rsp + 0x78]
mov edx, eax
mov rax, qword [rsp + 0xa0]
test dl, dl
jne 0x5151b1
xor edx, edx
jmp 0x515201
mov rdx, qword [0x007af920]
mov r9, qword [0x007af928]
mov r10, qword [0x007af930]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, rdx
mov rbx, r9
mov rcx, r10
call fcn.004a6f60
mov rcx, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x50]
mov r10, qword [rsp + 0x78]
mov edx, eax
mov rax, qword [rsp + 0xa0]
test dl, dl
je 0x515275
cmp qword [0x007af938], rdi
jne 0x515275
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
movabs rdi, 0x12a05f200
call fcn.004a7960
mov qword [0x007af8f8], rax
mov qword [0x007af900], rbx
cmp dword [0x00803600], 0
jne 0x515255
mov qword [0x007af908], rcx
jmp 0x515265
lea rdi, [0x007af908]
nop dword [rax]
call fcn.00465700
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
call fcn.0040e560
mov qword [rsp + 0x108], rax
call fcn.0040e560
mov qword [rsp + 0x100], rax
mov rbx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x110]
nop dword [rax]
call fcn.00521ae0
test rax, rax
je 0x5152b9
mov qword [rsp + 0x118], rax
call fcn.005218c0
jmp 0x5152d6
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rax, qword [rsp + 0x118]
call fcn.005218c0
test cl, cl
je 0x515398
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0xf0], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x23
call fcn.004032e0
xorps xmm15, xmm15
mov r14, qword [0x00803400]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x51532a
mov rdx, qword [rsp + 0x68]
nop
cmp rdx, rcx
jae 0x51532f
jmp 0x515b05
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0xf0]
mov rbx, rcx
lea rcx, [0x0061f84f]
mov edi, 4
call fcn.00521d80
cmp rbx, 2
jl 0x5152c9
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0xd8], rax
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
call fcn.00514f40
test rbx, rbx
je 0x5152c9
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x128], rax
mov ecx, 1
xor edx, edx
xor esi, esi
jmp 0x515516
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
movabs rdi, 0x12a05f200
call fcn.004a7960
mov qword [0x007af8f8], rax
mov qword [0x007af900], rbx
cmp dword [0x00803600], 0
jne 0x5153df
mov qword [0x007af908], rcx
jmp 0x5153eb
lea rdi, [0x007af908]
call fcn.00465700
mov rcx, qword [rsp + 0x78]
mov qword [0x007af918], rcx
cmp dword [0x00803600], 0
nop
jne 0x515431
mov rcx, qword [rsp + 0x110]
mov qword [0x007af910], rcx
mov rcx, qword [rsp + 0x108]
mov qword [0x007af8e8], rcx
mov rcx, qword [rsp + 0x100]
mov qword [0x007af8f0], rcx
jmp 0x51546d
lea rdi, [0x007af910]
mov rcx, qword [rsp + 0x110]
call fcn.00465700
lea rdi, [0x007af8e8]
mov rcx, qword [rsp + 0x108]
call fcn.00465700
lea rdi, [0x007af8f0]
mov rcx, qword [rsp + 0x100]
call fcn.00465700
mov rcx, qword [rsp + 0xa0]
mov qword [0x007af920], rcx
mov rcx, qword [rsp + 0x98]
mov qword [0x007af928], rcx
cmp dword [0x00803600], 0
jne 0x5154a5
mov rcx, qword [rsp + 0x138]
mov qword [0x007af930], rcx
jmp 0x5154b9
lea rdi, [0x007af930]
mov rcx, qword [rsp + 0x138]
call fcn.00465700
mov rcx, qword [rsp + 0x50]
mov qword [0x007af938], rcx
nop
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx]
test rcx, rcx
je 0x5154de
mov rax, qword [rcx]
call fcn.004b68c0
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rcx, qword [rsp + 0x70]
inc rcx
mov rax, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x48]
nop dword [rax + rax]
cmp rdi, rcx
jle 0x5152c9
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x120], rsi
shl rcx, 4
mov qword [rsp + 0x90], rcx
mov rdx, qword [rsp + 0xd8]
mov rbx, qword [rdx + rcx + 8]
mov qword [rsp + 0x60], rbx
mov rsi, qword [rdx + rcx]
mov qword [rsp + 0xe8], rsi
mov qword [rsp], rsi
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call fcn.004032e0
xorps xmm15, xmm15
mov r14, qword [0x00803400]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x5155dc
mov rax, qword [rsp + 0x60]
lea rdx, [rax - 1]
nop
cmp rax, rdx
jbe 0x515af9
mov rbx, qword [rsp + 0xe8]
movzx edx, byte [rax + rbx - 1]
cmp dl, 0x2e
je 0x5155e9
mov rcx, rax
lea rdi, [0x0067a498]
mov esi, 1
xor eax, eax
call fcn.0044e760
mov rcx, rbx
mov rbx, rax
mov rax, rcx
jmp 0x5155e9
mov rbx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xe8], rbx
mov rdx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsi + rdx]
mov rcx, qword [rsi + rdx + 8]
lea rax, [rsp + 0xb8]
mov rbx, rdi
call fcn.0044ed00
xor ecx, ecx
jmp 0x515acd
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044eb00
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call fcn.004032e0
xorps xmm15, xmm15
mov r14, qword [0x00803400]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x5156b2
mov rax, qword [rsp + 0x58]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x515aee
mov rbx, qword [rsp + 0xe0]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x5156bf
mov rcx, rax
lea rdi, [0x0067a498]
mov esi, 1
xor eax, eax
call fcn.0044e760
mov rcx, rax
mov rax, rbx
mov rbx, rcx
jmp 0x5156bf
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xe0]
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x88]
lea rax, [0x005ea440]
mov rbx, qword [rsp + 0x100]
call fcn.00412fa0
mov rdx, qword [rsp + 0x70]
cmp rdx, 1
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x40]
cmove rsi, rdi
mov qword [rsp + 0x80], rsi
mov r8, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xf8]
cmove r8, rcx
mov qword [rsp + 0x120], r8
mov r9, qword [rax]
mov r10, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
nop dword [rax]
cmp r10, rbx
jae 0x5157ad
mov qword [rsp + 0x130], rax
mov rax, r9
mov rcx, r10
mov edi, 1
lea rsi, [0x005e12a0]
nop
call fcn.0044a920
mov rdi, qword [rsp + 0x130]
mov qword [rdi + 0x10], rcx
cmp dword [0x00803600], 0
jne 0x515780
mov qword [rdi], rax
jmp 0x515785
call fcn.00465600
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
mov r8, qword [rsp + 0x120]
mov r9, rax
mov rax, rdi
mov rdi, qword [rsp + 0x40]
mov qword [rax + 8], rbx
lea r10, [rbx - 1]
shl r10, 4
mov r11, qword [rsp + 0x60]
mov qword [r9 + r10 + 8], r11
lea r11, [r9 + r10]
cmp dword [0x00803600], 0
jne 0x5157de
mov r11, qword [rsp + 0xe8]
mov qword [r9 + r10], r11
jmp 0x5157f4
mov rax, rdi
mov rdi, r11
mov r9, qword [rsp + 0xe8]
call fcn.004657a0
mov rdi, rax
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
lea rax, [0x005ea6e0]
mov rbx, qword [rsp + 0x108]
nop
call fcn.00412b80
mov rdx, qword [rax]
mov qword [rsp + 0x170], rdx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x178], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x188], xmm0
mov rdx, qword [rsp + 0x170]
mov qword [rsp + 0x148], rdx
movups xmm0, xmmword [rsp + 0x178]
movups xmmword [rsp + 0x150], xmm0
movups xmm0, xmmword [rsp + 0x188]
movups xmmword [rsp + 0x160], xmm0
nop dword [rax + rax]
test bl, bl
je 0x5159b9
mov rbx, qword [rsp + 0x150]
inc rbx
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x148]
cmp rcx, rbx
jae 0x5158b9
mov edi, 1
lea rsi, [0x005e12a0]
call fcn.0044a920
lea rdx, [rbx - 1]
shl rdx, 4
mov rsi, qword [rsp + 0x88]
mov qword [rax + rdx + 8], rsi
lea rdi, [rax + rdx]
cmp dword [0x00803600], 0
jne 0x5158e9
mov r8, qword [rsp + 0x128]
mov qword [rax + rdx], r8
jmp 0x5158f6
mov rdx, qword [rsp + 0x128]
call fcn.00465720
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x180], rcx
mov rdx, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x168]
mov qword [rsp + 0x188], rdx
mov qword [rsp + 0x190], rsi
lea rax, [0x005ea6e0]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x40]
call fcn.00412fa0
test byte [rax], al
cmp dword [0x00803600], 0
jne 0x51599d
mov rcx, qword [rsp + 0x170]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x178]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x188]
movups xmmword [rax + 0x18], xmm0
jmp 0x5154ee
mov rbx, rax
lea rcx, [rsp + 0x170]
lea rax, [0x005f9580]
call fcn.00413c00
jmp 0x5154ee
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
lea rax, [0x005e24a0]
nop dword [rax + rax]
call fcn.0040da20
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
cmp dword [0x00803600], 0
jne 0x515a07
mov rdx, qword [rsp + 0x128]
mov qword [rax], rdx
jmp 0x515a17
mov rdi, rax
mov rdx, qword [rsp + 0x128]
call fcn.00465720
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], 1
mov qword [rsp + 0x180], 1
mov rdx, qword [rsp + 0x120]
mov qword [rsp + 0x188], rdx
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x190], rsi
lea rax, [0x005ea6e0]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x40]
call fcn.00412fa0
test byte [rax], al
cmp dword [0x00803600], 0
jne 0x515aab
mov rcx, qword [rsp + 0x170]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x178]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x188]
movups xmmword [rax + 0x18], xmm0
jmp 0x5154ee
mov rbx, rax
lea rcx, [rsp + 0x170]
lea rax, [0x005f9580]
nop dword [rax]
call fcn.00413c00
jmp 0x5154ee
inc rcx
cmp rbx, rcx
jle 0x515626
movzx edx, byte [rax + rcx]
lea esi, [rdx - 0x41]
nop dword [rax]
cmp sil, 0x19
ja 0x515aca
add edx, 0x20
mov byte [rax + rcx], dl
jmp 0x515aca
mov rcx, rax
mov rax, rdx
call fcn.00465aa0
mov rcx, rax
mov rax, rdx
nop
call fcn.00465aa0
call fcn.00465ae0
nop
call fcn.00463440
jmp fcn.00515020