joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d3834
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140005b20
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1400d6704
movzx eax, byte [rsp + 0xa8]
test eax, eax
je 0x1400d38ac
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
call fcn.1400c4f64
jmp 0x1400d39cb
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400c105c
movzx eax, al
test eax, eax
jne 0x1400d38f9
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov r8d, 0x2719
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
call fcn.1400c4f64
jmp 0x1400d39cb
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_WSASend]
mov dword [rsp + 0x48], eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x4d2
jne 0x1400d3968
mov dword [rsp + 0x40], 0x274d
cmp dword [rsp + 0x48], 0
je 0x1400d39a8
cmp dword [rsp + 0x40], 0x3e5
je 0x1400d39a8
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call fcn.1400c4f64
jmp 0x1400d39cb
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
call fcn.1400c5024
add rsp, 0x78
ret

Function at 0x1400e1478
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.14002301c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
jne 0x1400e14a5
mov dword [rsp + 0x20], 1
jmp 0x1400e14ad
mov dword [rsp + 0x20], 0
mov al, byte [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1400e14bc
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.14002301c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
jne 0x1400e14e7
mov dword [rsp + 0x20], 1
jmp 0x1400e14ef
mov dword [rsp + 0x20], 0
mov al, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400e19a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x140223748]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14001067c
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x180]
call fcn.14002f070
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.140013cb0
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14017c920
add rsp, 0x178
ret

Function at 0x1400e209c
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x140223748]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x50]
call fcn.1400e95a8
mov rcx, qword [rsp + 0xd8]
call fcn.14002301c
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000080
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e2196
mov r9d, 0x28
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x1400e2196
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x98]
and eax, 0x10
test eax, eax
jne 0x1400e215d
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x98]
and eax, 0x10
test eax, eax
je 0x1400e2173
mov dword [rsp + 0x60], 1
mov rcx, qword [rsp + 0x78]
call fcn.1400e7074
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400e7074
mov qword [rsp + 0x70], rax
jmp 0x1400e219e
mov dword [rsp + 0x50], setsockopt
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x50]
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14017c920
add rsp, 0xb8
pop rdi
pop rsi
ret
Function at 0x1400e21e8
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x248
mov rax, qword [0x140223748]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.1400e9554
nop
mov rdx, qword [rsp + 0x268]
lea rcx, [rsp + 0x78]
call fcn.1400e209c
lea rcx, [rsp + 0x50]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x50], 0
je 0x1400e2287
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
call fcn.1400e9508
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1400e9824
mov rax, qword [rsp + 0x260]
jmp 0x1400e239b
lea r8, str._.
mov rdx, qword [rsp + 0x268]
lea rcx, [rsp + 0xc8]
call fcn.140050f60
nop
lea rcx, [rsp + 0xc8]
call fcn.14002301c
lea rdx, [rsp + 0xf0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400e235e
mov dword [rsp + 0x24], 2
mov eax, dword [rsp + 0xf0]
and eax, 0x10
cmp eax, 0x10
jne 0x1400e22f4
mov dword [rsp + 0x24], 1
jmp 0x1400e22fc
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x11c]
lea rcx, [rsp + 0xa0]
call fcn.14001067c
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0xc0], eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.1400ea8ac
nop
lea rcx, [rsp + 0xa0]
call fcn.140099980
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400e22d3
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
call fcn.1400e9508
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xc8]
call fcn.140013cb0
nop
lea rcx, [rsp + 0x30]
call fcn.1400e9824
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14017c920
add rsp, 0x248
pop rdi
pop rsi
ret
Function at 0x1400eab70
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140223748]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x78]
call fcn.1400ea258
nop
lea rcx, [rsp + 0x58]
call fcn.140010ce0
nop
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.14002301c
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400e9e20
mov qword [rsp + 0x50], rax
jmp 0x1400eac03
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x38], rax
je 0x1400ead1d
mov rax, qword [rsp + 0x38]
mov al, byte [rax]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x2c]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
shl eax, 3
mov ecx, 0x10
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov cl, al
mov eax, dword [rsp + 0x40]
shl eax, cl
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x28], 0x10
jne 0x1400eac88
mov eax, dword [rsp + 0x20]
shr eax, 0x12
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e9e44
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.1400301d4
cmp dword [rsp + 0x28], 8
jne 0x1400eacb3
mov eax, dword [rsp + 0x20]
shr eax, 0xc
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e9e44
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.1400301d4
cmp dword [rsp + 0x28], 0
jne 0x1400ead0e
cmp dword [rsp + 0x2c], 3
je 0x1400ead0e
mov eax, dword [rsp + 0x20]
shr eax, 6
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e9e44
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.1400301d4
mov eax, dword [rsp + 0x20]
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e9e44
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.1400301d4
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
jmp 0x1400eabf6
cmp dword [rsp + 0x28], 0x10
jne 0x1400ead59
mov eax, dword [rsp + 0x20]
shr eax, 0xc
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e9e44
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.1400301d4
lea rdx, [0x1401dc444]
lea rcx, [rsp + 0x58]
call fcn.140043e38
cmp dword [rsp + 0x28], 8
jne 0x1400ead90
mov eax, dword [rsp + 0x20]
shr eax, 6
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e9e44
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.1400301d4
mov dl, 0x3d
lea rcx, [rsp + 0x58]
call fcn.1400301d4
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xb0]
call fcn.14001056c
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x58]
call fcn.140013cb0
nop
lea rcx, [rsp + 0x78]
call fcn.140013cb0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14017c920
add rsp, 0xa8
ret
Function at 0x1400eb700
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.14002301c
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret
Function at 0x1400facf0
Capabilities:
Hide graphical window

Disassembly:
sub rsp, 0x48
xor edx, edx
mov rcx, qword [0x140230b68]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [0x140230b40]
mov r8d, dword [rax + 8]
mov edx, 0xffffffec
mov rcx, qword [0x140230b68]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0xa
mov r8d, 0xa
xor edx, edx
mov rcx, qword [0x140230b68]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rcx, qword [0x140230b68]
call qword [sym.imp.USER32.dll_ShowWindow]
add rsp, 0x48
ret
Function at 0x14010dc94
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140223748]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x24], 0
mov rcx, qword [0x140230cc0]
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x38]
call fcn.140010ce0
nop
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400cd904
lea rcx, [rsp + 0x38]
call fcn.14002301c
mov qword [rsp + 0x28], rax
mov rax, qword [0x140230cc0]
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.14001056c
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x38]
call fcn.140013cb0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14017c920
add rsp, 0x68
ret

Function at 0x140110264
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetMessageA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x140110318
cmp qword [rsp + 0x40], 0
je 0x1401102af
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14011026d
cmp dword [rsp + 0x48], 0x8000
jne 0x140110300
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.140015e20
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1401102f5
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.140105c44
mov qword [rsp + 0x38], rax
jmp 0x1401102fe
mov qword [rsp + 0x38], 0
jmp 0x140110313
cmp dword [rsp + 0x48], 0x12
jne 0x140110313
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x14011026d
add rsp, 0x78
ret

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

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x40], 0
jne 0x140112635
xor al, al
jmp 0x140112682
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x14011264f
xor al, al
jmp 0x140112682
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x14011265f
mov byte [rsp + 0x21], 1
jmp 0x14011267e
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
jne 0x140112671
mov byte [rsp + 0x20], 0
jmp 0x140112676
mov byte [rsp + 0x20], 1
mov al, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov al, byte [rsp + 0x21]
add rsp, 0x38
ret

Function at 0x140113604
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0x32
mov r8d, 0x32
lea rdx, [0x140230d58]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x14011363a
lea rax, [0x140230d58]
jmp 0x14011363c
xor eax, eax
add rsp, 0x38
ret
Function at 0x14013398c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
xor r8d, r8d
mov edx, 0x8000
mov rcx, qword [rsp + 0x68]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov dword [rsp + 0x24], eax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140009f20
nop
cmp dword [rsp + 0x24], 0
jge 0x140133a02
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140012ef4
lea rdx, [0x14021ee90]
lea rcx, [rsp + 0x38]
call fcn.14017e340
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.140132f7c
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140133b00
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret

Function at 0x140134898
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x28]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401348e0
cmp dword [rsp + 0x20], 5
je 0x1401348d2
cmp dword [rsp + 0x20], 6
je 0x1401348d9
cmp dword [rsp + 0x20], 9
je 0x1401348ce
jmp 0x1401348e7
xor eax, eax
jmp 0x1401348ec
mov eax, 1
jmp 0x1401348ec
mov eax, 2
jmp 0x1401348ec
mov eax, 3
jmp 0x1401348ec
mov eax, 4
add rsp, 0x68
ret

Function at 0x1401348f4
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x1401e0a20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140134939
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
imul rax, qword [rsp + 0x38], 0x3e8
jmp 0x14013497f
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MHz
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140134975
xor eax, eax
jmp 0x14013497f
imul eax, dword [rsp + 0x34], 0xf4240
mov eax, eax
add rsp, 0x58
ret
Function at 0x1401357ec
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140223748]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x1401e0a58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14013585b
mov rcx, qword [rsp + 0x70]
call fcn.140010ce0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
jmp 0x1401358df
mov dword [rsp + 0x34], reloc.WS2_32.dll_listen
mov eax, 1
imul rax, rax, 0
lea rax, [rsp + rax + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1401358c0
mov rcx, qword [rsp + 0x70]
call fcn.140010ce0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
jmp 0x1401358df
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.14001067c
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14017c920
add rsp, 0x68
ret

Function at 0x1401358f8
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x140223748]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140135973
mov rcx, qword [rsp + 0xc0]
call fcn.140010ce0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
jmp 0x140135a06
mov dword [rsp + 0x34], 0x41
mov eax, 1
imul rax, rax, 0
lea rax, [rsp + rax + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1401359e1
mov rcx, qword [rsp + 0xc0]
call fcn.140010ce0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
jmp 0x140135a06
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xc0]
call fcn.14001067c
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14017c920
add rsp, 0xb8
ret
Function at 0x1401383f8
Capabilities:
Get common file path
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x140223748]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x78]
call fcn.140010ce0
nop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec eax
mov eax, eax
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140025654
lea rcx, [rsp + 0x78]
call fcn.1400240dc
inc rax
mov dword [rsp + 0x30], eax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400150f4
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rdx, [0x1401e0ae8]
lea rcx, [rsp + 0x78]
call fcn.140043e38
lea rcx, [rsp + 0x78]
call fcn.14002301c
xor edx, edx
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.1401385f8
lea rcx, [rsp + 0x38]
call fcn.140008a8c
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
call fcn.14002301c
mov qword [rsp + 0x58], rax
mov r9, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call sub.VERSION.dll_GetFileVersionInfoA
lea rcx, [rsp + 0x38]
call fcn.140008a8c
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x28]
lea rdx, [0x1401e0af6]
mov rcx, rax
call sub.VERSION.dll_VerQueryValueA
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x98]
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rsi, rcx
mov ecx, setsockopt
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x38]
call fcn.140138678
nop
lea rcx, [rsp + 0x78]
call fcn.140013cb0
lea rax, [rsp + 0x98]
mov rdi, qword [rsp + 0xe0]
mov rsi, rax
mov ecx, setsockopt
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14017c920
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x1401386c0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x140223748]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x40], 0x40
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x14013872f
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea rax, [rsp + 0x80]
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
jmp 0x140138776
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x20]
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14017c920
add rsp, 0xb8
pop rdi
pop rsi
ret