Function at 0x140059130
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rax, qword [rdx]
mov r15, rcx
movzx ebx, byte [rdx + 0x1c]
mov rsi, rdx
mov rdi, qword [rcx + 0x10]
not ebx
and ebx, 1
mov r13d, dword [rax]
lea r12, [r15 + 0x54]
mov eax, dword [r12]
lea ecx, [rbx + r13]
add ecx, dword [rsp + 0xc0]
inc eax
mov dword [rsp + 0x30], ecx
cmp dword [rsp + 0xc8], 0
mov dword [r12], eax
mov edx, dword [rdx + 8]
mov dword [rsp + 0xa0], edx
mov dword [rsp + 0xa8], eax
je 0x1400591a6
mov r14d, r9d
sub r14d, r13d
sub r14d, ebx
jmp 0x1400591b0
lea r14d, [rax + 1]
add eax, ecx
mov dword [r12], eax
mov rdx, qword [rsi]
mov r9b, 1
mov r8d, r14d
mov rcx, r15
call fcn.1400406cc
lea rbp, [rsi + 0xc]
test ebx, ebx
je 0x1400591e7
and dword [rsp + 0x20], 0
lea r9d, [r14 + r13]
mov r8d, dword [rbp]
mov edx, 0x49
mov rcx, rdi
call fcn.14002cef0
lea r12, [r15 + 0x54]
cmp dword [rsp + 0xc8], 0
jne 0x14005921e
mov r9d, dword [rsp + 0xc0]
lea r8d, [r14 + r13]
mov edx, dword [rsp + 0xb8]
add r8d, ebx
mov rcx, r15
call fcn.14003f5f0
lea rax, [r15 + 0x54]
mov qword [rsp + 0x38], rax
lea rbp, [rsi + 0xc]
jmp 0x140059223
mov qword [rsp + 0x38], r12
mov eax, dword [rsp + 0xa0]
mov edx, 0x31
mov r9d, dword [rsp + 0x30]
mov rcx, rdi
sub r9d, eax
lea r8d, [r14 + rax]
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x20], eax
call fcn.14002cef0
cmp dword [rsp + 0xa0], 0
jle 0x1400593fb
mov ecx, dword [r12]
lea r8d, [r14 + r13]
lea eax, [rcx + 1]
add ecx, dword [rsi + 8]
mov dword [r12], ecx
mov r12d, r13d
sub r12d, dword [rsi + 8]
add r12d, ebx
mov dword [rsp + 0xc8], eax
test ebx, ebx
jne 0x140059287
mov r8d, dword [rsi + 0xc]
neg ebx
mov rcx, rdi
sbb edx, edx
and dword [rsp + 0x20], 0
and edx, 0xfffffff3
xor r9d, r9d
add edx, 0x3b
call fcn.14002cef0
mov ecx, dword [rsi + 8]
mov r9d, r14d
mov r13d, dword [rsp + 0xc8]
mov edx, 0x2a
mov dword [rsp + 0x20], ecx
mov r8d, r13d
mov rcx, rdi
mov dword [rsp + 0x30], eax
call fcn.14002cef0
mov edx, dword [rsi + 0x18]
mov rcx, rdi
call fcn.14002d594
mov rcx, qword [r15]
mov qword [rsp + 0x40], rax
cmp byte [rcx + 0x50], 0
jne 0x1400594f9
mov rbx, qword [rax + 0x10]
xor edx, edx
mov ecx, dword [rsp + 0xc0]
add ecx, r12d
mov dword [rax + 8], ecx
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call fcn.1400a5660
mov r9d, 0xfffffffa
mov r8, rbx
or edx, 0xffffffff
mov rcx, rdi
call fcn.14002d4a4
mov r8d, dword [rsp + 0xa0]
mov r9d, 1
mov rdx, qword [rsi]
mov rcx, r15
call fcn.140059f54
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rcx + 0x10], rax
lea edx, [r9 + 0x2b]
mov ebx, dword [rdi + 0x3c]
mov rcx, rdi
lea r8d, [rbx + 1]
mov dword [rsp + 0x20], r8d
call fcn.14002cef0
mov rcx, rdi
call fcn.14002d02c
mov dword [rsi + 0x14], eax
xor r12d, r12d
mov rax, qword [rsp + 0x38]
mov rcx, rdi
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x11]
inc dword [rax]
mov r8d, dword [rax]
mov r9d, dword [rsi + 0x14]
mov dword [rsi + 0x10], r8d
call fcn.14002cef0
mov r8d, dword [rbp]
lea edx, [r12 + 0x77]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.14002cef0
mov eax, dword [rsp + 0x30]
mov edx, dword [rdi + 0x3c]
cmp edx, eax
jbe 0x1400593b8
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov r8d, r13d
mov rax, qword [rdi + 0x30]
dec ecx
mov edx, r14d
mov dword [rax + 0x64], ecx
mov rcx, r15
mov r9d, dword [rsi + 8]
call fcn.14003f5f0
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x1400593e9
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
lea rbp, [rsi + 0xc]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
jmp 0x1400593fe
xor r12d, r12d
mov dl, byte [rsi + 0x1c]
mov rcx, rdi
mov r9d, dword [rsp + 0xa8]
not dl
mov r8d, dword [rbp]
and edx, 1
add edx, 0x6d
mov dword [rsp + 0x20], r12d
call fcn.14002cef0
mov rcx, qword [rsp + 0xb0]
cmp dword [rcx + 0xc], r12d
je 0x1400594f9
mov eax, dword [rcx + 0x10]
mov edx, 0x8b
test eax, eax
mov dword [rsp + 0x20], r12d
lea ebx, [rax + 1]
cmove ebx, dword [rcx + 0xc]
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
call fcn.14002cef0
or r9d, 0xffffffff
mov esi, eax
mov r8d, ebx
mov dword [rsp + 0x20], r12d
mov rcx, rdi
lea edx, [r9 + 0x26]
call fcn.14002cef0
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
call fcn.14002cef0
mov ebx, eax
mov eax, dword [rdi + 0x3c]
cmp eax, esi
jbe 0x14005949e
mov rcx, qword [rdi + 8]
lea rdx, [rsi + rsi*2]
mov dword [rcx + rdx*8 + 8], eax
mov ecx, dword [rdi + 0x3c]
xor r9d, r9d
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x69]
mov dword [rax + 0x64], ecx
mov rcx, rdi
mov r8d, dword [rbp]
call fcn.14002cef0
mov r8d, dword [rbp]
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x5f]
call fcn.14002cef0
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x1400594ed
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret