Function at 0x180004140
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 0x1800041a1
nop dword [rax + rax]
mov ecx, dword [r9 + 0xc]
cmp r10, rcx
jb 0x180004198
mov eax, dword [r9 + 8]
add eax, ecx
cmp r10, rax
jb 0x180004246
add r9, 0x28
cmp r9, r8
jb 0x180004180
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 0x18000421b
cmp dword [rbp + 0x94], 0
je 0x18000421b
lea rbx, [0x18004d640]
nop
movzx eax, word [rbp + 0x14]
lea rdx, [rbp + 0x18]
mov r8d, dword [r13 - 4]
add rdx, rax
movzx eax, word [rbp + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x18000421b
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180004212
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18000425f
add rdx, 0x28
cmp rdx, r9
jb 0x180004200
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, [0x18004d650]
sub r13, rcx
add r13, r10
add r13, rax
jmp 0x1800041a7
mov r15d, dword [rdx + 0x14]
sub r15, rcx
add r15, r8
add r15, rbx
je 0x18000421b
mov rdx, r15
mov ecx, r11d
call fcn.1800034a0
mov r12, rax
test rax, rax
je 0x1800043a8
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 0x1800042c0
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1800042b7
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1800042ec
add rdx, 0x28
cmp rdx, r9
jb 0x1800042a5
xor r14d, r14d
mov rdi, qword [r14]
test rdi, rdi
je 0x180004387
lea r13, [0x18004d642]
jns 0x1800042fb
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
movzx edx, di
jmp 0x180004349
mov r14d, dword [rdx + 0x14]
sub r14, rcx
add r14, r8
add r14, rbx
jmp 0x1800042c3
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 0x180004332
mov edx, dword [rax + 0xc]
cmp rdi, rdx
jb 0x180004329
mov ecx, dword [rax + 8]
add ecx, edx
cmp rdi, rcx
jb 0x18000439a
add rax, 0x28
cmp rax, r8
jb 0x180004317
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 0x1800042d6
mov r13, qword [rsp + 0x68]
lea rbx, [0x18004d640]
mov r11d, dword [rsp + 0x60]
add r13, 0x14
mov qword [rsp + 0x68], r13
jmp 0x1800041e0
mov esi, dword [rax + 0x14]
sub rsi, rdx
add rsi, rdi
add rsi, r13
jmp 0x180004337
jmp 0x180004220