Function at 0x140023060
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 0x1400230d2
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0xc], 0
jne 0x1400230b2
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0xd0], 0
je 0x1400230d2
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0xc], 0
je 0x1400230d9
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0xd8], 0
jne 0x1400230d9
xor eax, eax
jmp 0x140023849
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 0x1400231b2
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 0x140023175
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 0x140023221
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 0x1400231e6
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 0x14002323e
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 0x14002329f
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 0x1400232b9
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
jmp 0x1400232c1
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.1400283a0
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x140023331
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 0x14002336a
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 0x140023382
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 0x1400233a0
mov eax, dword [rsp + 0x88]
add eax, 1
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x88], eax
jge 0x1400236fa
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.140044a30
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.140043410
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x14002351c
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 8], 0
jne 0x14002345c
lea rcx, [rsp + 0xc0]
call fcn.140044870
test rax, rax
je 0x1400234ec
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 8], 0
jne 0x14002348c
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0x10], 0
je 0x1400234ec
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 8], 0
jne 0x1400234bc
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0xc], 0
je 0x1400234ec
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0x10], 0
jne 0x14002351c
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0xc], 0
jne 0x14002351c
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 0x1400236fa
lea rcx, [rsp + 0xc0]
call fcn.140044870
test rax, rax
jbe 0x140023568
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.140010c00
mov rcx, rax
call fcn.1400329c0
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 0x1400235d6
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 0x1400235f3
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
jmp 0x1400235fe
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.1400283a0
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x1400236e8
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 0x1400236e8
mov rcx, qword [rsp + 0x210]
mov eax, dword [rsp + 0x38]
mov dword [rcx + 0x40], eax
lea rcx, [rsp + 0x90]
call fcn.1400067b0
jmp 0x14002338f
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x14002382d
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x20], 1
jne 0x14002373b
mov dword [rsp + 0x1e8], 0
lea rcx, [rsp + 0x40]
call fcn.1400067b0
mov eax, dword [rsp + 0x1e8]
jmp 0x140023849
mov qword [rsp + 0xd8], 0
mov rcx, qword [rsp + 0x210]
call fcn.14003d980
test eax, eax
je 0x140023777
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0xd8]
add rax, 0xa8
mov qword [rsp + 0xd8], rax
jmp 0x140023794
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 0x1400237c2
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 0x140023801
mov rcx, qword [rsp + 0x210]
add rcx, 0xe0
call fcn.140028390
cmp rax, 2
jb 0x140023801
mov dword [rsp + 0x1f4], 1
jmp 0x14002380c
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 0x140023849
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.1400437e0
add rsp, 0x200
pop rdi
ret