Function at 0x140120c20
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
push r12
push r15
sub rsp, 0x80
lea r15, [rdx - 8]
mov rdi, r9
add r15, rcx
mov r12, rcx
cmp rdx, 8
jbe 0x1401212e6
mov r11, qword [rsp + 0xe8]
mov r9d, 1
mov qword [rax + 0x18], rbx
lea rbx, [r8 + 4]
mov qword [rax - 0x20], rbp
mov qword [rax - 0x28], rsi
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
movzx eax, word [r8]
mov dword [rsp + 0xc], eax
mov qword [rsp + 0x48], rbx
test eax, eax
je 0x140120c8f
lea ecx, [rax - 1]
mov eax, r9d
shl eax, cl
jmp 0x140120c92
mov eax, r9d
movzx r10d, byte [rdi + r11 - 1]
add r8, 4
cdqe
lea rax, [r8 + rax*4]
mov r8, qword [rax + r10*8]
mov qword [rsp + 0x40], rax
mov rdx, r8
shr rdx, 0x20
lea ecx, [rdx + 0x8000]
shr ecx, 0x10
mov eax, ecx
shl eax, 0x10
sub eax, edx
mov edx, eax
sar rdx, cl
movsxd rax, r8d
add rdx, rax
movzx eax, word [rbx + rdx*2]
mov rdx, qword [rsp + 0xc0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0xc8]
lea rsi, [rdx + 4]
mov qword [rsp + 0x38], rsi
movzx ebx, byte [rax + r11 - 1]
movzx eax, word [rdx]
mov dword [rsp + 0x10], eax
test eax, eax
je 0x140120d0a
lea ecx, [rax - 1]
mov eax, r9d
shl eax, cl
jmp 0x140120d0d
mov eax, r9d
mov rbp, qword [rsp + 0xd8]
add rdx, 4
movsxd rcx, eax
lea rcx, [rdx + rcx*4]
mov r8, qword [rcx + rbx*8]
mov qword [rsp + 0x30], rcx
mov rdx, r8
shr rdx, 0x20
lea ecx, [rdx + 0x8000]
shr ecx, 0x10
mov eax, ecx
shl eax, 0x10
sub eax, edx
mov edx, eax
sar rdx, cl
movsxd rax, r8d
add rdx, rax
movzx eax, word [rsi + rdx*2]
mov rdx, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rax
movzx eax, word [rdx]
lea rsi, [rdx + 4]
mov dword [rsp + 0x14], eax
mov qword [rsp + 0x58], rsi
test eax, eax
je 0x140120d76
lea ecx, [rax - 1]
shl r9d, cl
add rdx, 4
movsxd rax, r9d
movzx r9d, byte [r11 + rbp - 1]
lea r14, [0x140000000]
lea rax, [rdx + rax*4]
mov r8, qword [rax + r9*8]
mov qword [rsp + 0x50], rax
mov rdx, r8
shr rdx, 0x20
lea ecx, [rdx + 0x8000]
shr ecx, 0x10
mov eax, ecx
shl eax, 0x10
sub eax, edx
mov edx, eax
sar rdx, cl
movsxd rax, r8d
movzx r8d, byte [r9 + r14 + 0x1c1010]
add rdx, rax
mov ecx, r8d
movzx eax, word [rsi + rdx*2]
movzx edx, byte [r10 + r14 + 0x1c1038]
mov qword [rsp], rax
mov rax, qword [rsp + 0xe0]
mov r9d, dword [r14 + rdx*4 + 0x1c1070]
lea r10d, [r8 + rdx]
lea rsi, [rax + r11*8]
movzx eax, word [rax + r11*8 - 2]
and r9, rax
movzx eax, word [rsi - 4]
shl r9, cl
mov ecx, dword [r14 + r8*4 + 0x1c1070]
mov r8, rbx
and rcx, rax
or r9, rcx
cmp dword [rsp + 0xf0], 0
je 0x140120e8c
mov edi, gethostname
mov rbx, r12
cmp r8d, edi
cmovb edi, r8d
sub r8d, edi
je 0x140120e6d
mov eax, dword [rsi - 8]
mov ecx, r10d
mov edx, dword [r14 + r8*4 + 0x1c1070]
add r10d, r8d
and rdx, rax
mov rbx, r15
shl rdx, cl
or r9, rdx
mov eax, r10d
shr rax, 3
and r10d, 7
mov qword [r12], r9
lea rdx, [rax + r12]
shl al, 3
movzx ecx, al
shr r9, cl
cmp rdx, r15
cmovbe rbx, rdx
mov eax, dword [rsi - 8]
mov ecx, r8d
shr rax, cl
lea esi, [r10 + rdi]
mov ecx, dword [r14 + rdi*4 + 0x1c1070]
mov rdi, qword [rsp + 0xb8]
jmp 0x140120e9e
mov ecx, dword [rsi - 8]
lea esi, [r10 + rbx]
mov eax, dword [r14 + rbx*4 + 0x1c1070]
mov rbx, r12
and rax, rcx
mov edx, esi
shr rdx, 3
lea r13, [r11 - 2]
mov ecx, r10d
mov r14, r15
shl rax, cl
or rax, r9
lea rcx, [rbx + rdx]
mov qword [rbx], rax
cmp rcx, r15
cmovbe r14, rcx
movzx ecx, dl
shl cl, 3
and esi, 7
shr rax, cl
cmp r13, r11
jae 0x1401211ce
mov rcx, qword [rsp + 0xc8]
mov rdx, rbp
add rdx, r13
sub rcx, rbp
sub rdi, rbp
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc8], rcx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rcx + rdx]
lea rbx, [0x140000000]
movzx r9d, byte [rdi + rdx]
mov ebp, ecx
movzx r10d, byte [rdx]
mov r11, qword [rsp + 0x20]
mov r12, qword [rsp + 0x18]
movzx edx, byte [r9 + rbx + 0x1c1038]
movzx r8d, byte [r10 + rbx + 0x1c1010]
mov dword [rsp + 0xa8], edx
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 8], r8d
mov r8, qword [rdx + rcx*8]
mov rcx, r8
shr rcx, 0x20
add rcx, r11
shr rcx, 0x10
mov edx, ecx
mov edi, dword [rbx + rdx*4 + 0x1c1070]
lea ebx, [rsi + rcx]
and rdi, r11
sar r11, cl
movsxd rcx, r8d
add r11, rcx
mov rcx, qword [rsp + 0x38]
movzx r11d, word [rcx + r11*2]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], r11
mov r8, qword [rcx + r9*8]
lea r9, [0x140000000]
mov rcx, r8
shr rcx, 0x20
add rcx, r12
shr rcx, 0x10
mov edx, ecx
lea r11d, [rbx + rcx]
mov r9d, dword [r9 + rdx*4 + 0x1c1070]
and r9, r12
sar r12, cl
movsxd rcx, r8d
add r12, rcx
mov rcx, qword [rsp + 0x48]
movzx r12d, word [rcx + r12*2]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x18], r12
mov r10, qword [rcx + r10*8]
lea rcx, [0x140000000]
mov r8, r10
shr r8, 0x20
add r8, qword [rsp]
shr r8, 0x10
mov edx, r8d
mov r12d, dword [rcx + rdx*4 + 0x1c1070]
mov ecx, r11d
mov rdx, qword [rsp]
and r12, rdx
shl r12, cl
mov ecx, ebx
shl r9, cl
mov ecx, esi
or r12, r9
shl rdi, cl
or r12, rdi
lea r9d, [r11 + r8]
mov r11d, dword [rsp + 0xa8]
or r12, rax
movsxd rax, r10d
mov ecx, r8d
mov r10d, dword [rsp + 8]
sar rdx, cl
add rdx, rax
lea ebx, [r11 + rbp]
mov rax, qword [rsp + 0x58]
add ebx, r10d
movzx edx, word [rax + rdx*2]
mov qword [rsp], rdx
cmp ebx, 0x1f
jb 0x140121078
mov qword [r14], r12
mov eax, r9d
and r9d, 7
shr rax, 3
lea rdx, [r14 + rax]
shl al, 3
movzx ecx, al
mov r14, r15
shr r12, cl
cmp rdx, r15
cmovbe r14, rdx
lea r8d, [r9 + r10]
mov ecx, r9d
lea rdi, [0x140000000]
mov eax, dword [rdi + r10*4 + 0x1c1070]
lea esi, [r11 + r8]
mov r10, qword [rsp + 0xe0]
movzx edx, word [r10 + r13*8 + 4]
and rax, rdx
mov edx, dword [rdi + r11*4 + 0x1c1070]
shl rax, cl
movzx ecx, word [r10 + r13*8 + 6]
and rdx, rcx
mov ecx, r8d
shl rdx, cl
or rax, rdx
or rax, r12
cmp ebx, 0x38
jbe 0x1401210e8
mov qword [r14], rax
mov ecx, esi
and esi, 7
shr rcx, 3
lea rdx, [r14 + rcx]
shl cl, 3
shr rax, cl
mov r14, r15
cmp rdx, r15
cmovbe r14, rdx
cmp dword [rsp + 0xf0], 0
je 0x14012115d
mov r8d, gethostname
cmp ebp, r8d
cmovb r8d, ebp
sub ebp, r8d
je 0x14012113c
mov ecx, dword [r10 + r13*8]
mov edx, dword [rdi + rbp*4 + 0x1c1070]
and rdx, rcx
mov ecx, esi
shl rdx, cl
add esi, ebp
or rax, rdx
mov ecx, esi
shr rcx, 3
and esi, 7
mov qword [r14], rax
lea rdx, [r14 + rcx]
shl cl, 3
shr rax, cl
mov r14, r15
cmp rdx, r15
cmovbe r14, rdx
mov edx, dword [r10 + r13*8]
mov ecx, ebp
shr rdx, cl
mov ecx, dword [rdi + r8*4 + 0x1c1070]
and rdx, rcx
mov ecx, esi
shl rdx, cl
or rax, rdx
add esi, r8d
jmp 0x140121175
mov ecx, dword [r10 + r13*8]
mov edx, dword [rdi + rbp*4 + 0x1c1070]
and rdx, rcx
mov ecx, esi
shl rdx, cl
or rax, rdx
add esi, ebp
mov rdi, qword [rsp + 0xb8]
mov qword [r14], rax
mov edx, esi
shr rdx, 3
lea rcx, [r14 + rdx]
mov r14, r15
cmp rcx, r15
cmovbe r14, rcx
movzx ecx, dl
mov rdx, qword [rsp + 0x28]
and esi, 7
shl cl, 3
dec rdx
shr rax, cl
dec r13
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rdx
cmp r13, qword [rsp + 0xe8]
jb 0x140120f10
mov r12, qword [rsp + 0xa0]
mov edx, dword [rsp + 0xc]
lea rbx, [0x140000000]
mov r10d, dword [rsp + 0x10]
mov ecx, esi
mov r13, qword [rsp + 0x68]
mov r8, r15
mov rbp, qword [rsp + 0x78]
mov r11d, dword [rbx + rdx*4 + 0x1c1070]
lea r9d, [rsi + rdx]
and r11, qword [rsp + 0x18]
mov edx, dword [rbx + r10*4 + 0x1c1070]
mov rsi, qword [rsp + 0x70]
shl r11, cl
or r11, rax
mov ecx, r9d
shr rcx, 3
mov qword [r14], r11
lea rax, [r14 + rcx]
mov r14, qword [rsp + 0x60]
cmp rax, r15
cmovbe r8, rax
and rdx, qword [rsp + 0x20]
shl cl, 3
and r9d, 7
shr r11, cl
add r10d, r9d
mov ecx, r9d
mov r9d, dword [rsp + 0x14]
shl rdx, cl
or r11, rdx
mov ecx, r10d
shr rcx, 3
mov edx, dword [rbx + r9*4 + 0x1c1070]
mov rbx, qword [rsp + 0xb0]
mov qword [r8], r11
lea rax, [r8 + rcx]
mov r8, r15
cmp rax, r15
cmovbe r8, rax
and rdx, qword [rsp]
shl cl, 3
and r10d, 7
shr r11, cl
mov ecx, r10d
shl rdx, cl
or r11, rdx
lea edx, [r9 + r10]
mov qword [r8], r11
mov ecx, edx
shr rcx, 3
lea rax, [r8 + rcx]
mov r8, r15
cmp rax, r15
cmovbe r8, rax
and edx, 7
shl cl, 3
shr r11, cl
bts r11, rdx
lea r9d, [rdx + 1]
mov qword [r8], r11
mov ecx, r9d
mov rdx, r15
shr rcx, 3
add rcx, r8
cmp rcx, r15
cmovbe rdx, rcx
cmp rdx, r15
jae 0x1401212e6
test r9b, 7
mov eax, 0
seta al
sub rax, r12
add rax, rdx
jne 0x1401212ed
mov rax, 0xffffffffffffffba
add rsp, 0x80
pop r15
pop r12
pop rdi
ret