Function at 0x140004a80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x8050]
mov eax, 0x8150
call fcn.140020ad0
sub rsp, rax
mov rax, qword [0x1400bf848]
xor rax, rsp
mov qword [rbp + 0x8020], rax
xor esi, esi
mov qword [rbp - 0x68], r8
mov qword [rbp - 0x70], rdx
mov rbx, rcx
test rdx, rdx
je 0x140004ac4
test r8, r8
je 0x140004ac4
mov word [rdx], si
xor eax, eax
mov qword [rbp - 0x80], 0xffffffffffffffff
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x60], 0xc0000365
mov qword [rsp + 0x68], 0xffffffffffffffd5
mov qword [rbp - 0x58], rbx
call fcn.1400167e0
mov dword [rsp + 0x50], esi
lea r9, [rsp + 0x60]
mov qword [rsp + 0x48], rsi
lea r8, [rbp - 0x50]
add ax, ax
mov dword [rsp + 0x40], 0x60
mov word [rbp - 0x60], ax
lea rcx, [rbp - 0x80]
add ax, 2
mov dword [rsp + 0x38], 1
mov word [rbp - 0x5e], ax
xorps xmm0, xmm0
lea rax, [rbp - 0x60]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x80
mov edx, 0x80100000
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x50], 0x30
mov qword [rbp - 0x48], rsi
mov dword [rbp - 0x38], 0x40
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x20], rsi
call fcn.1400012d6
test eax, eax
js 0x14000523c
cmp dword [rsp + 0x60], esi
jl 0x14000523c
mov rdx, rbx
lea rcx, str._ls:_n
call fcn.14000cf70
mov rcx, qword [rbp - 0x80]
lea r8, [rbp - 0x20]
mov r9d, 0x28
mov dword [rsp + 0x60], 0xc0000365
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x68], 0xffffffffffffffd5
mov dword [rsp + 0x20], 4
call qword [0x1400bf190]
mov r8d, dword [rsp + 0x60]
test eax, eax
js 0x140004c79
test r8d, r8d
js 0x140004c79
imul rax, qword [rbp - 0x20], 0x64
movabs rbx, 0x5e6684f4b3960000
lea rdx, [rbp + 0x7fe0]
add rax, rbx
lea rcx, [rbp - 0x78]
mov r8d, 0x40
mov qword [rbp - 0x78], rax
call fcn.140016040
mov rdx, rax
lea rcx, str.____CreationTime:_____s_n
call fcn.14000cf70
imul rax, qword [rbp - 0x10], 0x64
mov r8d, 0x40
lea rdx, [rbp + 0x7fe0]
add rax, rbx
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x78], rax
call fcn.140016040
mov rdx, rax
lea rcx, str.____LastWriteTime:____s_n
call fcn.14000cf70
imul rax, qword [rbp - 8], 0x64
mov r8d, 0x40
lea rdx, [rbp + 0x7fe0]
add rax, rbx
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x78], rax
call fcn.140016040
mov rdx, rax
lea rcx, str.____ChangeTime:_______s_n
call fcn.14000cf70
mov edx, dword [rbp]
lea rcx, str.____FileAttributes:___x_n
call fcn.14000cf70
jmp 0x140004c87
mov edx, eax
lea rcx, str.____FileBasicInformation_____x__x_n
call fcn.14000cf70
mov rcx, qword [rbp - 0x80]
lea r8, [rbp - 0x20]
mov r9d, 0x18
mov dword [rsp + 0x60], 0xc0000365
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x68], 0xffffffffffffffd5
mov dword [rsp + 0x20], 5
call qword [0x1400bf190]
mov r8d, dword [rsp + 0x60]
test eax, eax
js 0x140004cd9
test r8d, r8d
js 0x140004cd9
mov rdx, qword [rbp - 0x18]
lea rcx, str.____Size:_____________llx_n
call fcn.14000cf70
jmp 0x140004ce7
mov edx, eax
lea rcx, str.____FileStandardInformation_____x__x_n
call fcn.14000cf70
mov qword [rsp + 0x8188], rdi
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x8148], r12
mov ebx, 0x8000
mov qword [rsp + 0x8140], r13
mov r8d, ebx
mov qword [rsp + 0x8138], r14
xor edx, edx
mov qword [rsp + 0x8130], r15
call sym.VBoxHeadless.exe_nocrt_memset
mov rcx, qword [rbp - 0x80]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rax, [rbp - 0x20]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], 0xc0000365
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], 0xffffffffffffffd5
mov qword [rsp + 0x78], rsi
call qword [0x1400bf240]
mov r8d, dword [rsp + 0x60]
test eax, eax
js 0x1400051fd
test r8d, r8d
js 0x1400051fd
mov eax, 0x5a4d
mov ebx, esi
cmp word [rbp - 0x20], ax
jne 0x140004db1
mov ebx, dword [rbp + 0x1c]
cmp ebx, 0x7ef8
jb 0x140004db1
mov edx, ebx
lea rcx, str.____Nt_Headers___x:_out_side_buffer_n
call fcn.14000cf70
jmp 0x14000520b
mov r12d, ebx
lea rdi, [rbp - 0x20]
add rdi, r12
mov edx, ebx
cmp dword [rdi], 0x4550
jne 0x1400051ef
lea rcx, str.____NT_Headers:_______x_n
call fcn.14000cf70
mov edx, dword [rdi + 8]
lea rcx, str.____Timestamp:________x_n
call fcn.14000cf70
movzx eax, word [rdi + 4]
mov ecx, 0x14c
cmp ax, cx
jne 0x140004dfb
lea r8, str.___i386
jmp 0x140004e17
mov r9d, 0x8664
lea rdx, str.___amd64
cmp ax, r9w
lea r8, [0x14007cd7c]
cmove r8, rdx
mov edx, eax
lea rcx, str.____Machine:__________x_s_n
call fcn.14000cf70
mov edx, dword [rdi + 8]
lea rcx, str.____Timestamp:________x_n
call fcn.14000cf70
movzx r8d, word [rdi + 0x46]
lea rcx, str.____Image_Version:____u._u_n
movzx edx, word [rdi + 0x44]
call fcn.14000cf70
mov edx, dword [rdi + 0x50]
lea rcx, str.____SizeOfImage:______x___u__n
mov r8d, edx
call fcn.14000cf70
movzx eax, word [rdi + 0x14]
lea r13, [rdi + 0x18]
add r13, rax
mov qword [rsp + 0x70], rsi
mov ecx, 0xf0
mov r15d, esi
cmp ax, cx
jne 0x140004e9e
cmp dword [rdi + 0x84], 2
jbe 0x140004e9e
mov rax, qword [rdi + 0x98]
mov rsi, rax
mov qword [rsp + 0x70], rax
mov r15d, dword [rsp + 0x70]
mov r14d, eax
shr rsi, 0x20
jmp 0x140004ec1
mov ecx, 0xe0
mov r14d, esi
cmp ax, cx
jne 0x140004ebc
xor eax, eax
cmp dword [rbp + r12 + 0x54], 2
jbe 0x140004ebc
mov rax, qword [rbp + r12 + 0x68]
jmp 0x140004e88
mov rax, qword [rsp + 0x70]
shr rax, 0x20
lea rcx, str.____Resource_Dir:_____x_LB__x_n
mov r8d, eax
mov edx, r15d
call fcn.14000cf70
cmp r14d, ebx
jbe 0x14000520b
test esi, esi
je 0x14000520b
movzx r8d, word [rdi + 6]
lea rax, [rbp + 0x7fe0]
sub rax, r13
lea rcx, [r8 + r8*4]
shl rcx, 3
cmp rax, rcx
jb 0x14000520b
xor eax, eax
mov qword [rsp + 0x78], rax
mov edx, eax
test r8d, r8d
je 0x140004f42
lea rcx, [r13 + 8]
nop word [rax + rax]
mov r14d, dword [rcx + 4]
mov eax, r15d
mov edi, dword [rcx]
sub eax, r14d
mov esi, dword [rcx + 0xc]
cmp eax, edi
jae 0x140004f37
cmp esi, ebx
ja 0x140004f53
inc edx
add rcx, 0x28
cmp edx, r8d
jb 0x140004f20
lea rcx, str.____Resource_section_not_found._n
call fcn.14000cf70
jmp 0x14000520b
mov eax, esi
sub eax, r14d
add eax, r15d
mov qword [rsp + 0x78], rax
je 0x140004f42
mov r12d, 0x8000
mov dword [rsp + 0x60], 0xc0000365
mov r8d, r12d
mov qword [rsp + 0x68], 0xffffffffffffffd5
xor edx, edx
lea rcx, [rbp - 0x20]
call sym.VBoxHeadless.exe_nocrt_memset
mov rcx, qword [rbp - 0x80]
lea rax, [rsp + 0x78]
xor r13d, r13d
xor r9d, r9d
mov qword [rsp + 0x40], r13
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
lea rax, [rbp - 0x20]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [0x1400bf240]
mov r15d, eax
test eax, eax
js 0x1400051d4
cmp dword [rsp + 0x60], r13d
jl 0x14000507a
lea r8, [rsp + 0x70]
mov edx, r12d
lea rcx, [rbp - 0x20]
call fcn.1400047c0
mov ecx, eax
cmp eax, 0xffffffff
je 0x14000507a
mov ebx, dword [rsp + 0x70]
cmp ebx, edi
jae 0x14000507a
sub ecx, r14d
sub edi, ebx
cmp ecx, edi
ja 0x14000507a
cmp ecx, r12d
jae 0x140005021
lea eax, [rcx + rbx]
cmp eax, r12d
ja 0x140005021
mov eax, ecx
lea r13, [rbp - 0x20]
add r13, rax
mov r12d, ebx
jmp 0x140005087
add ecx, esi
mov r8, r12
mov qword [rsp + 0x78], rcx
xor edx, edx
lea rcx, [rbp - 0x20]
call sym.VBoxHeadless.exe_nocrt_memset
mov rcx, qword [rbp - 0x80]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], r13
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rax, [rbp - 0x20]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [0x1400bf240]
mov r15d, eax
cmp ebx, r12d
ja 0x14000507a
mov r12, rbx
lea r13, [rbp - 0x20]
test r15d, r15d
js 0x1400051d4
cmp dword [rsp + 0x60], 0
jl 0x1400051d4
lea rsi, [0x140081e00]
mov r15d, 6
nop
mov rcx, qword [rsi + 8]
lea rax, [rcx + 0xa]
cmp r12, rax
jbe 0x1400051c4
mov rax, qword [rsi]
mov rbx, r12
sub rbx, rcx
mov rdi, r13
sub rbx, 0xa
shr rbx, 1
movzx r14d, word [rax]
je 0x1400051c4
nop
dec rbx
cmp word [rdi], 1
jne 0x1400050f8
cmp word [rdi + 2], r14w
lea rcx, [rdi + 2]
jne 0x1400050f8
mov r8, qword [rsi + 8]
mov rdx, qword [rsi]
add r8, 2
call sym.VBoxHeadless.exe_nocrt_memcmp
test eax, eax
je 0x140005106
add rdi, 2
test rbx, rbx
jne 0x1400050d0
jmp 0x1400051c4
mov r14, qword [rsi + 8]
mov rax, 0xfffffffffffffffe
shr r14, 1
sub rax, r14
add rbx, rax
lea rdi, [rdi + r14*2]
add rdi, 4
xor eax, eax
cmp word [rdi], 0
jne 0x140005138
inc eax
add rdi, 2
dec rbx
cmp eax, 3
jb 0x140005124
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call fcn.1400169a0
mov rdx, qword [rsi]
lea r9, [0x14007cd7c]
mov r8d, 0xf
sub r8, r14
test eax, eax
js 0x1400051a7
mov eax, 0
mov qword [rsp + 0x20], rdi
cmp r14, 0xf
lea rcx, str._____ls:_s__ls
cmovae r8, rax
call fcn.14000cf70
cmp byte [rsi + 0x10], 0
je 0x1400051c4
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x1400051c4
mov rcx, qword [rbp - 0x68]
cmp rcx, 1
jbe 0x1400051c4
mov rdx, rcx
mov r8, rdi
mov rcx, rax
call fcn.140016ab0
jmp 0x1400051c4
cmp r14, 0xf
mov dword [rsp + 0x20], eax
mov ecx, 0
cmovae r8, rcx
lea rcx, str._____ls:_s_rc_Rrc
call fcn.14000cf70
add rsi, 0x18
sub r15, 1
jne 0x1400050a0
jmp 0x14000520b
mov r9d, dword [rsp + 0x60]
lea rcx, str.____NtReadFile___llx_____x__x_n
mov rdx, qword [rsp + 0x78]
mov r8d, r15d
call fcn.14000cf70
jmp 0x14000520b
lea rcx, str.____Nt_Headers___x:_Invalid_signature_n
call fcn.14000cf70
jmp 0x14000520b
mov edx, eax
lea rcx, str.____NtReadFile__0_____x__x_n
call fcn.14000cf70
mov rcx, qword [rbp - 0x80]
call fcn.140001270
mov r15, qword [rsp + 0x8130]
mov r14, qword [rsp + 0x8138]
mov r13, qword [rsp + 0x8140]
mov r12, qword [rsp + 0x8148]
mov rdi, qword [rsp + 0x8188]
mov rcx, qword [rbp + 0x8020]
xor rcx, rsp
call fcn.140020b30
add rsp, 0x8150
pop rsi
pop rbx
pop rbp
ret