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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x14001c466
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
cmp byte [0x1403dc9e4], 0
je 0x14001c44b
mov rdx, qword gs:[0x28]
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x30]
mov rdx, qword [rdx + 0x90]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rbx + 0x18]
mov rdi, qword [rsp + 0x60]
nop
test rdi, 0xc
je 0x14001c42d
bt edi, 2
jae 0x14001c411
lea rax, [0x140318d60]
lea r8, [rsi + 0x186a0]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rax
mov r9d, dword [0x1403dd14c]
nop word [rax + rax]
nop
cmp dword [0x1403dd148], r9d
jae 0x14001c1a8
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
jmp 0x14001c0b8
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r9, qword [rsp + 0x38]
mov rax, rdx
mov rdx, r9
mov rsi, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
cmp byte [rdx + 0xb1], 0
nop
je 0x14001c40a
bt edi, 0
jae 0x14001c3f8
mov ecx, 1
test cl, cl
jne 0x14001c1a8
mov r9d, 1
lea r10, [0x1403dd148]
lock xadd dword [r10], r9d
mov r11d, dword [0x1403dd14c]
cmp r11d, r9d
jbe 0x14001c1a8
mov qword [rsp], rbx
mov dword [rsp + 8], r9d
call fcn.14001a4c0
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jne 0x14001c17b
xor eax, eax
nop dword [rax]
test al, al
je 0x14001c099
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + 0x18]
test rdx, rdx
jle 0x14001c15a
lea rbx, [0x1403dd020]
lock xadd qword [rbx], rdx
mov rdx, qword [rsp + 0x60]
bt edx, 1
jb 0x14001c164
mov qword [rcx + 0x18], 0
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rdx, qword [rcx + 0x18]
sub rdx, rax
mov qword [rsp], rdx
call fcn.14001b4e0
mov rcx, qword [rsp + 0x58]
jmp 0x14001c152
mov rax, qword [rdx]
nop
call rax
movzx eax, byte [rsp]
mov rdx, qword [rsp + 0x40]
jmp 0x14001c120
mov r9, qword [rsp + 0x38]
mov rax, rdx
mov rdx, r9
mov rbx, qword [rsp + 0x58]
mov r8, rdi
mov rsi, rcx
mov rdi, qword [rsp + 0x60]
cmp byte [rdx + 0xb1], 0
je 0x14001c3f1
bt edi, 0
jae 0x14001c3df
mov ecx, 1
test cl, cl
jne 0x14001c3d1
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x18], r8
cmp qword [0x1403dd0c0], 0
nop
je 0x14001c3a5
mov r9, qword [rbx]
test r9, r9
je 0x14001c399
mov r10, qword [r9 + 0x10]
test r10, r10
jne 0x14001c37a
xor ecx, ecx
test rcx, rcx
je 0x14001c31e
test rcx, rcx
je 0x14001c310
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
nop dword [rax]
call fcn.14001c880
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x18]
cmp rcx, 0x7d0
jl 0x14001c2f7
lea rbx, [0x1403dd020]
lock xadd qword [rbx], rcx
mov rbx, qword [rsp + 0x60]
bt ebx, 1
jb 0x14001c2d1
mov rcx, qword [rsp + 0x30]
mov rsi, qword [rax + 0x18]
mov qword [rax + 0x18], 0
mov rdi, qword [rsp + 0x18]
sub rdi, rsi
test rdi, rdi
jg 0x14001c2c7
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jne 0x14001c299
xor esi, esi
test sil, sil
jne 0x14001c291
add rdi, 0x186a0
jmp 0x14001c18d
mov rax, rcx
jmp 0x14001c12d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
mov rax, qword [rdx]
call rax
movzx esi, byte [rsp]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x28]
jmp 0x14001c280
mov rdx, qword [rsp + 0x40]
jmp 0x14001c18d
mov rcx, qword [rax + 0x18]
mov rdx, qword [rsp + 0x30]
sub rcx, rdx
mov qword [rsp], rcx
call fcn.14001b4e0
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
xor ecx, ecx
jmp 0x14001c25b
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x30]
jmp 0x14001c18d
mov rax, rbx
mov rbx, rdi
mov rcx, rsi
jmp 0x14001c291
mov qword [rsp], rbx
call fcn.140020c40
mov rax, qword [rsp + 8]
test rax, rax
je 0x14001c357
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x40]
jmp 0x14001c20a
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
nop
call fcn.14002a5e0
mov rax, qword [rsp + 0x58]
mov qword [rsp], rax
call fcn.140020c40
mov rax, qword [rsp + 8]
jmp 0x14001c331
lea r11, [r10 - 1]
mov qword [r9 + 0x10], r11
cmp r11, 0xfd
jae 0x14001c43e
mov rcx, qword [r9 + r10*8 + 0x10]
jmp 0x14001c201
xor ecx, ecx
nop dword [rax + rax]
jmp 0x14001c201
mov qword [rsp], rbx
call fcn.140020e40
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x18]
jmp 0x14001c1e6
mov rax, rbx
mov rbx, rdi
mov rcx, rsi
jmp 0x14001c291
mov r9d, dword [0x140399f40]
test r9d, r9d
setne cl
jmp 0x14001c1c4
xor ecx, ecx
jmp 0x14001c1c4
mov r9d, dword [0x140399f40]
test r9d, r9d
setne cl
jmp 0x14001c0d5
xor ecx, ecx
jmp 0x14001c0d5
test rdi, 8
mov eax, 0
lea r8, [0x140318d58]
cmovne rax, r8
jmp 0x14001c05e
movabs r8, 0x7fffffffffffffff
xor eax, eax
jmp 0x14001c065
mov rax, r11
mov ecx, 0xfd
call fcn.140059c20
lea rax, [0x140313fe1]
mov qword [rsp], rax
mov qword [rsp + 8], 0x17
nop
call fcn.140030c20
nop
call fcn.140057a20
jmp fcn.14001bfe0