Function at 0x581060
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x120]
cmp r12, qword [r14 + 0x10]
jbe 0x581b4b
sub rsp, 0x1a0
mov qword [rsp + 0x198], rbp
lea rbp, [rsp + 0x198]
call fcn.004b38a0
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x140], rcx
mov rdx, qword [0x008d7f90]
mov qword [rsp + 0x110], rdx
mov rsi, qword [0x008d7f98]
mov qword [rsp + 0x78], rsi
mov rdi, qword [0x008e3c58]
mov r8, qword [0x008e3c60]
mov r9, qword [0x008e3c68]
mov rsi, r8
mov r8, r9
nop dword [rax]
call fcn.004b2500
test al, al
je 0x58111d
mov rcx, qword [0x008e3c78]
mov rax, qword [0x008e3c70]
mov rbx, qword [rsp + 0x78]
nop dword [rax]
cmp rcx, rbx
je 0x581109
xor eax, eax
jmp 0x581124
mov rbx, qword [rsp + 0x110]
call fcn.00402d80
mov rbx, qword [rsp + 0x78]
jmp 0x581124
mov rbx, qword [rsp + 0x78]
xor eax, eax
test al, al
je 0x581155
mov rcx, qword [0x008e3c48]
test rcx, rcx
je 0x581139
mov rcx, qword [rcx]
jmp 0x581140
xor ecx, ecx
nop dword [rax + rax]
test rcx, rcx
jle 0x581155
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rax, qword [rsp + 0x110]
nop dword [rax]
call fcn.0058ebe0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x50], rdi
test rsi, rsi
je 0x581193
mov r10, qword [rsp + 0x78]
xor edx, edx
jmp 0x581241
mov rdx, qword [0x008e3c78]
mov r9, qword [0x008e3c70]
mov r10, qword [rsp + 0x78]
cmp rdx, r10
je 0x5811af
xor edx, edx
jmp 0x5811e9
mov rax, r9
mov rbx, qword [rsp + 0x110]
mov rcx, rdx
nop dword [rax]
call fcn.00402d80
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 0x5811f1
xor edx, edx
jmp 0x581241
mov rdx, qword [0x008e3c80]
mov r9, qword [0x008e3c88]
mov r10, qword [0x008e3c90]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, rdx
mov rbx, r9
mov rcx, r10
call fcn.004b25c0
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 0x5812b5
cmp qword [0x008e3c98], rdi
jne 0x5812b5
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
movabs rdi, 0x12a05f200
call fcn.004b2fe0
mov qword [0x008e3c58], rax
mov qword [0x008e3c60], rbx
cmp dword [0x00938440], 0
jne 0x581295
mov qword [0x008e3c68], rcx
jmp 0x5812a5
lea rdi, [0x008e3c68]
nop dword [rax]
call fcn.00465ba0
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
call fcn.0040e4a0
mov qword [rsp + 0x108], rax
call fcn.0040e4a0
mov qword [rsp + 0x100], rax
mov rbx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x110]
nop dword [rax]
call fcn.0058eae0
test rax, rax
je 0x5812f9
mov qword [rsp + 0x118], rax
call fcn.0058e8c0
jmp 0x581316
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rax, qword [rsp + 0x118]
call fcn.0058e8c0
test cl, cl
je 0x5813d8
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.00403280
xorps xmm15, xmm15
mov r14, qword [0x009381c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x58136a
mov rdx, qword [rsp + 0x68]
nop
cmp rdx, rcx
jae 0x58136f
jmp 0x581b45
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0xf0]
mov rbx, rcx
lea rcx, [0x006d1008]
mov edi, 4
call fcn.0058ed80
cmp rbx, 2
jl 0x581309
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0xd8], rax
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
call fcn.00580f80
test rbx, rbx
je 0x581309
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x128], rax
mov ecx, 1
xor edx, edx
xor esi, esi
jmp 0x581556
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
movabs rdi, 0x12a05f200
call fcn.004b2fe0
mov qword [0x008e3c58], rax
mov qword [0x008e3c60], rbx
cmp dword [0x00938440], 0
jne 0x58141f
mov qword [0x008e3c68], rcx
jmp 0x58142b
lea rdi, [0x008e3c68]
call fcn.00465ba0
mov rcx, qword [rsp + 0x78]
mov qword [0x008e3c78], rcx
cmp dword [0x00938440], 0
nop
jne 0x581471
mov rcx, qword [rsp + 0x110]
mov qword [0x008e3c70], rcx
mov rcx, qword [rsp + 0x108]
mov qword [0x008e3c48], rcx
mov rcx, qword [rsp + 0x100]
mov qword [0x008e3c50], rcx
jmp 0x5814ad
lea rdi, [0x008e3c70]
mov rcx, qword [rsp + 0x110]
call fcn.00465ba0
lea rdi, [0x008e3c48]
mov rcx, qword [rsp + 0x108]
call fcn.00465ba0
lea rdi, [0x008e3c50]
mov rcx, qword [rsp + 0x100]
call fcn.00465ba0
mov rcx, qword [rsp + 0xa0]
mov qword [0x008e3c80], rcx
mov rcx, qword [rsp + 0x98]
mov qword [0x008e3c88], rcx
cmp dword [0x00938440], 0
jne 0x5814e5
mov rcx, qword [rsp + 0x138]
mov qword [0x008e3c90], rcx
jmp 0x5814f9
lea rdi, [0x008e3c90]
mov rcx, qword [rsp + 0x138]
call fcn.00465ba0
mov rcx, qword [rsp + 0x50]
mov qword [0x008e3c98], rcx
nop
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx]
test rcx, rcx
je 0x58151e
mov rax, qword [rcx]
call fcn.004c3780
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 0x581309
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.00403280
xorps xmm15, xmm15
mov r14, qword [0x009381c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x58161c
mov rax, qword [rsp + 0x60]
lea rdx, [rax - 1]
nop
cmp rax, rdx
jbe 0x581b39
mov rbx, qword [rsp + 0xe8]
movzx edx, byte [rax + rbx - 1]
cmp dl, 0x2e
je 0x581629
mov rcx, rax
lea rdi, [0x007489f8]
mov esi, 1
xor eax, eax
call fcn.0044e760
mov rcx, rbx
mov rbx, rax
mov rax, rcx
jmp 0x581629
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 0x581b0d
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.00403280
xorps xmm15, xmm15
mov r14, qword [0x009381c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x5816f2
mov rax, qword [rsp + 0x58]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x581b2e
mov rbx, qword [rsp + 0xe0]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x5816ff
mov rcx, rax
lea rdi, [0x007489f8]
mov esi, 1
xor eax, eax
call fcn.0044e760
mov rcx, rax
mov rax, rbx
mov rbx, rcx
jmp 0x5816ff
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, [0x0068d000]
mov rbx, qword [rsp + 0x100]
call fcn.004131e0
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 0x5817ed
mov qword [rsp + 0x130], rax
mov rax, r9
mov rcx, r10
mov edi, 1
lea rsi, [0x0067fd40]
nop
call fcn.0044a920
mov rdi, qword [rsp + 0x130]
mov qword [rdi + 0x10], rcx
cmp dword [0x00938440], 0
jne 0x5817c0
mov qword [rdi], rax
jmp 0x5817c5
call fcn.00465aa0
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 [0x00938440], 0
jne 0x58181e
mov r11, qword [rsp + 0xe8]
mov qword [r9 + r10], r11
jmp 0x581834
mov rax, rdi
mov rdi, r11
mov r9, qword [rsp + 0xe8]
call fcn.00465c40
mov rdi, rax
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
lea rax, [0x0068d2a0]
mov rbx, qword [rsp + 0x108]
nop
call fcn.00412dc0
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 0x5819f9
mov rbx, qword [rsp + 0x150]
inc rbx
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x148]
cmp rcx, rbx
jae 0x5818f9
mov edi, 1
lea rsi, [0x0067fd40]
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 [0x00938440], 0
jne 0x581929
mov r8, qword [rsp + 0x128]
mov qword [rax + rdx], r8
jmp 0x581936
mov rdx, qword [rsp + 0x128]
call fcn.00465bc0
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, [0x0068d2a0]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x40]
call fcn.004131e0
test byte [rax], al
cmp dword [0x00938440], 0
jne 0x5819dd
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 0x58152e
mov rbx, rax
lea rcx, [rsp + 0x170]
lea rax, [0x006a04c0]
call fcn.00413e40
jmp 0x58152e
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
lea rax, [0x00681220]
nop dword [rax + rax]
call fcn.0040d960
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
cmp dword [0x00938440], 0
jne 0x581a47
mov rdx, qword [rsp + 0x128]
mov qword [rax], rdx
jmp 0x581a57
mov rdi, rax
mov rdx, qword [rsp + 0x128]
call fcn.00465bc0
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, [0x0068d2a0]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x40]
call fcn.004131e0
test byte [rax], al
cmp dword [0x00938440], 0
jne 0x581aeb
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 0x58152e
mov rbx, rax
lea rcx, [rsp + 0x170]
lea rax, [0x006a04c0]
nop dword [rax]
call fcn.00413e40
jmp 0x58152e
inc rcx
cmp rbx, rcx
jle 0x581666
movzx edx, byte [rax + rcx]
lea esi, [rdx - 0x41]
nop dword [rax]
cmp sil, 0x19
ja 0x581b0a
add edx, 0x20
mov byte [rax + rcx], dl
jmp 0x581b0a
mov rcx, rax
mov rax, rdx
call fcn.00465f40
mov rcx, rax
mov rax, rdx
nop
call fcn.00465f40
call fcn.00465f80
nop
call fcn.004638e0
jmp fcn.00581060