Function at 0x140001150
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r12d, r12d
mov qword [rsp + 0x20], 0x130
xor edx, edx
mov dword [rsp + 0x28], r12d
mov r8d, 0x104
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x4c]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
call sub.VCRUNTIME140.dll_memset
mov rax, qword gs:[0x60]
mov r15d, r12d
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 0x20]
test rdi, rdi
je 0x14000128b
lea rax, [r12 - 1]
nop word [rax + rax]
movzx r14d, word [rdi + 0x48]
test r14, r14
je 0x14000128b
mov ecx, r14d
add rcx, 1
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x14000128b
mov esi, r12d
mov rbx, r12
test r14, r14
je 0x14000123e
nop word [rax + rax]
mov rax, qword [rdi + 0x50]
movzx ecx, word [rax + rbx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
inc esi
mov byte [rbx + rbp], al
inc rbx
movsxd rax, esi
cmp rax, r14
jb 0x140001220
mov byte [rbx + rbp], r12b
mov rdx, rbp
movsx ecx, byte [rbp]
mov eax, 0x2051
test ecx, ecx
je 0x14000126d
imul eax, eax, 0x21
lea rdx, [rdx + 1]
add eax, ecx
movsx ecx, byte [rdx]
test ecx, ecx
jne 0x140001252
cmp eax, 0x15e04bc1
jne 0x14000126d
mov r15, qword [rdi + 0x20]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r15, r15
jne 0x1400012be
mov rdi, qword [rdi]
lea rax, [r15 - 1]
test rdi, rdi
jne 0x1400011e0
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140001470
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, 0x894ec1e1
mov rcx, r15
call section..text
mov edx, 0x1d6498bd
mov rcx, r15
mov rdi, rax
call section..text
mov edx, 0xe9a285f4
mov rcx, r15
mov rbx, rax
call section..text
mov r13, rax
test rdi, rdi
je 0x14000128b
test rbx, rbx
je 0x14000128b
test rax, rax
je 0x14000128b
xor edx, edx
lea ecx, [rdx + 2]
call rdi
mov r15, rax
test rax, rax
je 0x14000128b
lea rdx, [rsp + 0x20]
mov rcx, rax
call rbx
test eax, eax
jne 0x140001330
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000128b
cmp dword [rsp + 0x28], r12d
je 0x14000140d
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x4c]
mov rcx, rbx
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], r12b
jne 0x140001350
add rcx, 1
cmovb rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, r12d
lea rcx, [rsp + 0x4c]
mov rbp, rax
mov r14, r12
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x140001380
test rax, rax
je 0x1400013d2
lea rsi, [rsp + 0x4c]
mov rbx, rbp
sub rsi, rbp
nop dword [rax]
movsx ecx, byte [rsi + rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx], al
inc edi
lea rbx, [rbx + 1]
mov rax, 0xffffffffffffffff
inc r14
lea rcx, [rsp + 0x4c]
inc rax
cmp byte [rcx + rax], r12b
jne 0x1400013c1
movsxd rcx, edi
cmp rcx, rax
jb 0x1400013a0
mov byte [r14 + rbp], r12b
mov rcx, rbp
movsx eax, byte [rbp]
mov ebx, 0x2051
test eax, eax
je 0x140001400
nop word [rax + rax]
imul ebx, ebx, 0x21
lea rcx, [rcx + 1]
add ebx, eax
movsx eax, byte [rcx]
test eax, eax
jne 0x1400013f0
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebx, ebx
je 0x140001428
lea rdx, [rsp + 0x20]
mov rcx, r15
call r13
test eax, eax
jne 0x140001330
mov rax, r12
jmp 0x14000128d
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
jmp 0x14000128d