Function at 0x140001890
Capabilities:
Enumerate pe sections

Disassembly:
push r12
push r14
sub rsp, 0x38
movzx eax, word [rdx + 0x14]
lea r9, [rdx + 0x18]
mov r10d, dword [rdx + 0x90]
add r9, rax
movzx eax, word [rdx + 6]
mov r14, rdx
mov r12, rcx
lea r8, [rax + rax*4]
lea r11, [r9 + r8*8]
cmp r9, r11
jae 0x1400018e2
mov ecx, dword [r9 + 0xc]
cmp r10, rcx
jb 0x1400018d9
mov eax, dword [r9 + 8]
add eax, ecx
cmp r10, rax
jb 0x14000196c
add r9, 0x28
cmp r9, r11
jb 0x1400018c1
xor eax, eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
test r10d, r10d
je 0x140001acf
cmp dword [rdx + 0x94], 0
je 0x140001acf
lea r13, [rax + 0x10]
nop dword [rax]
movzx r10d, word [r14 + 0x14]
movzx r8d, word [r14 + 6]
add r10, 0x18
mov r9d, dword [r13 - 4]
add r10, r14
mov rdx, r10
lea rax, [r8 + r8*4]
lea rcx, [r10 + rax*8]
cmp r10, rcx
jae 0x140001acf
mov ecx, dword [rdx + 0xc]
cmp r9, rcx
jb 0x14000195b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r9, rax
jb 0x14000197e
lea rcx, [r8 + r8*4]
add rdx, 0x28
lea rax, [r10 + rcx*8]
cmp rdx, rax
jmp 0x140001943
mov eax, dword [r9 + 0x14]
sub rax, rcx
add rax, r10
add rax, r12
jmp 0x1400018e4
mov ebp, dword [rdx + 0x14]
sub rbp, rcx
add rbp, r9
add rbp, r12
je 0x140001acf
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
test rax, rax
je 0x140001acd
movzx r11d, word [r14 + 0x14]
movzx r9d, word [r14 + 6]
add r11, 0x18
mov r10d, dword [r13]
add r11, r14
mov r8, r11
lea rcx, [r9 + r9*4]
lea rdx, [r11 + rcx*8]
cmp r11, rdx
jae 0x1400019fe
mov ecx, dword [r8 + 0xc]
cmp r10, rcx
jb 0x1400019de
mov eax, dword [r8 + 8]
add eax, ecx
cmp r10, rax
jb 0x1400019ef
lea rcx, [r9 + r9*4]
add r8, 0x28
lea rax, [r11 + rcx*8]
cmp r8, rax
jmp 0x1400019c8
mov esi, dword [r8 + 0x14]
sub rsi, rcx
add rsi, r10
add rsi, r12
jmp 0x140001a00
xor esi, esi
mov rax, qword [rsi]
test rax, rax
je 0x140001ac4
jns 0x140001a26
movzx ebx, word [rsi]
xor edx, edx
mov r8d, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edx, ebx
jmp 0x140001a92
movzx r10d, word [r14 + 0x14]
movzx r8d, word [r14 + 6]
add r10, 0x18
mov r9, qword [rsi]
add r10, r14
mov rax, r10
lea rcx, [r8 + r8*4]
lea rdx, [r10 + rcx*8]
cmp r10, rdx
jae 0x140001a7b
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x140001a5c
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x140001a6d
lea rdx, [r8 + r8*4]
add rax, 0x28
lea rcx, [r10 + rdx*8]
cmp rax, rcx
jmp 0x140001a48
mov ebx, dword [rax + 0x14]
sub rbx, rdx
add rbx, r9
add rbx, r12
jmp 0x140001a7d
xor ebx, ebx
xor edx, edx
mov r8d, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rdx, [rbx + 2]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rcx, rdi
sub rbx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rbx + r15]
mov qword [rsi], rax
add rsi, 8
mov rax, qword [rsi]
test rax, rax
jne 0x140001a0c
add r13, 0x14
jmp 0x140001920
jmp 0x140001ad1
mov al, 1
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x38
pop r14
pop r12
ret