Function at 0x140017930
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x88], r8
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0xa0], rcx
cmp qword [rsp + 0xe0], 0
je 0x140017bec
cmp qword [rsp + 0x90], 0
je 0x140017bec
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0xe0]
movzx edx, word [rax + 0x14]
add rdx, rax
add rdx, 0x18
mov qword [rsp + 0x80], rdx
je 0x140017be4
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x48], 0
nop word cs:[rax + rax]
movzx eax, byte [rsp + 0x48]
mov rdx, qword [rsp + 0xe0]
movzx edx, word [rdx + 6]
cmp eax, edx
jge 0x140017a68
mov rax, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x48]
lea rdx, [rdx + rdx*4]
lea r8, [rax + rdx*8]
mov qword [rsp + 0x50], r8
mov r8, qword [rsp + 0xe0]
mov r8d, dword [r8 + 0xb0]
cmp r8d, dword [rax + rdx*8 + 0xc]
jb 0x140017a50
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rdx + 0xc]
add r8d, dword [rdx + 8]
cmp dword [rax + 0xb0], r8d
jae 0x140017a50
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x3c], 2
cmp dword [rsp + 0x3c], 0
je 0x140017a5f
jmp 0x140017a70
mov dword [rsp + 0x3c], 0
cmp dword [rsp + 0x3c], 0
jne 0x140017a70
inc byte [rsp + 0x48]
jmp 0x1400179c0
mov dword [rsp + 0x3c], 2
cmp qword [rsp + 0x60], 0
je 0x140017be4
mov rsi, rcx
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0xe0]
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x50]
call fcn.140017c70
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140017ac7
cmp qword [rsp + 0x60], 0
je 0x140017be4
cmp qword [rsp + 0x40], 0
je 0x140017bf6
mov rax, qword [rsp + 0xe0]
mov r8d, dword [rax + 0x54]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call fcn.140002640
mov eax, 0x108
add rax, qword [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
nop dword [rax + rax]
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x48], eax
jge 0x140017b52
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x48]
lea rdx, [rcx + rcx*4]
mov ecx, dword [rax + rdx*8 + 0xc]
mov r8d, dword [rax + rdx*8 + 0x10]
mov edx, dword [rax + rdx*8 + 0x14]
add rdx, qword [rsp + 0x70]
add rcx, qword [rsp + 0x40]
call fcn.140002640
inc dword [rsp + 0x48]
jmp 0x140017b10
mov dword [rsp + 0x3c], 5
mov rdx, qword [rsp + 0x88]
mov rdi, rsi
mov rcx, rsi
call fcn.140017ec0
mov r8, qword [rsp + 0x40]
mov qword [rsp + 0x48], r8
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
mov qword [rsp + 0x98], rdx
mov rcx, rsi
call fcn.1400180c0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x68]
je 0x140017bc4
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax + 0x50]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov r9, rdx
call fcn.140018560
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax + 0x28]
mov rdx, qword [rsp + 0x40]
add rcx, rdx
mov qword [rsp + 0x78], rcx
mov qword [rax + 0x30], rdx
call qword [rsp + pe_nt_image_headers64]
mov dword [rsp + 0x3c], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
cmp qword [rsp + 0x60], 0
je 0x140017ad3
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x50]
call fcn.140017d90
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140017ad3
jmp 0x140017be4