Function at 0x1400058c0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbx
push rbp
push rdi
sub rsp, 0x40
movzx eax, word [r8 + 0x14]
lea r10, [r8 + 0x18]
mov r11d, dword [r8 + 0x90]
add r10, rax
movzx eax, word [r8 + 6]
mov rbp, r8
mov rbx, rdx
mov edi, ecx
lea r9, [rax + rax*4]
lea r9, [r10 + r9*8]
cmp r10, r9
jae 0x140005921
nop dword [rax]
mov ecx, dword [r10 + 0xc]
cmp r11, rcx
jb 0x140005918
mov eax, dword [r10 + 8]
add eax, ecx
cmp r11, rax
jb 0x1400059b5
add r10, 0x28
cmp r10, r9
jb 0x140005900
xor edx, edx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test r11d, r11d
je 0x14000598f
cmp dword [r8 + 0x94], 0
je 0x14000598f
lea r13, [rdx + 0x10]
movzx eax, word [rbp + 0x14]
lea rdx, [rbp + 0x18]
mov r8d, dword [r13 - 4]
add rdx, rax
movzx eax, word [rbp + 6]
mov qword [rsp + 0x70], r13
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x14000598f
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140005986
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400059c7
add rdx, 0x28
cmp rdx, r9
jb 0x140005974
mov eax, 1
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
mov edx, dword [r10 + 0x14]
sub rdx, rcx
add rdx, r11
add rdx, rbx
jmp 0x140005923
mov r15d, dword [rdx + 0x14]
sub r15, rcx
add r15, r8
add r15, rbx
je 0x14000598f
mov rdx, r15
mov ecx, edi
call fcn.140004c30
mov r12, rax
test rax, rax
je 0x140005b07
movzx eax, word [rbp + 0x14]
lea rdx, [rbp + 0x18]
mov r8d, dword [r13]
add rdx, rax
movzx eax, word [rbp + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140005a2b
nop dword [rax]
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140005a22
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140005a55
add rdx, 0x28
cmp rdx, r9
jb 0x140005a10
xor r14d, r14d
mov rdi, qword [r14]
test rdi, rdi
je 0x140005aec
mov r13, qword [rsp + 0x68]
jns 0x140005a64
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
movzx edx, di
jmp 0x140005ab0
mov r14d, dword [rdx + 0x14]
sub r14, rcx
add r14, r8
add r14, rbx
jmp 0x140005a2e
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 0x140005a9b
mov edx, dword [rax + 0xc]
cmp rdi, rdx
jb 0x140005a92
mov ecx, dword [rax + 8]
add ecx, edx
cmp rdi, rcx
jb 0x140005af9
add rax, 0x28
cmp rax, r8
jb 0x140005a80
xor esi, esi
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rdx, [rsi + 2]
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 0x140005a3f
mov r13, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov edi, dword [rsp + 0x60]
add r13, 0x14
jmp 0x14000594f
mov esi, dword [rax + 0x14]
sub rsi, rdx
add rsi, rdi
add rsi, r13
jmp 0x140005a9d
jmp 0x140005994