Function at 0x140005a50
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push r13
sub rsp, 0x48
movzx eax, word [r8 + 0x14]
lea r9, [r8 + 0x18]
mov r10d, dword [r8 + 0x90]
add r9, rax
movzx eax, word [r8 + 6]
mov rbp, r8
mov r11d, ecx
lea rdx, [rax + rax*4]
lea r8, [r9 + rdx*8]
cmp r9, r8
jae 0x140005ab1
nop dword [rax + rax]
mov ecx, dword [r9 + 0xc]
cmp r10, rcx
jb 0x140005aa8
mov eax, dword [r9 + 8]
add eax, ecx
cmp r10, rax
jb 0x140005b56
add r9, 0x28
cmp r9, r8
jb 0x140005a90
mov r13d, 0x10
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x68], r13
test r10d, r10d
je 0x140005b2b
cmp dword [rbp + 0x94], 0
je 0x140005b2b
lea rbx, [0x140085280]
nop
movzx edx, word [rbp + 0x14]
movzx eax, word [rbp + 6]
add rdx, 0x18
mov r8d, dword [r13 - 4]
add rdx, rbp
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140005b2b
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140005b22
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140005b6f
add rdx, 0x28
cmp rdx, r9
jb 0x140005b10
mov eax, 1
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
add rsp, 0x48
pop r13
pop rbp
ret
mov r13d, dword [r9 + 0x14]
lea rax, [0x140085290]
sub r13, rcx
add r13, r10
add r13, rax
jmp 0x140005ab7
mov r15d, dword [rdx + 0x14]
sub r15, rcx
add r15, r8
add r15, rbx
je 0x140005b2b
mov rdx, r15
mov ecx, r11d
call fcn.140004dc0
mov r12, rax
test rax, rax
je 0x140005cb8
movzx edx, word [rbp + 0x14]
movzx eax, word [rbp + 6]
add rdx, 0x18
mov r8d, dword [r13]
add rdx, rbp
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140005bd0
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140005bc7
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140005bfc
add rdx, 0x28
cmp rdx, r9
jb 0x140005bb5
xor r14d, r14d
mov rdi, qword [r14]
test rdi, rdi
je 0x140005c97
lea r13, [0x140085282]
jns 0x140005c0b
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
movzx edx, di
jmp 0x140005c59
mov r14d, dword [rdx + 0x14]
sub r14, rcx
add r14, r8
add r14, rbx
jmp 0x140005bd3
movzx eax, word [rbp + 0x14]
movzx ecx, word [rbp + 6]
add rax, 0x18
add rax, rbp
lea rdx, [rcx + rcx*4]
lea r8, [rax + rdx*8]
cmp rax, r8
jae 0x140005c42
mov edx, dword [rax + 0xc]
cmp rdi, rdx
jb 0x140005c39
mov ecx, dword [rax + 8]
add ecx, edx
cmp rdi, rcx
jb 0x140005caa
add rax, 0x28
cmp rax, r8
jb 0x140005c27
mov esi, 2
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdx, rsi
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov rcx, rbx
sub rdi, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rdi + r12]
mov qword [r14], rax
add r14, 8
mov rdi, qword [r14]
test rdi, rdi
jne 0x140005be6
mov r13, qword [rsp + 0x68]
lea rbx, [0x140085280]
mov r11d, dword [rsp + 0x60]
add r13, 0x14
mov qword [rsp + 0x68], r13
jmp 0x140005af0
mov esi, dword [rax + 0x14]
sub rsi, rdx
add rsi, rdi
add rsi, r13
jmp 0x140005c47
jmp 0x140005b30