Function at 0x1400019c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
movzx ebx, word [section..rdata]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rdi, rcx
mov ebp, edx
mov qword [rsp + 0x58], 0
mov rax, qword [rax + 0x20]
mov r11, qword [rax]
mov r10, qword [r11 - 0x10]
lea r9, [r11 - 0x10]
cmp r11, r10
je 0x140001a50
nop dword [rax]
mov rax, qword [r9 + 0x60]
lea rcx, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x140001a45
mov edx, 0x2108
nop dword [rax]
mov r8d, edx
add rcx, 2
shl r8d, 6
add edx, r8d
add edx, eax
movzx eax, word [rcx - 2]
test ax, ax
jne 0x140001a20
cmp edx, 0xfcdfbd0e
je 0x140001c51
mov r9, r10
mov r10, qword [r9]
cmp r11, r10
jne 0x140001a08
xor eax, eax
mov qword [rsp + 0x60], rax
lea rsi, [rsp + 0x60]
xor r8d, r8d
xor r9d, r9d
mov rax, qword [0x1400cf310]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rdx, [0x1400c8002]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], rax
call fcn.140002640
mov r8d, ebp
mov r11, qword [rsp + 0x58]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov r12, qword [rax]
mov rbp, qword [r12 - 0x10]
lea r10, [r12 - 0x10]
cmp r12, rbp
je 0x140001b28
mov rax, qword [r10 + 0x60]
lea rcx, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x140001b1d
mov edx, 0x2108
nop dword [rax]
mov r9d, edx
add rcx, 2
shl r9d, 6
add edx, r9d
add edx, eax
movzx eax, word [rcx - 2]
test ax, ax
jne 0x140001af8
cmp edx, 0xfcdfbd0e
je 0x140001cb7
mov r10, rbp
mov rbp, qword [r10]
cmp r12, rbp
jne 0x140001ae0
xor eax, eax
mov qword [rsp + 0x60], rax
xor r9d, r9d
mov rdx, rdi
mov rcx, r11
mov rax, qword [0x1400cf300]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], rax
call fcn.140002640
mov r10, qword [rsp + 0x58]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rdi, qword [rax]
mov r11, qword [rdi - 0x10]
lea r9, [rdi - 0x10]
cmp rdi, r11
je 0x140001bf0
nop dword [rax]
mov rax, qword [r9 + 0x60]
lea rcx, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x140001be5
mov edx, 0x2108
nop dword [rax]
mov r8d, edx
add rcx, 2
shl r8d, 6
add edx, r8d
add edx, eax
movzx eax, word [rcx - 2]
test ax, ax
jne 0x140001bc0
cmp edx, 0xfcdfbd0e
je 0x140001c87
mov r9, r11
mov r11, qword [r9]
cmp rdi, r11
jne 0x140001ba8
xor eax, eax
mov qword [rsp + 0x60], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [0x1400cf2f0]
mov qword [rsp + 0x20], rsi
mov rcx, r10
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], rax
call fcn.140002640
nop
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov edx, dword [r9 + 0x40]
mov rax, qword [r9 + 0x30]
cmp edx, 2
je 0x140001a50
sub edx, 3
lea rdx, [rax + rdx + 1]
nop word [rax + rax]
cmp word [rax], bx
je 0x140001a52
add rax, 1
cmp rdx, rax
jne 0x140001c70
jmp 0x140001a50
mov edx, dword [r9 + 0x40]
mov rax, qword [r9 + 0x30]
cmp edx, 2
je 0x140001bf0
sub edx, 3
lea rdx, [rax + rdx + 1]
cmp word [rax], bx
je 0x140001bf2
add rax, 1
cmp rdx, rax
jne 0x140001ca0
jmp 0x140001bf0
mov edx, dword [r10 + 0x40]
mov rax, qword [r10 + 0x30]
cmp edx, 2
je 0x140001b28
sub edx, 3
lea rdx, [rax + rdx + 1]
cmp word [rax], bx
je 0x140001b2a
add rax, 1
cmp rdx, rax
jne 0x140001cd0
jmp 0x140001b28