Function at 0x140004900
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 0x140004961
nop dword [rax]
mov ecx, dword [r10 + 0xc]
cmp r11, rcx
jb 0x140004958
mov eax, dword [r10 + 8]
add eax, ecx
cmp r11, rax
jb 0x1400049f5
add r10, 0x28
cmp r10, r9
jb 0x140004940
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 0x1400049cf
cmp dword [r8 + 0x94], 0
je 0x1400049cf
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 0x1400049cf
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400049c6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140004a07
add rdx, 0x28
cmp rdx, r9
jb 0x1400049b4
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 0x140004963
mov r15d, dword [rdx + 0x14]
sub r15, rcx
add r15, r8
add r15, rbx
je 0x1400049cf
mov rdx, r15
mov ecx, edi
call fcn.140003b50
mov r12, rax
test rax, rax
je 0x140004b47
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 0x140004a6b
nop dword [rax]
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140004a62
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140004a95
add rdx, 0x28
cmp rdx, r9
jb 0x140004a50
xor r14d, r14d
mov rdi, qword [r14]
test rdi, rdi
je 0x140004b2c
mov r13, qword [rsp + 0x68]
jns 0x140004aa4
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
movzx edx, di
jmp 0x140004af0
mov r14d, dword [rdx + 0x14]
sub r14, rcx
add r14, r8
add r14, rbx
jmp 0x140004a6e
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 0x140004adb
mov edx, dword [rax + 0xc]
cmp rdi, rdx
jb 0x140004ad2
mov ecx, dword [rax + 8]
add ecx, edx
cmp rdi, rcx
jb 0x140004b39
add rax, 0x28
cmp rax, r8
jb 0x140004ac0
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 0x140004a7f
mov r13, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov edi, dword [rsp + 0x60]
add r13, 0x14
jmp 0x14000498f
mov esi, dword [rax + 0x14]
sub rsi, rdx
add rsi, rdi
add rsi, r13
jmp 0x140004add
jmp 0x1400049d4