joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2930
Capabilities:
Query environment variable

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400b0ff0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400b2a65
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400b2a65
cmp dword [rsp + 0x60], 0
je 0x1400b2a65
movsxd rax, dword [rsp + 0x28]
shl rax, 1
mov rcx, rax
call sub.MSVCR110.dll_malloc
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400b2a65
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400b2a65
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
call fcn.1400b10d0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400b2a49
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x28], eax
jle 0x1400b2a22
mov eax, dword [rsp + 0x60]
sub eax, 1
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
mov r8, rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call sub.MSVCR110.dll_strncpy
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0
jmp 0x1400b2a65
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x60]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x58]
call sub.MSVCR110.dll_memset
cmp qword [rsp + 0x38], 0
je 0x1400b2a80
mov rcx, qword [rsp + 0x38]
call fcn.14007bfb0
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x20], 0
je 0x1400b2a9b
mov rcx, qword [rsp + 0x20]
call fcn.14007bfb0
mov qword [rsp + 0x20], 0
cmp qword [rsp + 0x30], 0
je 0x1400b2ab6
mov rcx, qword [rsp + 0x30]
call fcn.14007bfb0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x1400b4e50
Capabilities:
Check os version

Disassembly:
sub rsp, 0x48
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 + 0x30], eax
mov eax, dword [rsp + 0x20]
and rax, 0xffff
movzx eax, ax
shr rax, 8
movzx eax, al
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x20], 0x80000000
jae 0x1400b4eab
mov eax, dword [rsp + 0x20]
shr rax, 0x10
movzx eax, ax
mov dword [rsp + 0x28], eax
jmp 0x1400b4ed0
cmp dword [rsp + 0x30], 4
jae 0x1400b4ec8
mov eax, dword [rsp + 0x20]
shr rax, 0x10
movzx eax, ax
and eax, 0xffff7fff
mov dword [rsp + 0x28], eax
jmp 0x1400b4ed0
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x30], 6
jb 0x1400b4ee1
mov dword [rsp + 0x2c], 7
jmp 0x1400b4f38
cmp dword [rsp + 0x30], 5
jne 0x1400b4ef2
mov dword [rsp + 0x2c], 6
jmp 0x1400b4f38
cmp dword [rsp + 0x30], 4
jne 0x1400b4f0a
cmp dword [rsp + 0x24], 0
jne 0x1400b4f0a
mov dword [rsp + 0x2c], 4
jmp 0x1400b4f38
cmp dword [rsp + 0x30], 3
jne 0x1400b4f22
cmp dword [rsp + 0x24], 0
jne 0x1400b4f22
mov dword [rsp + 0x2c], 5
jmp 0x1400b4f38
cmp dword [rsp + 0x30], 4
jne 0x1400b4f38
cmp dword [rsp + 0x24], 1
jne 0x1400b4f38
mov dword [rsp + 0x2c], 3
mov eax, dword [rsp + 0x2c]
add rsp, 0x48
ret
Function at 0x1400b4f50
Capabilities:
Check mutex on windows

Disassembly:
push rdi
sub rsp, 0x190
mov rax, qword [0x1401ad1c0]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x170], 0
mov dword [rsp + 0x158], 0
mov dword [rsp + 0x168], 0
mov qword [rsp + 0x160], 0
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov qword [rsp + 0x150], 0
mov dword [rsp + 0x178], 0
cmp dword [0x1401cec98], 0
jne 0x1400b51e5
call sub.MSVCR110.dll__getpid
mov r9d, eax
lea r8, str.TerminalServerFlexlmMutex
lea rdx, [0x1401b1fcc]
lea rcx, [rsp + 0x40]
call sub.MSVCR110.dll_sprintf
lea r8, [rsp + 0x40]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0
jne 0x1400b5024
xor eax, eax
jmp 0x1400b520d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400b5044
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x1401cec98], 0
jne 0x1400b51c9
call fcn.1400b4e50
mov dword [rsp + 0x16c], eax
mov eax, dword [rsp + 0x16c]
mov dword [rsp + 0x17c], eax
cmp dword [rsp + 0x17c], 4
jl 0x1400b51bf
cmp dword [rsp + 0x17c], 5
jle 0x1400b50a9
cmp dword [rsp + 0x17c], 5
jle 0x1400b51bf
cmp dword [rsp + 0x17c], 7
jle 0x1400b5199
jmp 0x1400b51bf
lea rcx, [0x1401b1fd8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1401cecb8], rax
cmp qword [0x1401cecb8], 0
je 0x1400b517f
lea rdx, str.WTSEnumerateSessionsA
mov rcx, qword [0x1401cecb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ceca0], rax
cmp qword [0x1401ceca0], 0
je 0x1400b517f
lea rdx, [0x1401b2000]
mov rcx, qword [0x1401cecb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ceca8], rax
cmp qword [0x1401ceca8], 0
je 0x1400b517f
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x170]
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [0x1401ceca0]
cmp qword [rsp + 0x170], 0
je 0x1400b5157
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x10], 0
jne 0x1400b5167
mov rcx, qword [rsp + 0x170]
call qword [0x1401ceca8]
jmp 0x1400b517f
mov rcx, qword [rsp + 0x170]
call qword [0x1401ceca8]
mov dword [0x1401cec9c], 1
mov rcx, qword [0x1401cecb8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1401cecb8], 0
jmp 0x1400b51bf
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x178], eax
cmp dword [rsp + 0x178], 0
je 0x1400b51bf
mov dword [0x1401cec9c], 1
mov dword [0x1401cec98], 1
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1401cec9c], 0
je 0x1400b51fb
mov dword [rsp + 0x180], 1
jmp 0x1400b5206
mov dword [rsp + 0x180], 0
mov eax, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14006b6a0
add rsp, 0x190
pop rdi
ret
Function at 0x1400c49a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x40]
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_recv]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1400c49f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x40]
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_send]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400cd940
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0xffffffff
cmp qword [rsp + 0x58], 0
je 0x1400cd985
cmp qword [rsp + 0x60], 0
jne 0x1400cd987
jmp 0x1400cd9e8
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.1400b0be0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400cd9e8
cmp dword [rsp + 0x30], 0
je 0x1400cd9e8
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.1400b0be0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400cd9e8
cmp dword [rsp + 0x30], 0
je 0x1400cd9e8
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call sub.MSVCR110.dll_rename
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x28], 0
je 0x1400cda03
mov rcx, qword [rsp + 0x28]
call fcn.14007bfb0
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x20], 0
je 0x1400cda1e
mov rcx, qword [rsp + 0x20]
call fcn.14007bfb0
mov qword [rsp + 0x20], 0
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret

Function at 0x1400cda30
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0xffffffff
cmp qword [rsp + 0x58], 0
je 0x1400cda75
cmp qword [rsp + 0x60], 0
jne 0x1400cda77
jmp 0x1400cdad8
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.1400b0ff0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400cdad8
cmp dword [rsp + 0x30], 0
je 0x1400cdad8
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.1400b0ff0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400cdad8
cmp dword [rsp + 0x30], 0
je 0x1400cdad8
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call sub.MSVCR110.dll__wrename
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x20], 0
je 0x1400cdaf3
mov rcx, qword [rsp + 0x20]
call fcn.14007bfb0
mov qword [rsp + 0x20], 0
cmp qword [rsp + 0x28], 0
je 0x1400cdb0e
mov rcx, qword [rsp + 0x28]
call fcn.14007bfb0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret

Function at 0x1400cdd30
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], 0xffffffff
cmp qword [rsp + 0x58], 0
jne 0x1400cdd61
jmp 0x1400cdd92
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
call fcn.1400b0be0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400cdd92
cmp dword [rsp + 0x20], 0
je 0x1400cdd92
mov rcx, qword [rsp + 0x28]
call sub.MSVCR110.dll_remove
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x28], 0
je 0x1400cddad
mov rcx, qword [rsp + 0x28]
call fcn.14007bfb0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1400cddc0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0xffffffff
cmp qword [rsp + 0x48], 0
jne 0x1400cddf1
jmp 0x1400cde22
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.1400b0ff0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400cde22
cmp dword [rsp + 0x20], 0
je 0x1400cde22
mov rcx, qword [rsp + 0x28]
call sub.MSVCR110.dll__wremove
mov dword [rsp + 0x24], eax
cmp qword [rsp + 0x28], 0
je 0x1400cde3d
mov rcx, qword [rsp + 0x28]
call fcn.14007bfb0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x1400cea30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp dword [rsp + 0x50], 0
je 0x1400cea5a
mov eax, dword [rsp + 0x50]
mov dword [0x1402816d8], eax
jmp 0x1400cea64
mov dword [0x1402816d8], 0xffffffff
mov rax, qword [rsp + 0x58]
mov qword [0x1402816c8], rax
cmp qword [0x1401cf118], 0
je 0x1400cea8c
mov rcx, qword [0x1402816c0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1400ceb13
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1402816c0], rax
cmp qword [0x1402816c0], 0
jne 0x1400ceab4
xor eax, eax
jmp 0x1400ceb19
mov edx, 8
mov ecx, 1
call sub.MSVCR110.dll_calloc
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400cead4
xor eax, eax
jmp 0x1400ceb19
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x1402816c0]
mov qword [rax], rcx
mov r8, qword [rsp + 0x20]
xor edx, edx
lea rcx, [0x1400ce990]
call sub.MSVCR110.dll__beginthread
mov qword [0x1401cf118], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x1401cf118], 0
jne 0x1400ceb13
xor eax, eax
jmp 0x1400ceb19
mov eax, dword [0x1401cf118]
add rsp, 0x38
ret

Function at 0x1400ceb70
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x60]
call sub.MSVCR110.dll_getenv
mov qword [0x1401ced00], rax
cmp qword [0x1401ced00], 0
je 0x1400ceba0
mov rax, qword [0x1401ced00]
jmp 0x1400cec48
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREFLEXlm_License_Manager
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1400cec46
mov dword [rsp + 0x3c], Ordinal_1026
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [0x1401ced10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1400cec37
lea rax, [0x1401ced10]
mov qword [0x1401ced00], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x1401ced00]
jmp 0x1400cec48
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1400cec48
xor eax, eax
add rsp, 0x58
ret
Function at 0x1400e0450
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x338
mov rax, qword [0x1401ad1c0]
xor rax, rsp
mov qword [rsp + 0x328], rax
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x340]
mov rax, qword [rax + 0xf8]
mov eax, dword [rax + 0x112c]
and eax, 0x40
test eax, eax
jne 0x1400e0499
xor eax, eax
jmp 0x1400e06e0
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x198]
and eax, 0x80
test eax, eax
jne 0x1400e053b
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x198]
or eax, 0x80
mov rcx, qword [rsp + 0x340]
mov dword [rcx + 0x198], eax
lea rax, str.BUG_B
mov qword [rsp + 0x20], rax
mov r9d, 0x45
mov r8d, 0x44
lea rdx, str.FLEXLM__c_c_sADDATE
lea rcx, [rsp + 0x250]
call sub.MSVCR110.dll_sprintf
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x340]
call fcn.14008d660
test eax, eax
je 0x1400e053b
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x198]
or eax, 0x100
mov rcx, qword [rsp + 0x340]
mov dword [rcx + 0x198], eax
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x198]
and eax, 0x100
test eax, eax
je 0x1400e05f2
cmp qword [rsp + 0x340], 0
je 0x1400e05e8
mov rax, qword [rsp + 0x340]
cmp dword [rax + 0x88], 0
je 0x1400e0593
xor eax, eax
test eax, eax
je 0x1400e0593
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x88]
mov dword [rsp + 0x320], eax
jmp 0x1400e059e
mov dword [rsp + 0x320], 0xffffffa8
mov rax, qword [rsp + 0x340]
mov ecx, dword [rsp + 0x320]
mov dword [rax + 0x88], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xff
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, Ordinal_316
mov edx, 0xffffffa8
mov rcx, qword [rsp + 0x340]
call fcn.14006e450
mov eax, 0xffffffa8
jmp 0x1400e06e0
mov byte [rsp + 0x50], 0x5c
mov byte [rsp + 0x51], 0
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x340]
call fcn.1400e0700
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400e0625
mov eax, dword [rsp + 0x40]
jmp 0x1400e06e0
mov edx, 0x200
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x340]
call fcn.1400e0700
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400e065e
mov eax, dword [rsp + 0x40]
jmp 0x1400e06e0
mov byte [rsp + 0x50], gethostbyaddr
mov byte [rsp + 0x52], 0x61
mov byte [rsp + 0x53], WSAStartup
mov byte [rsp + 0x51], 0x76
mov byte [rsp + 0x54], 0
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x340]
call fcn.1400e0700
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400e069d
mov eax, dword [rsp + 0x40]
jmp 0x1400e06e0
mov byte [rsp + 0x50], gethostbyaddr
mov byte [rsp + 0x54], 0
mov byte [rsp + 0x52], WSAGetLastError
mov byte [rsp + 0x51], reloc.WSOCK32.dll_WSACleanup
mov byte [rsp + 0x53], reloc.WSOCK32.dll_WSASetLastError
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x340]
call fcn.1400e0700
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400e06dc
mov eax, dword [rsp + 0x40]
jmp 0x1400e06e0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.14006b6a0
add rsp, 0x338
ret
Function at 0x1400fac10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x30]
and eax, 0xff
mov byte [rsp + 4], al
mov eax, dword [rsp + 0x30]
sar eax, 8
and eax, 0xff
mov byte [rsp + 5], al
mov eax, dword [rsp + 0x30]
sar eax, 0x10
and eax, 0xff
mov byte [rsp + 6], al
mov eax, dword [rsp + 0x30]
sar eax, 0x18
and eax, 0xff
mov byte [rsp + 7], al
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
sub ecx, 1
mov dword [rsp + 0x28], ecx
test eax, eax
je 0x1400facca
movsxd rax, dword [rsp]
movsx eax, byte [rsp + rax + 4]
mov rcx, qword [rsp + 0x20]
movsx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov eax, dword [rsp]
add eax, 1
mov dword [rsp], eax
cmp dword [rsp], 3
jle 0x1400facba
mov dword [rsp], 0
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
jmp 0x1400fac75
mov rax, qword [rsp + 8]
add rsp, 0x18
ret

Function at 0x140109dd0
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1401ad1c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rdx, [0x1401ba740]
lea rcx, [rsp + 0x58]
call sub.MSVCR110.dll_strcpy
mov dword [rsp + 0x4c], 0
jmp 0x140109e0c
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 3
jge 0x140109e32
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x140109e25
jmp 0x140109e32
movzx eax, byte [rsp + 0x58]
add al, 1
mov byte [rsp + 0x58], al
jmp 0x140109e01
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006b6a0
add rsp, 0x88
ret
Function at 0x14010ccd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x1401ad1c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x30], WSAStartup
mov byte [rsp + 0x31], 0xd5
mov byte [rsp + 0x32], 0xac
mov byte [rsp + 0x33], 0xe3
mov byte [rsp + 0x34], 0xb3
mov byte [rsp + 0x35], 0x2b
mov byte [rsp + 0x36], 0x77
mov byte [rsp + 0x37], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rsp + 0x38], 0xcc
mov byte [rsp + 0x39], reloc.WSOCK32.dll_getservbyname
mov byte [rsp + 0x3a], 0x9f
mov byte [rsp + 0x3b], __WSAFDIsSet
mov byte [rsp + 0x3c], 0x8f
mov byte [rsp + 0x3d], 0x7f
mov byte [rsp + 0x3e], 0xa9
mov byte [rsp + 0x3f], 0xd6
mov byte [rsp + 0x40], 0xec
mov byte [rsp + 0x41], 0x9a
mov byte [rsp + 0x42], 0x82
mov byte [rsp + 0x43], 0xcc
mov byte [rsp + 0x44], 0xa6
mov byte [rsp + 0x45], 0xef
mov byte [rsp + 0x46], WSAGetLastError
mov byte [rsp + 0x47], 0x61
mov byte [rsp + 0x48], 0x77
mov byte [rsp + 0x49], 0xb8
mov byte [rsp + 0x4a], 0x41
mov byte [rsp + 0x4b], 0x25
mov byte [rsp + 0x4c], __WSAFDIsSet
mov byte [rsp + 0x4d], 0xd7
mov byte [rsp + 0x4e], 0xe2
mov byte [rsp + 0x4f], 0xca
mov byte [rsp + 0x50], 0x48
mov byte [rsp + 0x51], 0x2a
mov byte [rsp + 0x52], reloc.WSOCK32.dll_WSAStartup
mov byte [rsp + 0x53], reloc.WSOCK32.dll_getprotobyname
mov byte [rsp + 0x54], reloc.WSOCK32.dll_gethostbyaddr
mov byte [rsp + 0x55], 0x1e
mov byte [rsp + 0x56], 0x6a
mov byte [rsp + 0x57], 0xb8
mov byte [rsp + 0x58], 0x2d
mov byte [rsp + 0x59], 0x67
mov byte [rsp + 0x5a], 0xb5
mov byte [rsp + 0x5b], 0x8f
mov byte [rsp + 0x5c], 0xce
mov byte [rsp + 0x5d], 0x43
mov byte [rsp + 0x5e], 0xff
mov byte [rsp + 0x5f], 0x2b
mov byte [rsp + 0x60], 0xf9
mov byte [rsp + 0x61], reloc.WSOCK32.dll___WSAFDIsSet
mov byte [rsp + 0x62], 6
mov byte [rsp + 0x63], 0xfe
mov byte [rsp + 0x64], 0xd2
mov byte [rsp + 0x65], reloc.COMCTL32.dll_InitCommonControls
mov byte [rsp + 0x66], 0xec
mov byte [rsp + 0x67], 0x47
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x90], 0
je 0x14010ce8f
cmp qword [rsp + 0x98], 0
je 0x14010ce8f
cmp qword [rsp + 0xa0], 0
je 0x14010ce8f
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
cmp rax, 0x38
jbe 0x14010ce51
mov qword [rsp + 0x68], reloc.WSOCK32.dll_getservbyport
jmp 0x14010ce60
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x68]
mov dword [rax], ecx
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call sub.MSVCR110.dll_memcpy
jmp 0x14010ceb0
cmp qword [rsp + 0xa0], 0
je 0x14010cea8
mov rax, qword [rsp + 0xa0]
mov dword [rax], 0
mov dword [rsp + 0x20], 0xffffffd6
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006b6a0
add rsp, 0x88
ret
Function at 0x140119410
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x1401ad1c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x30], reloc.WSOCK32.dll_ioctlsocket
mov byte [rsp + 0x31], 0x52
mov byte [rsp + 0x32], 0xe3
mov byte [rsp + 0x33], 0xa8
mov byte [rsp + 0x34], 0xf6
mov byte [rsp + 0x35], 0xd4
mov byte [rsp + 0x36], 0xc7
mov byte [rsp + 0x37], 0x68
mov byte [rsp + 0x38], 0xf2
mov byte [rsp + 0x39], getservbyname
mov byte [rsp + 0x3a], 0x1c
mov byte [rsp + 0x3b], 0x88
mov byte [rsp + 0x3c], reloc.WSOCK32.dll_setsockopt
mov byte [rsp + 0x3d], getservbyname
mov byte [rsp + 0x3e], reloc.WSOCK32.dll___WSAFDIsSet
mov byte [rsp + 0x3f], 0xde
mov byte [rsp + 0x40], 0x55
mov byte [rsp + 0x41], 0x9a
mov byte [rsp + 0x42], 0x9e
mov byte [rsp + 0x43], 0xdf
mov byte [rsp + 0x44], 5
mov byte [rsp + 0x45], 0xd5
mov byte [rsp + 0x46], 0xf3
mov byte [rsp + 0x47], 0x52
mov byte [rsp + 0x48], 0xe1
mov byte [rsp + 0x49], 0xe1
mov byte [rsp + 0x4a], 0xcb
mov byte [rsp + 0x4b], 0xfb
mov byte [rsp + 0x4c], 0xb4
mov byte [rsp + 0x4d], reloc.WSOCK32.dll_WSACleanup
mov byte [rsp + 0x4e], reloc.WSOCK32.dll_WSACleanup
mov byte [rsp + 0x4f], 0xca
mov byte [rsp + 0x50], 0x29
mov byte [rsp + 0x51], 0xed
mov byte [rsp + 0x52], WSAStartup
mov byte [rsp + 0x53], 0x62
mov byte [rsp + 0x54], 0x6a
mov byte [rsp + 0x55], 0xba
mov byte [rsp + 0x56], reloc.WSOCK32.dll_gethostbyaddr
mov byte [rsp + 0x57], 0xa1
mov byte [rsp + 0x58], 0xb0
mov byte [rsp + 0x59], 0x2b
mov byte [rsp + 0x5a], 0x27
mov byte [rsp + 0x5b], 0x60
mov byte [rsp + 0x5c], 0x87
mov byte [rsp + 0x5d], 0x81
mov byte [rsp + 0x5e], 0xd1
mov byte [rsp + 0x5f], 0xa4
mov byte [rsp + 0x60], reloc.WSOCK32.dll_recv
mov byte [rsp + 0x61], 0xf7
mov byte [rsp + 0x62], 0xd2
mov byte [rsp + 0x63], WSAGetLastError
mov byte [rsp + 0x64], 0xce
mov byte [rsp + 0x65], 0xb5
mov byte [rsp + 0x66], reloc.WSOCK32.dll_select
mov byte [rsp + 0x67], 0xc5
mov dword [rsp + 0x68], reloc.WSOCK32.dll_getservbyport
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x68]
ja 0x14011959b
mov eax, dword [rsp + 0x98]
movsxd rcx, dword [rsp + 0xa0]
lea rcx, [rsp + rcx + 0x30]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x90]
call sub.MSVCR110.dll_memcpy
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006b6a0
add rsp, 0x88
ret