joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001efa0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov dword [rsp + 0x60], 0
lea rdx, [0x14013bd18]
lea rcx, [rsp + 0x58]
call fcn.140004430
nop
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x58]
call fcn.140003a10
cmp dword [rsp + 0xc0], 0
je 0x14001f007
mov dword [rsp + 0x50], 1
jmp 0x14001f00f
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x58]
call fcn.140004640
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0xb8], 0
je 0x14001f036
mov qword [rsp + 0x70], 0xffffffff80000001
jmp 0x14001f03f
mov qword [rsp + 0x70], 0xffffffff80000002
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14001f0a8
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x58]
call fcn.140001910
mov eax, dword [rsp + 0x68]
jmp 0x14001f0fa
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x6c], 1
lea rcx, [rsp + 0x58]
call fcn.140001910
mov eax, dword [rsp + 0x6c]
add rsp, 0x98
ret
Function at 0x14001f110
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x54], 8
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x58], reloc.WS2_32.dll_inet_addr
cmp dword [rsp + 0xb0], 0
jne 0x14001f1ad
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001f1a2
mov rax, qword [rsp + 0xa8]
jmp 0x14001f254
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14001f204
mov rax, qword [rsp + 0xa8]
jmp 0x14001f254
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14001f244
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x68]
add rsp, 0x88
ret
Function at 0x14001f4c0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov dword [rsp + 0x60], 0
lea rdx, [0x14013be20]
lea rcx, [rsp + 0x58]
call fcn.140004430
nop
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x58]
call fcn.140003a10
cmp dword [rsp + 0xc0], 0
je 0x14001f527
mov dword [rsp + 0x50], 1
jmp 0x14001f52f
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x58]
call fcn.140004640
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0xb8], 0
je 0x14001f556
mov qword [rsp + 0x70], 0xffffffff80000001
jmp 0x14001f55f
mov qword [rsp + 0x70], 0xffffffff80000002
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14001f5c8
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x58]
call fcn.140001910
mov eax, dword [rsp + 0x68]
jmp 0x14001f61a
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_addr
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x6c], 1
lea rcx, [rsp + 0x58]
call fcn.140001910
mov eax, dword [rsp + 0x6c]
add rsp, 0x98
ret
Function at 0x1400200e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x100]
call fcn.140003a80
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140011ed0
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xb0]
call fcn.14001a320
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140045590
mov rcx, rax
call fcn.140019a00
nop
lea rcx, [rsp + 0xb0]
call fcn.140006ee0
nop
lea rcx, [rsp + 0x90]
call fcn.140006ee0
movzx eax, word [rsp + 0xf8]
mov r8, qword [rsp + 0x108]
mov edx, eax
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400201eb
mov dword [rsp + 0x24], 0
mov rcx, qword [rsp + 0x100]
call fcn.140001910
mov eax, dword [rsp + 0x24]
jmp 0x1400202f7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140020221
mov dword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x100]
call fcn.140001910
mov eax, dword [rsp + 0x28]
jmp 0x1400202f7
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14002025d
mov dword [rsp + 0x2c], 0
mov rcx, qword [rsp + 0x100]
call fcn.140001910
mov eax, dword [rsp + 0x2c]
jmp 0x1400202f7
lea rcx, [rsp + 0x60]
call fcn.1400c899c
nop
mov rcx, qword [rsp + 0x100]
call fcn.140004640
xor r9d, r9d
mov r8d, 0x1001
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400c8fd4
test eax, eax
jne 0x1400202b5
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x60]
call fcn.1400c89f4
nop
mov rcx, qword [rsp + 0x100]
call fcn.140001910
mov eax, dword [rsp + 0x30]
jmp 0x1400202f7
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.1400c9344
lea rcx, [rsp + 0x60]
call fcn.1400c8c60
mov dword [rsp + 0x34], 1
lea rcx, [rsp + 0x60]
call fcn.1400c89f4
nop
mov rcx, qword [rsp + 0x100]
call fcn.140001910
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0xe8
ret
Function at 0x1400205a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x60], 0
cmp qword [rsp + 0x298], 0
je 0x1400206ec
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1400206ec
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x10108
xor r8d, r8d
mov rdx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400206ea
cmp dword [rsp + 0x40], 0
jne 0x1400206df
mov dword [rsp + 0x44], 0x100
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x103
jne 0x1400206c0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x50]
call fcn.140004430
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x290]
call fcn.14002c630
mov dword [rsp + 0x40], eax
jmp 0x1400206df
cmp dword [rsp + 0x40], 0
jne 0x1400206da
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.1400205a0
mov dword [rsp + 0x40], eax
jmp 0x140020629
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400206f4
mov dword [rsp + 0x40], 0x3f2
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x288
ret

Function at 0x140021600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140021620
mov eax, 1
jmp 0x14002168c
mov rcx, qword [rsp + 0x40]
call fcn.1400980b0
test eax, eax
je 0x140021635
mov eax, 1
jmp 0x14002168c
mov rcx, qword [rsp + 0x40]
call fcn.14002c710
mov dword [rsp + 0x20], 0xa
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x140021682
mov rcx, qword [rsp + 0x40]
call fcn.1400980b0
test eax, eax
je 0x140021675
mov eax, 1
jmp 0x14002168c
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140021647
mov rcx, qword [rsp + 0x40]
call fcn.1400980b0
add rsp, 0x38
ret
Function at 0x140022010
Capabilities:
Get geographical location

Disassembly:
mov word [rsp + 8], cx
push rdi
sub rsp, 0x110
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x100], rax
call fcn.14002c3b0
movzx eax, al
test eax, eax
je 0x140022040
jmp 0x140022150
movzx eax, word [0x14019c010]
cmp eax, 0xffff
jne 0x140022079
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 0x409
lea rdx, [0x14013cf58]
lea rcx, [0x14013cf70]
call fcn.14001ee20
mov word [0x14019c010], ax
movzx eax, word [rsp + 0x120]
cmp eax, 0xffff
jne 0x140022096
movzx eax, word [0x14019c010]
mov word [rsp + 0x30], ax
jmp 0x1400220a3
movzx eax, word [rsp + 0x120]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
mov word [0x14019c010], ax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0xaa
rep stosb byte [rdi], al
movzx eax, word [0x14019c010]
mov r9d, 0x55
lea r8, [rsp + 0x50]
mov edx, 3
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400220f1
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.1400efe8c
jmp 0x140022127
movzx eax, word [0x14019c010]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400782b0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140004640
mov rdx, rax
xor ecx, ecx
call fcn.1400efe8c
lea rcx, [rsp + 0x40]
call fcn.140001910
call fcn.140018930
movzx eax, al
test eax, eax
je 0x140022141
movzx ecx, word [0x14019c010]
call fcn.140022200
jmp 0x140022150
movzx eax, word [0x14019c010]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x110
pop rdi
ret
Function at 0x140023730
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x50], 0
lea rdx, [rsp + 0x80]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400238e3
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], sendto
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x220]
xor r8d, r8d
mov edx, 2
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.WS2_32.dll_WSAStringToAddressW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400237f5
mov dword [rsp + 0x44], 0x1c
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x220]
xor r8d, r8d
mov edx, reloc.WS2_32.dll_socket
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.WS2_32.dll_WSAStringToAddressW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400238dd
lea rcx, [rsp + 0x48]
call fcn.140004d40
nop
mov edx, 0x104
lea rcx, [rsp + 0x48]
call fcn.140008d80
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x104
mov r8, rax
mov edx, 0x1c
lea rcx, [rsp + 0x220]
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [rsp + 0x40], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.140048a80
cmp dword [rsp + 0x40], 0
jne 0x1400238d3
lea rcx, [rsp + 0x48]
call fcn.140006ea0
movzx eax, al
test eax, eax
jne 0x1400238d3
lea rcx, [rsp + 0x48]
call fcn.140004640
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x48]
call fcn.140004a80
cdqe
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x48]
call fcn.140004640
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x268]
call fcn.14003ae20
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x48]
call fcn.140001910
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x258
ret
Function at 0x140025450
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400254c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0
xor al, al
jmp 0x140025571
mov r8d, 4
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140025505
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0
xor al, al
jmp 0x140025571
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140025540
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x140025571
mov rax, qword [rsp + 0x78]
mov dword [rax], 0
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x68
ret
Function at 0x140026500
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x298
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, sendto
mov ecx, 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x6f
jne 0x1400265e5
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
xor r8d, r8d
mov edx, sendto
mov ecx, 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400265e3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rsp + 0x30]
jmp 0x1400266d9
jmp 0x1400265ee
mov eax, dword [rsp + 0x30]
jmp 0x1400266d9
cmp qword [rsp + 0x40], 0
jne 0x140026600
mov eax, 8
jmp 0x1400266d9
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0x104
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x2a0]
cmp dword [rax + 4], ecx
jne 0x1400266a7
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x140026645
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400266a7
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
and eax, 1
cmp eax, 1
jne 0x1400266a5
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rax, qword [rsp + 0x38]
mov edx, dword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_WSAAddressToStringW]
test eax, eax
jne 0x1400266a5
mov eax, dword [rsp + 0x48]
mov r8d, eax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x2a8]
call fcn.140006760
jmp 0x1400266a7
jmp 0x140026637
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140026612
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x298
ret
Function at 0x1400272b0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140027309
jmp 0x1400273b4
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x40]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14002733f
jmp 0x1400273b4
mov r9, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x14002735d
jmp 0x1400273b4
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x38]
lea rdx, [0x14013ad08]
mov rcx, qword [rsp + 0x30]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140027380
jmp 0x1400273b4
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0xfeef04bd
je 0x140027391
jmp 0x1400273b4
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
mov dword [rsp + 0x24], eax
cmp qword [rsp + 0x68], 0
je 0x1400273b4
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
mov dword [rax], ecx
cmp qword [rsp + 0x30], 0
je 0x1400273d2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rsp + 0x24]
add rsp, 0x58
ret

Function at 0x1400278e0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and rax, 0xffff
movzx eax, ax
and rax, 0xff
movzx eax, al
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
and rax, 0xffff
movzx eax, ax
shr rax, 8
and rax, 0xff
movzx eax, al
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x24], 6
ja 0x14002793b
cmp dword [rsp + 0x24], 6
jne 0x140027944
cmp dword [rsp + 0x28], 1
jb 0x140027944
mov eax, 1
jmp 0x140027946
xor eax, eax
add rsp, 0x38
ret
Function at 0x140028500
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x24], 0x105
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x38], rax
mov eax, 2
mov rcx, qword [rsp + 0x38]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400c7eb0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x140028621
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7ea8
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1400285ad
xor al, al
jmp 0x1400286b5
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x50], rax
mov eax, 2
mov rcx, qword [rsp + 0x50]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400c7eb0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x140028621
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400c7ea8
xor al, al
jmp 0x1400286b5
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x14002864b
mov rcx, qword [rsp + 0x30]
call fcn.1400e9024
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x30], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax]
test eax, eax
je 0x140028693
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax]
cmp eax, 0x3a
jne 0x140028691
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
call fcn.140005c20
mov byte [rsp + 0x20], 1
jmp 0x140028693
jmp 0x140028632
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400c7ea8
mov qword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x78
ret

Function at 0x140028b70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.140006930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x140028bad
mov eax, dword [rsp + 0x20]
and eax, 0x10
cmp eax, 0x10
je 0x140028bad
mov dword [rsp + 0x24], 1
jmp 0x140028bb5
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0x38
ret