Function at 0x140023080
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 0x1400230f2
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0xc], 0
jne 0x1400230d2
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0xd0], 0
je 0x1400230f2
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0xc], 0
je 0x1400230f9
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0xd8], 0
jne 0x1400230f9
xor eax, eax
jmp 0x140023869
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 0x1400231d2
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 0x140023195
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 0x140023241
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 0x140023206
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 0x14002325e
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 0x1400232bf
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 0x1400232d9
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
jmp 0x1400232e1
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.1400283c0
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x140023351
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 0x14002338a
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 0x1400233a2
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 0x1400233c0
mov eax, dword [rsp + 0x88]
add eax, 1
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x88], eax
jge 0x14002371a
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.140044a50
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.140043430
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x14002353c
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 8], 0
jne 0x14002347c
lea rcx, [rsp + 0xc0]
call fcn.140044890
test rax, rax
je 0x14002350c
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 8], 0
jne 0x1400234ac
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0x10], 0
je 0x14002350c
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 8], 0
jne 0x1400234dc
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0xc], 0
je 0x14002350c
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0x10], 0
jne 0x14002353c
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax + rcx + 0xc], 0
jne 0x14002353c
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 0x14002371a
lea rcx, [rsp + 0xc0]
call fcn.140044890
test rax, rax
jbe 0x140023588
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.140010c20
mov rcx, rax
call fcn.1400329e0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140003460
lea rcx, [rsp + 0xe0]
call fcn.140010bf0
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 0x1400235f6
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 0x140023613
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
jmp 0x14002361e
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.1400283c0
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x140023708
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 0x140023708
mov rcx, qword [rsp + 0x210]
mov eax, dword [rsp + 0x38]
mov dword [rcx + 0x40], eax
lea rcx, [rsp + 0x90]
call fcn.1400067b0
jmp 0x1400233af
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x14], 2
jne 0x14002384d
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x20], 1
jne 0x14002375b
mov dword [rsp + 0x1e8], 0
lea rcx, [rsp + 0x40]
call fcn.1400067b0
mov eax, dword [rsp + 0x1e8]
jmp 0x140023869
mov qword [rsp + 0xd8], 0
mov rcx, qword [rsp + 0x210]
call fcn.14003d9a0
test eax, eax
je 0x140023797
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0xd8]
add rax, 0xa8
mov qword [rsp + 0xd8], rax
jmp 0x1400237b4
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 0x1400237e2
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 0x140023821
mov rcx, qword [rsp + 0x210]
add rcx, 0xe0
call fcn.1400283b0
cmp rax, 2
jb 0x140023821
mov dword [rsp + 0x1f4], 1
jmp 0x14002382c
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 0x140023869
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.140043800
add rsp, 0x200
pop rdi
ret