Function at 0x140001670
Capabilities:
Enumerate pe sections
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, 0x78
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x54]
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp], 0
jmp 0x14000172d
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jge 0x1400017d1
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x14]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x10]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
movsxd rcx, dword [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx + 8], eax
jmp 0x140001725
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x80], 0
jne 0x14000181b
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x16]
bts eax, 0xd
mov rcx, qword [rsp + 0x10]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x10]
add rax, 0x28
lea rcx, [rsp + 0x40]
mov rdi, rax
mov rsi, rcx
mov ecx, 4
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0xa0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140001a63
cmp dword [rsp + 0xa8], 0
je 0x140001a63
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x44]
add rax, rcx
cmp qword [rsp + 0x20], rax
jae 0x140001a63
mov rax, qword [rsp + 0x20]
cmp dword [rax + 4], 0
je 0x140001a63
mov rax, qword [rsp + 0x20]
add rax, 8
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 8], rax
je 0x140001a54
mov eax, 0xfff
mov rcx, qword [rsp + 8]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x20]
add eax, dword [rcx]
mov rcx, qword [rsp + 0x10]
cmp eax, dword [rcx + 0x50]
jae 0x140001a41
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov ecx, 0xfff
mov rdx, qword [rsp + 8]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
add rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 8]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 0xa
jne 0x140001981
mov rax, qword [rsp + 0x18]
mov rax, qword [rax]
add rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x18]
mov qword [rcx], rax
jmp 0x140001a41
mov rax, qword [rsp + 8]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 3
jne 0x1400019b2
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x18]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x18]
mov qword [rcx], rax
jmp 0x140001a41
mov rax, qword [rsp + 8]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 1
jne 0x1400019ee
mov rax, qword [rsp + 0x38]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x18]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x18]
mov qword [rcx], rax
jmp 0x140001a41
mov rax, qword [rsp + 8]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 2
jne 0x140001a26
mov rax, qword [rsp + 0x38]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x18]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x18]
mov qword [rcx], rax
jmp 0x140001a41
mov rax, qword [rsp + 8]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
test eax, eax
je 0x140001a41
xor al, al
jmp 0x140001a65
mov rax, qword [rsp + 8]
add rax, 2
mov qword [rsp + 8], rax
jmp 0x1400018d3
mov rax, qword [rsp + 8]
mov qword [rsp + 0x20], rax
jmp 0x140001892
mov al, 1
add rsp, 0x78
pop rdi
pop rsi
ret