Function at 0x140004cd0
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 0x140004d31
nop dword [rax]
mov ecx, dword [r10 + 0xc]
cmp r11, rcx
jb 0x140004d28
mov eax, dword [r10 + 8]
add eax, ecx
cmp r11, rax
jb 0x140004dc5
add r10, 0x28
cmp r10, r9
jb 0x140004d10
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 0x140004d9f
cmp dword [r8 + 0x94], 0
je 0x140004d9f
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 0x140004d9f
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140004d96
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140004dd7
add rdx, 0x28
cmp rdx, r9
jb 0x140004d84
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 0x140004d33
mov r15d, dword [rdx + 0x14]
sub r15, rcx
add r15, r8
add r15, rbx
je 0x140004d9f
mov rdx, r15
mov ecx, edi
call fcn.140004040
mov r12, rax
test rax, rax
je 0x140004f17
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 0x140004e3b
nop dword [rax]
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140004e32
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140004e65
add rdx, 0x28
cmp rdx, r9
jb 0x140004e20
xor r14d, r14d
mov rdi, qword [r14]
test rdi, rdi
je 0x140004efc
mov r13, qword [rsp + 0x68]
jns 0x140004e74
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
movzx edx, di
jmp 0x140004ec0
mov r14d, dword [rdx + 0x14]
sub r14, rcx
add r14, r8
add r14, rbx
jmp 0x140004e3e
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 0x140004eab
mov edx, dword [rax + 0xc]
cmp rdi, rdx
jb 0x140004ea2
mov ecx, dword [rax + 8]
add ecx, edx
cmp rdi, rcx
jb 0x140004f09
add rax, 0x28
cmp rax, r8
jb 0x140004e90
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 0x140004e4f
mov r13, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov edi, dword [rsp + 0x60]
add r13, 0x14
jmp 0x140004d5f
mov esi, dword [rax + 0x14]
sub rsi, rdx
add rsi, rdi
add rsi, r13
jmp 0x140004ead
jmp 0x140004da4