Function at 0x1400b0e90
Capabilities:
Access pe header
Access peb ldr_data
Get kernel32 base address
Terminate process

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140108500]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x40], r9
mov esi, r8d
mov rax, rdx
mov qword [rsp + 0x58], rdx
mov r12, rcx
mov r15, qword [rsp + 0x120]
mov qword [rsp + 0x88], r15
mov r13, qword [rsp + 0x118]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x78], rdx
mov r14d, r8d
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x80], r9
xor r13d, r13d
mov edi, r13d
mov qword [rsp + 0x48], r13
cmp qword [rsp + 0x110], rdi
je 0x1400b0f2b
mov eax, 0xc00000f3
jmp 0x1400b13f1
mov qword [rcx], r13
test rax, rax
je 0x1400b0f36
mov qword [rdx], r13
lea rdx, [rsp + 0x110]
mov rcx, r9
call fcn.1400b3f90
mov ebx, 0xc000007b
test al, al
jne 0x1400b0f5a
bt esi, 0x1e
cmovae edi, ebx
mov dword [rsp + 0x50], edi
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
jmp 0x1400b0fa5
test edi, edi
jns 0x1400b0fb0
mov eax, edi
jmp 0x1400b13f1
and r14d, 0x10000000
mov rcx, r13
cmove rcx, r15
mov qword [rsp + 0x60], rcx
test r14d, r14d
cmove r13, rax
mov qword [rsp + 0x38], r13
cmove r14d, esi
test r14b, 4
je 0x1400b0feb
test r13, r13
je 0x1400b114f
test rcx, rcx
je 0x1400b114f
test r13, r13
je 0x1400b10cb
mov r15, 0xffffffffffffffff
nop dword [rax + rax]
inc r15
cmp word [r13 + r15*2], 0
jne 0x1400b1000
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rdi, qword [rcx + 0x18]
add rdi, 0x10
mov qword [rsp + 0x30], rdi
mov rsi, qword [rdi]
mov rcx, rdx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400b13ef
cmp rsi, rdi
je 0x1400b10cb
mov rax, rdi
nop
mov rdi, rsi
mov rsi, qword [rsi]
cmp qword [rdi + 0x10], 0
je 0x1400b10c6
movsxd r8, r15d
movzx eax, word [rdi + 0x58]
shr rax, 1
sub rax, r8
test rax, 0xfffffffffffffffb
jne 0x1400b10c1
mov rdx, qword [rdi + 0x60]
mov rcx, r13
call sub.msvcrt.dll__wcsnicmp
test eax, eax
jne 0x1400b10c1
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r13, rax
test rax, rax
je 0x1400b10bc
mov rcx, qword [rdi + 0x30]
call fcn.1400b1630
test rax, rax
je 0x1400b10bc
mov ecx, dword [r13 + 0x1c]
mov rdx, qword [rsp + 0x88]
cmp dword [rdx + 0x1c], ecx
jne 0x1400b10bc
mov ecx, dword [r13 + 0x54]
cmp dword [rdx + 0x54], ecx
je 0x1400b111d
mov r13, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
cmp rsi, rax
jne 0x1400b1050
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.1400b1750
test eax, eax
js 0x1400b13f1
cmp eax, 0x4000000e
je 0x1400b13f1
mov rcx, qword [r12]
call fcn.1400b1630
mov rdi, rax
test rax, rax
jne 0x1400b1159
mov ecx, 7
int 0x29
call qword [sym.imp.kernel32.dll_DebugBreak]
mov ecx, 0xc0000141
call qword [sym.imp.kernel32.dll_ExitProcess]
test byte [rax + 0xe], 8
je 0x1400b114f
test r14b, 2
jne 0x1400b114f
xor edx, edx
mov rcx, rax
call fcn.1400b2b70
mov rax, qword [rdi + 0x30]
mov qword [r12], rax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400b1148
mov qword [rax], rdi
xor eax, eax
jmp 0x1400b13f1
mov eax, 0xc00000f1
jmp 0x1400b13f1
or byte [rax + 0xc], 2
mov rcx, qword [r12]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r15, rax
mov eax, 0x400
test word [r15 + 0x5e], ax
je 0x1400b117a
or r14d, 1
mov r13, qword [rsp + 0x98]
mov r13, qword [r13]
bt r14d, 0x1c
jae 0x1400b11f9
mov r8, rdi
mov rdx, r15
mov rcx, r13
call fcn.1400b1ee0
mov ebx, eax
test eax, eax
js 0x1400b11e3
mov rdx, r15
mov rcx, qword [r12]
call fcn.1400b1c40
mov ebx, eax
test eax, eax
js 0x1400b11e3
mov rcx, rdi
call fcn.1400b3d90
test eax, eax
je 0x1400b11d0
mov edx, 1
mov rcx, rdi
call fcn.1400b3cf0
test eax, eax
jne 0x1400b11e3
mov ebx, 0xc0000142
mov rcx, qword [r12]
call fcn.1400b1690
jmp 0x1400b13ef
test ebx, ebx
jns 0x1400b13ef
mov rcx, qword [r12]
call fcn.1400b1690
jmp 0x1400b13ef
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov qword [rsp + 0x40], rax
mov rcx, r13
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
jne 0x1400b1227
mov rsi, qword [rsp + 0x48]
jmp 0x1400b12fb
mov rcx, r13
call fcn.1400b24f0
mov rsi, rax
test rax, rax
jne 0x1400b1246
mov ebx, 0xc0000017
mov rsi, qword [rsp + 0x48]
jmp 0x1400b12fb
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call fcn.1400b41c0
test eax, eax
jns 0x1400b1285
mov r8, rsi
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, 0xc0000017
mov rsi, qword [rsp + 0x48]
jmp 0x1400b12fb
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
mov r8, r13
mov edx, r14d
mov rcx, rsi
call fcn.1400b2780
test eax, eax
jne 0x1400b12f1
mov r8, rsi
xor edx, edx
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x90]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, 0xc0000001
mov rsi, qword [rsp + 0x48]
jmp 0x1400b12fb
mov rcx, rsi
call fcn.1400b2aa0
xor ebx, ebx
test ebx, ebx
js 0x1400b13de
or word [rdi + 0xe], 1
mov qword [rdi + 0x38], rsi
mov r8, rdi
mov rdx, r15
mov rcx, qword [r12]
call fcn.1400b1ee0
mov ebx, eax
test eax, eax
js 0x1400b13c6
mov rdx, r15
mov rcx, qword [r12]
call fcn.1400b1c40
mov ebx, eax
test eax, eax
js 0x1400b13c6
test r14b, 2
jne 0x1400b1346
or word [rdi + 0xe], 8
test r14b, 1
jne 0x1400b1364
mov edx, dword [r15 + 0x50]
mov rcx, qword [rdi + 0x10]
call fcn.1400b2cb0
mov ebx, eax
test eax, eax
js 0x1400b13c6
or word [rdi + 0xe], 2
test r14b, 8
jne 0x1400b1394
mov rax, qword [0x140108820]
mov rdx, qword [rax + 0x78]
mov rcx, rsi
call qword [rdx + 0x18]
mov ebx, eax
test eax, eax
jns 0x1400b138f
bt r14d, 0x1d
jae 0x1400b13c6
mov ebx, 0x7fffffff
jmp 0x1400b1394
or word [rdi + 0xe], 4
and r14d, 0x10
je 0x1400b139f
call fcn.1400b3920
mov rcx, rdi
call fcn.1400b3d90
test eax, eax
je 0x1400b13d9
mov edx, 1
mov rcx, rdi
call fcn.1400b3cf0
test eax, eax
je 0x1400b13d9
test r14d, r14d
je 0x1400b13c6
call fcn.1400b3820
test ebx, ebx
js 0x1400b13de
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400b13ef
mov qword [rax], rsi
jmp 0x1400b13ef
mov ebx, 0xc0000142
mov rcx, qword [r12]
call fcn.1400b1420
mov qword [r12], 0
mov eax, ebx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400b7570
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret