Function at 0x140022f30
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x200
mov rax, qword [0x140065840]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x210]
cmp dword [rax + 8], 0
je 0x140022fa2
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0xc], 0
jne 0x140022f82
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0xd0], 0
je 0x140022fa2
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0xc], 0
je 0x140022fa9
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0xd8], 0
jne 0x140022fa9
xor eax, eax
jmp 0x140023719
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0xd0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0xd8]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0xc], 0
je 0x140023082
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x210]
mov rax, qword [rsp + 0x78]
mov qword [rcx + 0x58], rax
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x140023045
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x54]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 6]
mov dword [rsp + 0x6c], eax
mov rcx, qword [rsp + 0x210]
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x50]
mov dword [rcx + 0x48], eax
jmp 0x1400230f1
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x210]
mov eax, dword [rsp + 0x28]
mov dword [rcx + 0x60], eax
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x1400230b6
mov eax, dword [rsp + 0x218]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x54]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 6]
mov dword [rsp + 0x6c], eax
mov rcx, qword [rsp + 0x210]
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x50]
mov dword [rcx + 0x48], eax
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x14002310e
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x44], 0
lea rcx, [rsp + 0x40]
call fcn.140003220
lea rdi, [rsp + 0x48]
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x68], 0
je 0x14002316f
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x68]
lea eax, [rcx + rax - 1]
xor edx, edx
div dword [rsp + 0x68]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x84]
imul eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0xc], 0
je 0x140023189
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
jmp 0x140023191
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x5c], eax
lea rdx, str.PE_Header
lea rcx, [rsp + 0x40]
call fcn.140003460
mov dword [rsp + 0x64], 0x40000000
mov rcx, qword [rsp + 0x210]
add rcx, 0xe0
lea rdx, [rsp + 0x40]
call fcn.1400280b0
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x140023201
mov rax, qword [rsp + 0x210]
mov ecx, dword [rax + 0x44]
add ecx, dword [rsp + 0x80]
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x44], ecx
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0xc], 0
je 0x14002323a
mov rax, qword [rsp + 0x70]
movzx ecx, word [rax + 0x14]
mov rax, qword [rsp + 0x70]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x140023252
mov rax, qword [rsp + 0x20]
movzx ecx, word [rax + 0x14]
mov rax, qword [rsp + 0x20]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x88], 0
jmp 0x140023270
mov eax, dword [rsp + 0x88]
add eax, 1
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x88], eax
jge 0x1400235ca
lea rcx, [rsp + 0x90]
call fcn.140003220
lea rdi, [rsp + 0x98]
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea rdi, [rsp + 0xc0]
xor eax, eax
mov ecx, 9
rep stosb byte [rdi], al
mov r8d, 9
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.140044740
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0x28
mov rdx, qword [rsp + 0x30]
add rdx, rax
mov r8d, 8
lea rcx, [rsp + 0xc0]
call fcn.140043120
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x1400233ec
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 8], 0
jne 0x14002332c
lea rcx, [rsp + 0xc0]
call fcn.140044580
test rax, rax
je 0x1400233bc
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 8], 0
jne 0x14002335c
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0x10], 0
je 0x1400233bc
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 8], 0
jne 0x14002338c
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0xc], 0
je 0x1400233bc
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0x10], 0
jne 0x1400233ec
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0xc], 0
jne 0x1400233ec
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x20], 1
mov rcx, qword [rsp + 0x210]
mov eax, dword [rsp + 0x38]
mov dword [rcx + 0x40], eax
lea rcx, [rsp + 0x90]
call fcn.1400067b0
jmp 0x1400235ca
lea rcx, [rsp + 0xc0]
call fcn.140044580
test rax, rax
jbe 0x140023438
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.140010c00
mov rcx, rax
call fcn.1400326d0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140003460
lea rcx, [rsp + 0xe0]
call fcn.140010bd0
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + rcx + 8]
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0x68], 0
je 0x1400234a6
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + rcx + 8]
mov eax, dword [rsp + 0x68]
lea eax, [rcx + rax - 1]
xor edx, edx
div dword [rsp + 0x68]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0xd0]
imul eax, dword [rsp + 0x68]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0xc], 0
je 0x1400234c3
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
jmp 0x1400234ce
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x98], eax
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + rcx + 0xc]
mov dword [rsp + 0xa8], eax
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + rcx + 0x10]
mov dword [rsp + 0xac], eax
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + rcx + 0x14]
mov dword [rsp + 0xb0], eax
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + rcx + 0x24]
mov dword [rsp + 0xb4], eax
mov rcx, qword [rsp + 0x210]
add rcx, 0xe0
lea rdx, [rsp + 0x90]
call fcn.1400280b0
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x1400235b8
mov rax, qword [rsp + 0x210]
mov ecx, dword [rax + 0x44]
add ecx, dword [rsp + 0xac]
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x44], ecx
mov ecx, dword [rsp + 0xa0]
mov eax, dword [rsp + 0xa8]
add eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x88]
add eax, 1
cmp eax, dword [rsp + 0x6c]
jne 0x1400235b8
mov rcx, qword [rsp + 0x210]
mov eax, dword [rsp + 0x38]
mov dword [rcx + 0x40], eax
lea rcx, [rsp + 0x90]
call fcn.1400067b0
jmp 0x14002325f
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x1400236fd
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x20], 1
jne 0x14002360b
mov dword [rsp + 0x1e8], 0
lea rcx, [rsp + 0x40]
call fcn.1400067b0
mov eax, dword [rsp + 0x1e8]
jmp 0x140023719
mov qword [rsp + 0xd8], 0
mov rcx, qword [rsp + 0x210]
call fcn.14003d690
test eax, eax
je 0x140023647
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0xd8]
add rax, 0xa8
mov qword [rsp + 0xd8], rax
jmp 0x140023664
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0xd0]
add rax, 0x98
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
cmp dword [rax], 0
je 0x140023692
mov rax, qword [rsp + 0x210]
mov ecx, dword [rax + 0x44]
mov rax, qword [rsp + 0xd8]
add ecx, dword [rax + 4]
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x44], ecx
mov rcx, qword [rsp + 0x210]
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x48]
cmp dword [rcx + 0x40], eax
jne 0x1400236d1
mov rcx, qword [rsp + 0x210]
add rcx, 0xe0
call fcn.1400280a0
cmp rax, 2
jb 0x1400236d1
mov dword [rsp + 0x1f4], 1
jmp 0x1400236dc
mov dword [rsp + 0x1f4], 0
mov eax, dword [rsp + 0x1f4]
mov dword [rsp + 0x1ec], eax
lea rcx, [rsp + 0x40]
call fcn.1400067b0
mov eax, dword [rsp + 0x1ec]
jmp 0x140023719
mov dword [rsp + 0x1f0], 1
lea rcx, [rsp + 0x40]
call fcn.1400067b0
mov eax, dword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1400434f0
add rsp, 0x200
pop rdi
ret