Function at 0x140004740
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140030018]
xor rax, rsp
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0xb0], 0
jne 0x140004770
xor eax, eax
jmp 0x140004bbc
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x50]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x68], 0
lea rcx, [0x1400321c8]
call qword [0x140032228]
mov rdx, qword [0x140032338]
mov ecx, dword [0x140032330]
call fcn.140006930
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, [rsp + 0x88]
mov rcx, 0xffffffffffffffff
call fcn.14000695c
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x14000481f
xor eax, eax
jmp 0x140004bbc
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x40], 0
jmp 0x140004855
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x40], eax
jge 0x1400048f1
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x18]
mov eax, dword [rcx + rax + 0x10]
movsxd rcx, dword [rsp + 0x40]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0xb0]
mov rdx, qword [rdx + 0x18]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0xb0]
add rcx, qword [rdx]
movsxd rdx, dword [rsp + 0x40]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0x18]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x88]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x70], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x70]
mov rcx, rax
call fcn.140002290
jmp 0x14000484b
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0x20]
call fcn.140003b60
test eax, eax
jne 0x140004915
xor eax, eax
jmp 0x140004bbc
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0x28]
call fcn.140003e20
test eax, eax
jne 0x140004949
xor eax, eax
jmp 0x140004bbc
mov rax, qword [rsp + 0xb0]
mov r8, qword [rax + 0x18]
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x88]
call fcn.1400040c0
test eax, eax
jne 0x140004979
xor eax, eax
jmp 0x140004bbc
cmp qword [0x1400321b0], 0
je 0x14000498d
cmp qword [0x1400321b8], 0
jne 0x140004994
xor eax, eax
jmp 0x140004bbc
lea rdx, [0x140005cb0]
mov ecx, 1
call qword [0x140032200]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400049ba
xor eax, eax
jmp 0x140004bbc
call fcn.140005db0
mov rcx, qword [rsp + 0x48]
call qword [0x140032208]
test eax, eax
jne 0x1400049d5
xor eax, eax
jmp 0x140004bbc
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
cmp dword [rax + 4], 0
je 0x140004a3c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov eax, dword [rax + 4]
xor edx, edx
mov ecx, 0xc
div rcx
dec rax
mov r8, qword [rsp + 0x88]
mov edx, eax
mov rcx, qword [rsp + 0x78]
call qword [0x140032210]
movzx eax, al
lea rdx, [0x140004be0]
mov ecx, 1
call qword [0x140032200]
mov qword [rsp + 0x48], rax
mov rdx, qword [0x140032358]
mov ecx, dword [0x140032350]
call fcn.140006930
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call fcn.14000695c
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x140004a88
xor eax, eax
jmp 0x140004bbc
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x30]
cmp dword [rax + 4], 0
je 0x140004b03
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x140004adf
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x140004b03
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x50]
call qword [rax]
jmp 0x140004ad1
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_LocalFree]
call qword [0x1400321f8]
mov qword [0x1400321a8], rax
cmp qword [0x1400321a8], 0
jne 0x140004b32
xor eax, eax
jmp 0x140004bbc
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x1f4
xor r9d, r9d
lea r8, [0x140004710]
mov rdx, qword [0x1400321a8]
lea rcx, [0x1400321c0]
call qword [0x1400321f0]
test eax, eax
jne 0x140004b70
xor eax, eax
jmp 0x140004bbc
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x48], 0
je 0x140004ba6
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140004ba6
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [rsp + 0x58]
jmp 0x140004bbc
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140004bbc
call qword [rsp + 0x68]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400069a0
add rsp, 0xa8
ret