Function at 0x140003e40
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
mov r14, r9
mov rdi, r8
mov r15d, edx
mov r13, rcx
cmp edx, 0x51
jne 0x140003f7b
mov rax, qword gs:[0x60]
lea r14, str.ntdll.dll
lea edx, [r15 + 0xb]
mov rcx, r14
mov rsi, qword [rax + 0x18]
add rsi, 0x20
mov rbx, qword [rsi]
call fcn.1400061c4
xor edi, edi
test rax, rax
mov ebp, edi
setne bpl
mov rcx, r14
test ebp, ebp
je 0x140003eaf
mov rdx, qword [rbx + 0x40]
jmp 0x140003eb3
mov rdx, qword [rbx + 0x50]
call fcn.140009cf4
test eax, eax
je 0x140003f2f
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x140003ea2
xor edx, edx
mov rcx, r14
call fcn.140001880
mov rcx, rax
mov edx, 0x7f6f58fc
call fcn.140001b50
mov rbx, rax
test rax, rax
je 0x140003f33
mov edx, 0x104
mov dword [rsp + 0x3c], edi
mov rcx, r14
mov qword [rsp + 0x40], r14
call fcn.140009638
add ax, ax
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x38], ax
lea r9, [rsp + 0x30]
add ax, 2
lea r8, [rsp + 0x38]
xor edx, edx
mov word [rsp + 0x3a], ax
xor ecx, ecx
call rbx
mov rcx, qword [rsp + 0x30]
test eax, eax
cmovs rcx, rdi
mov rdi, rcx
jmp 0x140003f33
mov rdi, qword [rbx + 0x20]
mov edx, 0xe7501a3a
mov rcx, rdi
call fcn.140001b50
mov rbx, rax
test rax, rax
je 0x1400040e1
call fcn.140003cb0
call fcn.140002af0
mov r8, rax
lea rcx, [0x14002ba50]
mov edx, 0x51e95
call fcn.140003600
xor r8d, r8d
xor edx, edx
mov rcx, rax
call rbx
mov al, 1
jmp 0x1400040e1
mov eax, 0x38e38e39
mov qword [rsp + 0x80], r12
imul r15d
mov r12d, r15d
xor bpl, bpl
mov ebx, edx
sar ebx, 1
mov eax, ebx
shr eax, 0x1f
add ebx, eax
lea eax, [rbx + rbx*8]
sub r12d, eax
call fcn.1400010e0
movsxd rax, ebx
movsxd rsi, r12d
lea r11, [rax*8]
mov rax, qword [r11 + r13]
mov qword [rsp + 0x38], r11
cmp byte [rsi + rax], 0x2e
jne 0x1400040ae
mov r10, qword [rsp + 0x90]
mov eax, 0x55555556
imul ebx
mov eax, 0x55555556
mov edi, 1
mov ecx, edx
mov ebx, edi
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
imul r12d
mov r12, qword [rsp + 0xa0]
mov eax, edx
add edx, ecx
shr eax, 0x1f
add eax, edx
movsxd rcx, eax
mov qword [rsp + 0x30], rcx
nop dword [rax]
mov rdx, qword [r11 + r10]
cmp byte [rdx + rbx], 0
jne 0x14000409e
mov r8, qword [r14 + rsi*8]
cmp byte [r8 + rbx], 0
jne 0x14000409e
mov r9, qword [r12 + rcx*8]
cmp byte [r9 + rbx], 0
jne 0x14000409e
mov rax, qword [r11 + r13]
lea ecx, [rdi + 0x30]
mov qword [rsp + 0x20], r12
mov byte [rsi + rax], cl
mov rcx, r13
mov byte [rdx + rbx], 1
lea edx, [r15 + 1]
mov byte [r8 + rbx], 1
mov r8, r10
mov byte [r9 + rbx], 1
mov r9, r14
call fcn.140003e40
mov r10, qword [rsp + 0x90]
movzx ebp, al
mov r11, qword [rsp + 0x38]
test al, al
jne 0x140004099
mov rcx, qword [r11 + r10]
mov byte [rbx + rcx], al
mov rcx, qword [r14 + rsi*8]
mov byte [rbx + rcx], al
mov rcx, qword [rsp + 0x30]
mov rcx, qword [r12 + rcx*8]
mov byte [rbx + rcx], al
mov rcx, qword [r11 + r13]
mov byte [rsi + rcx], 0x2e
mov rcx, qword [rsp + 0x30]
inc edi
inc rbx
cmp edi, 9
jle 0x140004010
jmp 0x1400040d5
mov rax, qword [rsp + 0xa0]
lea edx, [r15 + 1]
mov r9, r14
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, r13
call fcn.140003e40
movzx ebp, al
call fcn.140003cb0
mov r12, qword [rsp + 0x80]
movzx eax, bpl
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret