Function at 0x140003670
Capabilities:
Access peb ldr_data

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov r14, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
xorps xmm1, xmm1
movdqu xmmword [r11 - 0x48], xmm1
mov ebx, esi
mov qword [rsp + 0x60], rbx
mov qword [r11 - 0x38], rbx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14003ceb8], eax
jle 0x140003714
lea rcx, [0x14003ceb8]
call fcn.14000d0f8
cmp dword [0x14003ceb8], 0xffffffff
jne 0x140003714
mov rcx, qword [0x140038e60]
call fcn.1400014b0
mov qword [0x14003ceb0], rax
lea rcx, [0x14003ceb8]
call fcn.14000d08c
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 0x1000
lea r9, [0x14003be90]
mov r8, qword [0x14003ceb0]
xor edx, edx
call qword [rax + 8]
test eax, eax
jne 0x140003751
mov qword [r14], rsi
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rsi
mov rax, r14
jmp 0x140003ca2
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], esi
mov ebp, esi
mov r15d, esi
mov r12d, esi
mov dword [rsp + 0x38], esi
mov r9, rsi
mov qword [rsp + 0x48], rsi
mov rdi, rsi
mov r13d, 0x100
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x58], rax
lea r8, [0x14003ae90]
movabs rdx, 0xfffffffff000
mov dword [rsp + 0x50], r13d
cmp r13d, 0x200
jge 0x140003c7d
movsxd rbx, r13d
lea rax, [0x14003be90]
mov rcx, qword [rax + rbx*8]
mov r14, rcx
and r14, rdx
and ebx, 0x1ff
shl rbx, 0xc
mov rax, qword [0x14003ceb0]
and rax, 0xffffffffffe00fff
or rbx, rax
test cl, 1
je 0x140003808
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 0x1000
mov r9, r8
mov r8, rbx
xor edx, edx
call qword [rax + 8]
test eax, eax
je 0x140003803
xor r15d, r15d
jmp 0x1400039a5
mov r9, qword [rsp + 0x48]
test ebp, ebp
je 0x140003c70
mov r13d, ebp
shl r13d, 0xc
test ebp, ebp
je 0x140003942
mov eax, r13d
mov rdi, r9
sub rdi, rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 3
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._debug_
call fcn.1400012a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea r8d, [r13 + 0x1000]
add r8, rdi
mov r9, rsi
mov rdx, rdi
lea rcx, str.__llx:_llx___llx_n
call fcn.1400012a0
test ebp, ebp
je 0x140003942
cmp dword [rsp + 0x30], 0
je 0x140003942
cmp ebp, dword [rsp + 0x34]
jne 0x140003942
movabs r8, 0x800000000000000f
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x78], 5
mov qword [rsp + 0x88], rsi
mov eax, r13d
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov qword [rsp + 0x80], rcx
lea eax, [rbp + 1]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x60]
je 0x140003916
mov qword [rdx], 5
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rax
mov qword [rdx + 0x20], r8
add rdx, 0x28
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0xa8], rdx
jmp 0x140003942
lea r8, [rsp + 0x78]
lea rcx, [rsp + 0xa0]
call fcn.140004c20
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x58], rax
xor ebp, ebp
xor r11d, r11d
xor r10d, r10d
mov r9, r14
mov rdi, rbx
mov r8d, dword [rsp + 0x38]
mov qword [rsp + 0x48], r9
mov dword [rsp + 0x34], r10d
mov dword [rsp + 0x30], r11d
inc r8d
mov dword [rsp + 0x38], r8d
cmp r8d, 0x200
jl 0x140003b70
mov r13d, dword [rsp + 0x50]
mov qword [rsp + 0x48], r9
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x34], r10d
mov dword [rsp + 0x30], r11d
inc r12d
cmp r12d, 0x200
jl 0x140003a70
inc r15d
cmp r15d, 0x200
jge 0x140003c70
movsxd rax, r15d
lea rcx, [0x14003ae90]
mov rcx, qword [rcx + rax*8]
mov r14, rcx
movabs rdx, 0xfffffffff000
and r14, rdx
mov ebx, r13d
and ebx, 0x1ff
shl rbx, 9
and eax, 0x1ff
or rbx, rax
shl rbx, 0xc
mov rax, qword [0x14003ceb0]
and rax, 0xffffffffc0000fff
or rbx, rax
test cl, 1
je 0x140003a47
test cl, cl
js 0x140003a47
mov rcx, r14
call fcn.1400014b0
cmp rax, rbx
jne 0x140003a35
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 0x1000
lea r9, [0x140038e90]
mov r8, rbx
xor edx, edx
call qword [rax + 8]
test eax, eax
jne 0x140003a59
test ebp, ebp
je 0x1400039a2
mov r9, qword [rsp + 0x48]
jmp 0x140003810
test ebp, ebp
mov r9, qword [rsp + 0x48]
je 0x1400039a2
jmp 0x140003810
xor r12d, r12d
mov r8d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x30]
movsxd rcx, r12d
lea rax, [0x140038e90]
mov rdx, qword [rax + rcx*8]
mov r14, rdx
movabs rax, 0xfffffffff000
and r14, rax
mov ebx, r13d
and ebx, 0x1ff
shl rbx, 9
mov eax, r15d
and eax, 0x1ff
or rbx, rax
shl rbx, 9
and ecx, 0x1ff
or rbx, rcx
shl rbx, 0xc
mov rax, qword [0x14003ceb0]
movabs rcx, 0xffffff8000000fff
and rax, rcx
or rbx, rax
test dl, 1
je 0x140003b4c
test dl, dl
js 0x140003b4c
mov rcx, r14
call fcn.1400014b0
cmp rax, rbx
je 0x140003b05
test ebp, ebp
jne 0x140003a3d
mov r8d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x30]
jmp 0x14000397e
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 0x1000
lea r9, [0x140039e90]
mov r8, rbx
xor edx, edx
call qword [rax + 8]
test eax, eax
jne 0x140003b59
test ebp, ebp
jne 0x140003a3d
mov r8d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x30]
jmp 0x14000397e
test ebp, ebp
je 0x14000397e
jmp 0x140003810
xor r8d, r8d
mov dword [rsp + 0x38], r8d
mov r9, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x30]
movsxd rcx, r8d
lea rax, [0x140039e90]
lea r13, [rax + rcx*8]
mov rdx, qword [r13]
mov r14, rdx
movabs rax, 0xfffffffff000
and r14, rax
mov ebx, dword [rsp + 0x50]
and ebx, 0x1ff
shl rbx, 9
mov eax, r15d
and eax, 0x1ff
or rbx, rax
shl rbx, 9
mov eax, r12d
and eax, 0x1ff
or rbx, rax
shl rbx, 9
and ecx, 0x1ff
or rbx, rcx
shl rbx, 0xc
mov rax, qword [0x14003ceb0]
movabs rcx, 0xffff000000000fff
and rax, rcx
or rbx, rax
test dl, 1
je 0x140003c1d
test r14, r14
je 0x140003c1d
test rdx, rdx
js 0x140003c1d
mov rcx, r14
call fcn.1400014b0
test rax, 0xfffffffffffff000
je 0x140003c2a
test ebp, ebp
jne 0x140003a3d
mov r9, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x30]
jmp 0x140003950
test ebp, ebp
je 0x140003955
jmp 0x140003810
mov rax, r14
mov r9, qword [rsp + 0x48]
sub rax, r9
cmp rax, 0x1000
jne 0x140003810
inc ebp
mov rax, qword [r13]
mov r11d, dword [rsp + 0x30]
test al, 0x20
je 0x140003c53
inc r11d
mov r10d, dword [rsp + 0x34]
test al, 0x10
jne 0x140003c5f
inc r10d
cmp ebp, 1
jne 0x14000394a
mov rsi, rdi
jmp 0x14000394a
inc r13d
mov r9, qword [rsp + 0x48]
jmp 0x140003783
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x58]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rcx + 0x10], rax
mov rax, rcx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14000d030
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret