Function at 0x1400104d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x98]
cmp qword [rsp + 0x90], rax
jae 0x14001050d
mov eax, 0xc0000206
jmp 0x140010786
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
sub rdx, rcx
mov rcx, rdx
cmp rax, rcx
jbe 0x14001054c
mov eax, 0xc0000206
jmp 0x140010786
cmp qword [rsp + 0xc0], 0
je 0x140010565
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov eax, dword [rsp + 0x20]
mov dl, 1
mov ecx, eax
call fcn.140001330
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140010589
mov eax, 0xc000009a
jmp 0x140010786
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov rdi, qword [rsp + 0x28]
xor eax, eax
mov rcx, qword [rsp + 0x40]
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x98]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x88]
add rdx, rcx
mov rcx, rdx
mov rdi, qword [rsp + 0x28]
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x1400105e5
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140010612
cmp dword [rsp + 0x38], 1
je 0x1400106ee
cmp dword [rsp + 0x38], 2
je 0x1400106ee
jmp 0x140010753
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x20]
dec eax
mov r8d, eax
mov edx, 0xa
mov rcx, qword [rsp + 0x48]
call fcn.140003a50
mov dword [rsp + 0x3c], eax
jmp 0x140010663
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
xor edx, edx
mov eax, dword [rsp + 0x3c]
mov ecx, 0xa
div ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jae 0x1400106d9
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
movsx eax, byte [rcx + rax]
mov ecx, eax
call sub.ntoskrnl.exe_isdigit
test eax, eax
jne 0x140010699
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov dword [rax], 0xc000000d
jmp 0x1400106d9
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
movzx edx, byte [rcx + rax]
mov rcx, qword [rsp + 0x50]
call fcn.1400039f0
movzx eax, ax
imul eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x140010648
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov dword [rsp + 0x30], 0
jmp 0x140010753
mov dword [rsp + 0x34], 0
jmp 0x140010702
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x34], eax
jae 0x140010753
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x28]
movzx edx, byte [rcx + rax]
mov rcx, qword [rsp + 0x58]
call fcn.140003a10
movzx eax, al
test eax, eax
jne 0x140010751
mov edx, 0x6864694e
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc000000d
jmp 0x140010786
jmp 0x1400106f8
movzx eax, word [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x28]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax]
add eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx], eax
xor eax, eax
add rsp, 0x68
pop rdi
pop rsi
ret