joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140132df0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140132e32
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140132e79
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140132ed2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140132e90
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140132f13
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401638d2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401638d3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140132ee0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140132f30
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140132f6a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140132f6f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140132fb8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140132fb8
dec r8
sub rdx, 1
jne 0x140132f9e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401347e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14013482a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14013482a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14013482a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14013482a
cmp dword [rcx + 0x84], 0xe
jbe 0x14013482a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14013482c
xor al, al
add rsp, 0x28
ret
Function at 0x2fc4cac10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cb612
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cb6aa
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb68e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cb682
cmp qword [rbp - 0x10], 0
je 0x2fc4cb682
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cb648
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb6ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb7b0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cb7d8
mov eax, 0
jmp 0x2fc4cb826
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cb801
mov eax, 0
jmp 0x2fc4cb826
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cb821
mov eax, 0
jmp 0x2fc4cb826
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cb82c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cb8aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb8a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cb8a1
mov rax, qword [rbp - 8]
jmp 0x2fc4cb8bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cb874
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003fa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
mov rbx, r9
mov rsi, r8
test r9, r9
je 0x140004064
cmp dword [rsp + 0x70], 4
jb 0x140004064
xor eax, eax
mov dword [r9], eax
test rcx, rcx
je 0x140004064
test rdx, rdx
je 0x140004064
test r8, r8
je 0x140004064
mov r9d, dword [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x30], rax
or r9d, 0x20019
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rdi
xor dil, dil
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004050
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete dil
movzx eax, dil
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
mov rbx, qword [rsp + 0x58]
xor al, al
add rsp, 0x40
pop rsi
ret
Function at 0x140004520
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push r14
sub rsp, 0x50
mov rax, rdx
mov r14, rcx
test rdx, rdx
je 0x1400046f3
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov rcx, rax
mov dword [rsp + 0x20], 4
lea r8d, [rbp + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400046f3
mov qword [rsp + 0x70], rbx
lea r8, [rsp + 0x7c]
xor r9d, r9d
mov qword [rsp + 0x48], rdi
xor edx, edx
mov qword [rsp + 0x78], rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x78], eax
cmp eax, 0xffffffff
jne 0x1400045ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400046e6
cmp qword [rsp + 0x78], rbp
jne 0x1400046e6
mov rbx, qword [r14 + 8]
mov rdi, rbp
mov qword [rsp + 0x40], r15
mov r15, qword [r14]
test r15, r15
je 0x140004632
test rbx, rbx
je 0x14000462a
nop dword [rax]
nop word [rax + rax]
mov r8d, 0xfffffff
mov dword [rsp + 0x80], ebp
cmp rbx, r8
mov qword [rsp + 0x20], rbp
lea rdx, [r15 + rdi]
mov rcx, rsi
cmovb r8d, ebx
lea r9, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140004623
mov eax, dword [rsp + 0x80]
add rdi, rax
sub rbx, rax
jne 0x1400045e0
jmp 0x14000462a
mov dword [rsp + 0x80], ebp
lock add qword [0x1401f4d68], rdi
mov r15, qword [rsp + 0x40]
cmp rdi, qword [r14 + 8]
jne 0x1400046e6
mov r9d, 1
mov qword [rsp + 0x80], rbp
lea r8, [rsp + 0x84]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x80], eax
mov rdi, 0xffffffffffffffff
cmp eax, 0xffffffff
jne 0x140004682
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, rdi
test eax, eax
jne 0x14000468a
mov rbx, qword [rsp + 0x80]
xor r9d, r9d
mov qword [rsp + 0x78], rbx
lea r8, [rsp + 0x7c]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x78], eax
cmp eax, 0xffffffff
jne 0x1400046b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400046ba
mov rdi, qword [rsp + 0x78]
cmp rdi, rbx
jne 0x1400046c8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x48]
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400046d3
xor al, al
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
Function at 0x140004780
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x40
mov r15, r8
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x140004918
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400047b5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], 0xffffffffffffffff
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rbx
mov dword [rsp + 0x20], 3
lea r8d, [rbp + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x140004918
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x88], rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400048fd
mov rcx, qword [rsp + 0x88]
mov qword [r15], rcx
test rcx, rcx
je 0x140004900
add rcx, 0x10
lea rdx, [0x1401ae572]
call fcn.14002ec60
mov rsi, rax
test rax, rax
je 0x140004900
mov qword [rsp + 0x70], r14
mov r14, qword [r15]
test r14, r14
je 0x1400048c6
cmp qword [rdi + 8], 0xffffffffffffffff
mov ebx, ebp
je 0x1400048ab
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [rbx + rsi]
mov r8d, 0xfffffff
mov dword [rsp + 0x78], ebp
mov rax, r14
mov qword [rsp + 0x20], rbp
sub rax, rbx
lea r9, [rsp + 0x78]
cmp rax, r8
cmovb r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400048a3
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x1400048a3
add rbx, rax
cmp rbx, r14
jb 0x140004860
lock add qword [0x1401f4d70], rbx
mov rax, qword [r15]
cmp rbx, rax
je 0x1400048c0
mov rcx, rsi
call fcn.14002ec58
mov rsi, rbp
jmp 0x1400048d2
mov byte [rax + rsi], bpl
jmp 0x1400048ca
mov byte [r14 + rax], bpl
mov rax, qword [r15]
mov byte [rax + rsi + 1], bpl
mov rcx, qword [rdi + 8]
mov r14, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x1400048ef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], 0xffffffffffffffff
mov rax, rsi
add rsp, 0x40
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [r15], rbp
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
je 0x140004918
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], 0xffffffffffffffff
xor eax, eax
add rsp, 0x40
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400049d0
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rsi
push r14
xor r10d, r10d
mov r11, r8
mov ebx, edx
mov rsi, rcx
mov eax, r10d
mov r14d, r10d
test rcx, rcx
je 0x140004b3a
test r8, r8
je 0x140004b3a
cmp r9d, 9
jb 0x140004b3a
mov byte [r8], al
test edx, edx
je 0x140004b31
mov qword [rsp + 0x30], r12
lea r12, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov qword [rsp + 0x38], r15
lea r15d, [r9 - 8]
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], rdi
nop dword [rax]
cmp eax, r15d
jae 0x140004b1d
movzx r8d, byte [r10 + rsi]
inc r10d
cmp r10d, ebx
jb 0x140004a54
xor r9b, r9b
mov r14d, 2
xor bpl, bpl
jmp 0x140004a74
movzx ebp, byte [r10 + rsi]
inc r10d
cmp r10d, ebx
jae 0x140004a6b
movzx r9d, byte [r10 + rsi]
inc r10d
jmp 0x140004a74
xor r9b, r9b
mov r14d, 1
mov edx, eax
movzx ecx, r9b
shr cl, 6
inc eax
movzx edi, bpl
and dil, 0xf
shl dil, 2
or dil, cl
mov rcx, r8
shr rcx, 2
and r8b, 3
shl r8b, 4
movzx r8d, r8b
movzx ecx, byte [rcx + r12]
mov byte [rdx + r11], cl
movzx ecx, bpl
shr rcx, 4
or r8, rcx
movzx ecx, byte [r8 + r12]
mov byte [rax + r11], cl
inc eax
mov ecx, r14d
test r14d, r14d
je 0x140004af6
sub ecx, 1
je 0x140004ae0
cmp ecx, 1
jne 0x140004b14
mov byte [rax + r11], 0x3d
inc eax
mov byte [rax + r11], 0x3d
jmp 0x140004b12
movzx ecx, dil
movzx ecx, byte [rcx + r12]
mov byte [rax + r11], cl
inc eax
mov byte [rax + r11], 0x3d
jmp 0x140004b12
movzx ecx, dil
movzx ecx, byte [rcx + r12]
mov byte [rax + r11], cl
inc eax
and r9d, 0x3f
movzx ecx, byte [r9 + r12]
mov byte [rax + r11], cl
inc eax
cmp r10d, ebx
jb 0x140004a30
mov rdi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x20]
mov r12, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
mov ecx, eax
inc eax
mov byte [rcx + r11], 0
pop r14
pop rsi
pop rbx
ret
Function at 0x140007af0
Capabilities:
Get socket status
Set socket configuration

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x240
mov rbx, rcx
mov eax, 1
mov rcx, qword [rcx + 8]
mov dword [r11 + 8], eax
cmp rcx, 0xffffffffffffffff
je 0x140007ba0
lea r8, [r11 + 8]
mov edx, 0x4004667f
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x140007b3e
mov rcx, rbx
call fcn.140003bf0
mov eax, 1
add rsp, 0x240
pop rbx
ret
mov eax, dword [rsp + 0x250]
test eax, eax
jne 0x140007ba0
mov rax, qword [rbx + 8]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
xor r9d, r9d
lea rax, [rsp + 0x258]
mov dword [rsp + 0x30], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov dword [rsp + 0x258], 0
mov dword [rsp + 0x25c], 0x3e8
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
mov eax, 1
jg 0x140007ba0
mov eax, dword [rsp + 0x250]
add rsp, 0x240
pop rbx
ret
Function at 0x140007f30
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push r12
push r15
sub rsp, 0x58
xor r12d, r12d
mov r15, r9
mov rbx, r8
mov rbp, rcx
test r9, r9
je 0x140007f4f
mov dword [r9], r12d
test rdx, rdx
je 0x1400080c9
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400080c9
mov qword [rsp + 0x80], rsi
mov esi, r12d
mov qword [rsp + 0x50], r14
mov r14d, r12d
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], r13
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x48], rdx
test rbx, rbx
je 0x1400080ae
mov r13d, 0x200000
nop
cmp byte [rbp + 0x4c9], r12b
jne 0x140008050
mov rdi, qword [rbp + 0x4e0]
mov dword [rsp + 0x88], r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [rbp + 8]
lea r9, [rsp + 0x88]
add rax, rdi
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x4e8], rax
lea rdx, [rsp + 0x40]
mov eax, ebx
mov qword [rsp + 0x28], r12
cmp rbx, r13
mov dword [rsp + 0x20], r12d
mov r8d, 1
cmova eax, r13d
mov dword [rsp + 0x40], eax
call qword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x140008030
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r14d, eax
cmp eax, 0x2733
jne 0x14000804b
inc esi
cmp esi, 0x7d0
je 0x14000804b
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008042
mov eax, dword [rsp + 0x88]
mov esi, r12d
sub rbx, rax
add qword [rsp + 0x48], rax
test rbx, rbx
jne 0x140007fa0
test rbx, rbx
je 0x1400080ae
lea rcx, [rbp + 0x2ac]
mov qword [rsp + 0x20], rbx
lea r9, str.raw___send_failed___zu_bytes_needed
mov edx, 0xff
mov r8, 0xffffffffffffffff
call fcn.140003dd0
test r15, r15
je 0x14000807c
mov dword [r15], r14d
mov rcx, rbp
call fcn.140003bf0
xor al, al
mov r13, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x80]
mov r14, qword [rsp + 0x50]
add rsp, 0x58
pop r15
pop r12
pop rbp
pop rbx
ret
mov rbx, qword [rbp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
add rax, rbx
mov qword [rbp + 0x4e8], rax
mov al, 1
jmp 0x140008086
xor al, al
add rsp, 0x58
pop r15
pop r12
pop rbp
pop rbx
ret
Function at 0x1400096d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
sub rsp, 0x258
mov rax, qword [rcx + 8]
xor ebp, ebp
mov dword [rcx + 0x10], ebp
mov rbx, rcx
test rax, rax
je 0x1400096ee
mov word [rax], bp
mov qword [rsp + 0x248], rdi
call fcn.14000b150
test al, al
jne 0x14000985a
mov rcx, rbx
call fcn.1400093a0
test al, al
jne 0x14000985a
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0x204
call fcn.14014e180
xor eax, eax
mov dword [rsp + 0x270], 0x206
mov dword [rsp + 0x30], eax
lea rdx, str.HardwareDescriptionSystem
lea rax, [rsp + 0x280]
mov qword [rsp + 0x280], rbp
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x278], ebp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000986e
mov rcx, qword [rsp + 0x280]
lea rax, [rsp + 0x270]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x278]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.SystemBiosVersion
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x280]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x14000986e
movabs rax, 0x58004f00420056
cmp qword [rsp + 0x30], rax
jne 0x14000986e
cmp qword [rbx + 8], rbp
je 0x14000985a
mov edx, dword [rbx + 0x14]
mov qword [rsp + 0x250], rsi
mov qword [rsp + 0x240], r14
lea r14, str.VirtualBox
mov rcx, r14
call fcn.14003c814
mov ecx, dword [rbx + 0x14]
mov rsi, r14
cmp eax, ecx
lea r8d, [rcx - 1]
cmovb r8d, eax
mov rax, qword [rbx + 8]
mov rdi, rax
lea edx, [r8 + r8]
mov ecx, edx
shr rcx, 2
rep movsd dword [rdi], dword [rsi]
mov ecx, edx
and ecx, 3
je 0x14000983b
and rdx, 0xfffffffffffffffc
lea rsi, [rdx + r14]
lea rdi, [rdx + rax]
rep movsb byte [rdi], byte [rsi]
mov ecx, r8d
mov dword [rbx + 0x10], ecx
mov rax, qword [rbx + 8]
mov r14, qword [rsp + 0x240]
mov rsi, qword [rsp + 0x250]
mov word [rax + r8*2], bp
mov al, 1
mov rdi, qword [rsp + 0x248]
add rsp, 0x258
pop rbp
pop rbx
ret
mov rdi, qword [rsp + 0x248]
xor al, al
add rsp, 0x258
pop rbp
pop rbx
ret
Function at 0x14000a040
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
lea rax, [rsp + 0x38]
mov dword [rsp + 0x34], 0x104
mov qword [rsp + 0x28], rax
mov rbx, rcx
lea rax, [0x1401b7690]
xor edi, edi
mov edx, 0x104
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x30], edi
mov word [rsp + 0x38], di
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14000a09e
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14000a0bc
mov edx, dword [rsp + 0x34]
call fcn.14003c814
mov rcx, qword [rsp + 0x28]
mov dword [rsp + 0x30], eax
jmp 0x14000a0c0
mov dword [rsp + 0x30], edi
mov rdx, rbx
call fcn.140009af0
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret

Function at 0x14000a3f0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
mov eax, 0x4050
call fcn.14002f320
sub rsp, rax
mov rax, qword [rdx + 8]
xor ebp, ebp
mov dword [rdx + 0x10], ebp
mov rbx, rdx
test rax, rax
je 0x14000a41c
mov word [rax], bp
mov rcx, qword [rcx + 8]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000a4f5
xor eax, eax
mov qword [rsp + 0x4068], rdi
mov qword [rsp + 0x38], rbp
lea rdi, [rsp + 0x50]
mov ecx, 0x1000
mov dword [rsp + 0x4060], ebp
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x40]
mov ecx, 3
rep stosd dword [rdi], eax
lea rax, [rsp + 0x4060]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 0x4000
mov r9d, recv
mov qword [rsp + 0x20], rax
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdi, qword [rsp + 0x4068]
test eax, eax
je 0x14000a4ec
mov eax, dword [rsp + 0x4060]
cmp eax, 0x28
jb 0x14000a4ec
lea rdx, [rsp + 0x50]
mov r8, rbx
add rdx, rax
lea rcx, [rsp + 0x50]
mov eax, dword [rsp + 0x68]
add rcx, rax
call fcn.14000a5c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x4050]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret

Function at 0x14000b070
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
lea rax, [rsp + 0x38]
mov dword [rsp + 0x34], 0x104
mov qword [rsp + 0x28], rax
mov rbx, rcx
lea rax, [0x1401b7690]
xor edi, edi
mov edx, 0x104
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x30], edi
mov word [rsp + 0x38], di
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14000b0ce
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14000b0ec
mov edx, dword [rsp + 0x34]
call fcn.14003c814
mov rcx, qword [rsp + 0x28]
mov dword [rsp + 0x30], eax
jmp 0x14000b0f0
mov dword [rsp + 0x30], edi
mov rdx, rbx
call fcn.14000ab20
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x14000b6a0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub rsp, 0x448
mov edx, 0x100
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14000b6c3
add rsp, 0x448
ret
mov r9d, 3
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x468]
lea edx, [r9 + 1]
call fcn.14003c5c8
xor eax, eax
mov dword [rsp + 0x38], 0x100
mov word [rsp + 0x46e], ax
lea r9, [rsp + 0x450]
mov dword [rsp + 0x450], eax
lea rdx, [rsp + 0x240]
mov dword [rsp + 0x460], eax
lea rcx, [rsp + 0x468]
mov dword [rsp + 0x458], eax
mov r8d, 0x100
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x458]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x460]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [rsp + 0x450]
add rsp, 0x448
ret