Function at 0x14017ea60
Capabilities:
Create thread
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
cmp qword [rsp + 0xa0], 0
jne 0x14017ea83
xor eax, eax
jmp 0x14017ed84
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x50]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14017ead7
xor eax, eax
jmp 0x14017ed84
mov dword [rsp + 0x30], 0
jmp 0x14017eaeb
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jge 0x14017eb80
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x18]
mov eax, dword [rcx + rax + 0x10]
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0xa0]
mov rdx, qword [rdx + 0x18]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0xa0]
add rcx, qword [rdx]
movsxd rdx, dword [rsp + 0x30]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0xa0]
mov r8, qword [r8 + 0x18]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x38]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x58], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x58]
mov rcx, rax
call fcn.14018d990
jmp 0x14017eae1
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x20]
call fcn.14017e230
test eax, eax
jne 0x14017eba1
xor eax, eax
jmp 0x14017ed84
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x28]
call fcn.14017e460
test eax, eax
jne 0x14017ebd2
xor eax, eax
jmp 0x14017ed84
mov rax, qword [rsp + 0xa0]
mov r8, qword [rax + 0x18]
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
call fcn.14017e710
test eax, eax
jne 0x14017ebff
xor eax, eax
jmp 0x14017ed84
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x40]
cmp dword [rax + 4], 0
je 0x14017ec50
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x40]
cmp dword [rax], 0
je 0x14017ec50
cmp qword [rsp + 0xa8], 0
je 0x14017ec50
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x40]
call fcn.14017e950
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x38]
cmp dword [rax + 4], 0
je 0x14017eccb
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x38]
mov ecx, dword [rcx + 4]
xor edx, edx
mov eax, ecx
mov ecx, 0xc
div rcx
mov rcx, qword [rsp + 0x60]
mov r8, rcx
mov edx, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
movzx eax, al
test eax, eax
jne 0x14017eccb
xor eax, eax
jmp 0x14017ed84
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x48], 0
je 0x14017ed70
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x78]
cmp qword [rsp + 0x40], 0
je 0x14017ed56
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14017ed6e
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14017ed84
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
call qword [rsp + 0x80]
add rsp, 0x98
ret