joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003fb0
Capabilities:
Create directory
Query environment variable

Disassembly:
push rdi
mov eax, 0x4030
call fcn.140008610
sub rsp, rax
mov rax, qword [0x140032018]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400054b0
mov rdi, rax
test rax, rax
jne 0x140003ff9
lea rcx, str.LOADER:_Failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.140001dd0
xor eax, eax
jmp 0x1400040e2
mov r8d, 0x1000
mov qword [rsp + 0x4048], rbx
lea rdx, [rsp + 0x2020]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rdi
mov ebx, eax
call fcn.14000a4f8
test ebx, ebx
jne 0x140004039
lea rcx, str.LOADER:_Failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.140001dd0
xor eax, eax
jmp 0x1400040da
mov r8d, 0x1000
lea rdx, [rsp + 0x2020]
xor ecx, ecx
call fcn.14000ed58
mov rbx, rax
test rax, rax
jne 0x140004066
lea rcx, str.LOADER:_Failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.140001dd0
xor eax, eax
jmp 0x1400040da
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
call fcn.1400097d0
mov edx, 0x5c
mov rcx, rbx
call fcn.140009b10
mov rdi, rax
test rax, rax
je 0x1400040cc
nop dword [rax]
mov r8, rdi
lea rcx, [rsp + 0x20]
sub r8, rbx
mov rdx, rbx
sar r8, 1
inc r8
call fcn.14000f6a8
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.140009b10
mov rdi, rax
test rax, rax
jne 0x140004090
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rbx
mov rbx, qword [rsp + 0x4048]
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.140008680
add rsp, 0x4030
pop rdi
ret

Function at 0x140004100
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1030
call fcn.140008610
sub rsp, rax
mov rax, qword [0x140032018]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rdx
mov rdi, r8
lea rdx, [0x140022430]
call fcn.140002e30
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call fcn.140004540
xor edi, edi
mov rbx, rax
test rsi, rsi
je 0x1400041f3
mov rcx, rsi
test rax, rax
je 0x1400041fb
call fcn.14000a5fc
test eax, eax
jne 0x1400041df
nop word [rax + rax]
mov r9, rsi
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.14000a8e4
test rax, rax
jne 0x14000419e
mov rcx, rsi
call fcn.14000a628
test eax, eax
je 0x1400041c4
mov rcx, rsi
jmp 0x1400041d5
mov r9, rbx
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.14000b2ec
test rax, rax
je 0x1400041d2
mov rcx, rbx
call fcn.14000a628
test eax, eax
jne 0x1400041d2
mov rcx, rsi
call fcn.14000a5fc
test eax, eax
je 0x140004170
jmp 0x1400041df
mov rcx, rbx
call fcn.140010fe8
mov edi, 0xffffffff
mov rcx, rsi
call fcn.14000a598
mov rcx, rbx
call fcn.14000a598
mov eax, edi
jmp 0x140004205
test rbx, rbx
je 0x140004200
mov rcx, rbx
call fcn.14000a598
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140008680
add rsp, 0x1030
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004280
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x2060
call fcn.140008610
sub rsp, rax
mov rax, qword [0x140032018]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rbp, rdx
mov r14, rcx
test rdx, rdx
je 0x14000430b
lea rcx, [0x140023d34]
call fcn.140004490
mov rcx, rbp
mov rsi, rax
call fcn.140003fb0
mov rdi, rax
test rax, rax
je 0x1400043df
mov rdx, rax
lea rcx, [0x140023d38]
call fcn.14000fd9c
mov rcx, rdi
mov ebx, eax
call fcn.14000a4f8
test ebx, ebx
je 0x140004310
lea rcx, str.LOADER:_Failed_to_set_the_TMP_environment_variable._n
call fcn.140001dd0
xor eax, eax
jmp 0x140004468
mov rsi, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9d, eax
lea r8, str._MEI_d
mov edx, 0x10
lea rcx, [rsp + 0x28]
call fcn.140004e40
xor ebx, ebx
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140010fcc
mov rcx, rax
mov rdi, rax
call fcn.140005320
test eax, eax
je 0x1400043e6
mov rcx, rdi
call fcn.14000a4f8
inc ebx
cmp ebx, 5
jl 0x140004340
test rbp, rbp
je 0x1400043df
xor r8d, r8d
lea rdx, [0x140023d34]
xor ecx, ecx
call fcn.1400054b0
test rsi, rsi
je 0x1400043c9
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.1400054b0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.14000fd9c
mov rcx, rdi
call fcn.14000a4f8
mov rcx, rbx
call fcn.14000a4f8
mov rcx, rsi
call fcn.14000a4f8
xor eax, eax
jmp 0x140004468
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000a4f8
xor eax, eax
jmp 0x140004468
mov r8d, 0x1000
mov rdx, rdi
mov rcx, r14
call fcn.1400055c0
mov rcx, rdi
call fcn.14000a4f8
test rbp, rbp
je 0x140004463
xor r8d, r8d
lea rdx, [0x140023d34]
xor ecx, ecx
call fcn.1400054b0
test rsi, rsi
je 0x14000444d
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.1400054b0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.14000fd9c
mov rcx, rdi
call fcn.14000a4f8
mov rcx, rbx
call fcn.14000a4f8
mov rcx, rsi
jmp 0x14000445e
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000a4f8
mov eax, 1
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.140008680
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140004490
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call fcn.140008610
sub rsp, rax
mov rax, qword [0x140032018]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400054b0
mov r8d, 0x2000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140004526
mov r8d, 0x2000
lea rdx, [rsp + 0x2020]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r8d, r8d
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.1400055c0
test rax, rax
je 0x140004526
cmp byte [rax], 0
je 0x140004526
mov rcx, rax
call fcn.14001282c
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.140008680
add rsp, 0x4038
ret
xor eax, eax
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.140008680
add rsp, 0x4038
ret

Function at 0x140004af0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400054b0
xor edx, edx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rdi
mov ebx, eax
call fcn.14000a4f8
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140004b30
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2110
call fcn.140008610
sub rsp, rax
mov rax, qword [0x140032018]
xor rax, rsp
mov qword [rsp + 0x2100], rax
mov rdx, rcx
xor edi, edi
lea rcx, [rsp + 0x100]
mov dword [rsp + 0x50], edi
mov r8d, 0x1000
call fcn.1400054b0
mov ebx, 1
lea ecx, [rdi + 0x16]
mov edx, ebx
call fcn.140010a2c
mov edx, ebx
lea ecx, [rdi + 2]
call fcn.140010a2c
mov edx, ebx
lea ecx, [rdi + 0xf]
call fcn.140010a2c
mov edx, ebx
lea ecx, [rdi + 0x15]
call fcn.140010a2c
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xorps xmm0, xmm0
mov qword [rsp + 0x98], rdi
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0xcc], 0x101
mov word [rsp + 0xd0], bx
call fcn.14000b520
mov rcx, rax
call fcn.1400128a4
mov ecx, eax
call fcn.1400105e0
mov ecx, ebx
mov qword [rsp + 0xe0], rax
call fcn.14000b520
mov rcx, rax
call fcn.1400128a4
mov ecx, eax
call fcn.1400105e0
lea ecx, [rdi + 2]
mov qword [rsp + 0xe8], rax
call fcn.14000b520
mov rcx, rax
call fcn.1400128a4
mov ecx, eax
call fcn.1400105e0
mov qword [rsp + 0xf0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x100]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140004cb1
mov rcx, qword [rsp + 0x70]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x50]
jmp 0x140004cc9
lea rdx, str.Error_creating_child_process__n
lea rcx, [0x140023e38]
call fcn.140001c80
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2100]
xor rcx, rsp
call fcn.140008680
mov rbx, qword [rsp + 0x2128]
add rsp, 0x2110
pop rdi
ret
Function at 0x140005320
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2070
call fcn.140008610
sub rsp, rax
mov rax, qword [0x140032018]
xor rax, rsp
mov qword [rsp + 0x2060], rax
xor ebx, ebx
mov qword [rsp + 0x38], 0xffffffffffffffff
mov qword [rsp + 0x40], rbx
mov rdi, rcx
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x38]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400053f1
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1400053a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400053f1
mov edx, dword [rsp + 0x30]
mov ecx, 1
call fcn.14000a4f0
mov rbx, rax
test rax, rax
je 0x1400053f1
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov r8, rbx
mov edx, 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400053f1
mov rcx, qword [rbx]
lea rdx, [rsp + 0x40]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
mov rcx, rbx
call fcn.14000a4f8
mov rcx, qword [rsp + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x14000540a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
lea r9, str.S_1_3_4
test rbx, rbx
lea r8, str.D:_A__FA____s_
mov edx, 0x1000
lea rcx, [rsp + 0x60]
cmovne r9, rbx
call fcn.140005120
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
mov dword [rsp + 0x48], 0x18
lea r8, [rsp + 0x50]
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x60]
lea edx, [r9 + 1]
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x14000547c
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000547c
xor eax, eax
jmp 0x140005481
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.140008680
mov rbx, qword [rsp + 0x2088]
add rsp, 0x2070
pop rdi
ret
Function at 0x14000fdd4
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14000fdf4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000de44
or eax, 0xffffffff
jmp 0x14000fdf6
xor eax, eax
add rsp, 0x28
ret

Function at 0x140010124
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140032018]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x14000fe63
call fcn.14000deb4
mov dword [rax], 0x16
call fcn.140013618
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140008680
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rcx, rcx
je 0x14000fe2a
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000fed1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x14000fea4
cmp eax, 3
jbe 0x14000fec1
cmp eax, 8
je 0x14000feb1
cmp eax, 0x12
je 0x14000fec1
call fcn.14000deb4
mov dword [rax], 0x16
jmp 0x14000fe3a
call fcn.14000deb4
mov dword [rax], 0xc
jmp 0x14000fe3a
call fcn.14000deb4
mov dword [rax], 2
jmp 0x14000fe3a
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, esi
mov dword [rbx], eax
call fcn.14001006c
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.14001006c
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.14001006c
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.140018bf8
test eax, eax
jne 0x14000ff2f
mov rax, rdi
jmp 0x14000fe3e
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140013638
int3
jmp 0x14000fdfc
Function at 0x14001012c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x140032018]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
mov rbx, rdx
test rcx, rcx
jne 0x14000ffa1
call fcn.14000deb4
mov dword [rax], 0x16
call fcn.140013618
or eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140008680
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
cmp rcx, 0xffffffffffffffff
je 0x14000ff6d
test rbx, rbx
je 0x14000ff6d
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000fffc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x14000ffd5
cmp eax, 3
jbe 0x14000ffef
cmp eax, 8
je 0x14000ffe2
cmp eax, 0x12
je 0x14000ffef
call fcn.14000deb4
mov dword [rax], 0x16
jmp 0x14000ff7d
call fcn.14000deb4
mov dword [rax], 0xc
jmp 0x14000ff7d
call fcn.14000deb4
mov dword [rax], 2
jmp 0x14000ff7d
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, edi
mov dword [rbx], eax
call fcn.14001006c
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.14001006c
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.14001006c
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.140018bf8
test eax, eax
je 0x14000ff80
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140013638
int3
jmp 0x14000ff44

Function at 0x140010c08
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140010c28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000de44
or eax, 0xffffffff
jmp 0x140010c2a
xor eax, eax
add rsp, 0x28
ret

Function at 0x140012130
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140011f5c
Function at 0x140011262
Capabilities:
Terminate process

Disassembly:
jmp 0x140013d40
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1400112fd
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015090
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400150b0
xor al, al
jmp 0x140015131
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400150c3
xor al, al
jmp 0x140015131
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400150ed
xor al, al
jmp 0x140015131
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015101
xor al, al
jmp 0x140015131
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015113
xor al, al
jmp 0x140015131
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001512f
xor al, al
jmp 0x140015131
mov al, 1
add rsp, 0x38
ret
Function at 0x140012f70
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011442
movzx eax, al
test eax, eax
jne 0x140012f90
mov ecx, 7
call fcn.1400113b1
nop
mov byte [rsp + 0x20], 0
call fcn.1400113c5
mov byte [rsp + 0x21], al
cmp dword [0x14001f868], 1
jne 0x140012fb4
mov ecx, 7
call fcn.1400113b1
nop
jmp 0x14001300c
cmp dword [0x14001f868], 0
jne 0x140013007
mov dword [0x14001f868], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.140011203
test eax, eax
je 0x140012fe8
mov eax, 0xff
jmp 0x140013111
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.1400113bb
mov dword [0x14001f868], 2
jmp 0x14001300c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001139d
call fcn.140011325
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013069
mov rcx, qword [rsp + 0x30]
call fcn.1400111a9
movzx eax, al
test eax, eax
je 0x140013069
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.14001135c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001309d
mov rcx, qword [rsp + 0x38]
call fcn.1400111a9
movzx eax, al
test eax, eax
je 0x14001309d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113fc
nop
call fcn.1400131c0
mov dword [rsp + 0x28], eax
call fcn.1400112fd
movzx eax, al
test eax, eax
jne 0x1400130bc
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400130cb
call fcn.140011406
nop
xor edx, edx
mov cl, 1
call fcn.140011190
mov eax, dword [rsp + 0x28]
jmp 0x140013111
add rsp, 0x68
ret
Function at 0x1400021dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140004650], rbx
je 0x140002228
cmp rax, rbx
jne 0x14000221b
mov ebx, 1
mov esi, ebx
jmp 0x14000222d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002200
mov ebx, 1
mov eax, dword [0x140004658]
cmp eax, ebx
jne 0x140002243
mov ecx, 0x1f
call fcn.140174000
jmp 0x1400022a8
mov eax, dword [0x140004658]
test eax, eax
jne 0x1400022a2
mov dword [0x140004658], ebx
lea r15, [0x1400033b0]
lea rdi, [0x140003398]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140002294
test eax, eax
jne 0x140002298
cmp qword [rdi], 0
je 0x140002289
mov rax, qword [rdi]
mov rcx, qword [0x140003378]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000226a
test eax, eax
je 0x1400022a8
mov eax, 0xff
jmp 0x140002384
mov dword [0x140004064], ebx
mov eax, dword [0x140004658]
cmp eax, ebx
jne 0x1400022cf
lea rdx, [0x140003390]
lea rcx, [0x140003380]
call sub.msvcrt.dll__initterm
mov dword [0x140004658], 2
test esi, esi
jne 0x1400022dc
xor eax, eax
xchg qword [0x140004650], rax
cmp qword [0x140004660], 0
je 0x140002310
lea rcx, [0x140004660]
call fcn.140002540
test eax, eax
je 0x140002310
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140004660]
mov r9, qword [0x140003378]
call r9
mov r8, qword [0x140004078]
mov rdx, qword [0x140004070]
mov ecx, dword [0x140004068]
call fcn.140001800
mov dword [0x140004060], eax
cmp dword [0x140004080], 0
jne 0x140002340
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140004064], 0
jne 0x140002355
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140004060]
jmp 0x140002384
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400025c0
add rsp, 0x28
jmp 0x1400021dc

Function at 0x140002450
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000249c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002494
cmp dword [rcx + 0x3c], edx
jl 0x140002494
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140002494
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000249c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14788
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov ebp, 0x80000
mov dword [rax + 0x10], 3
mov dword [rax + 8], ebp
call fcn.00013ac0
mov rdx, rbp
xor ecx, ecx
call qword [fcn.000262c8]
xor ebx, ebx
mov rdi, rax
cmp rax, rbx
je 0x1499d
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.00025210
lea rdx, [0x00029250]
lea rcx, [rsp + 0x30]
call qword [fcn.000262d0]
lea rdx, [0x000292d0]
lea rcx, [rsp + 0x50]
call qword [fcn.000262d0]
lea rdx, [0x00029350]
lea rcx, [rsp + 0x40]
call qword [fcn.000262d0]
mov r11d, dword [sym.mrxsmb.sys_MRxSmbRemoteBootMachineName]
cmp r11d, ebx
je 0x1481b
cmp r11d, 0x20
jb 0x14903
movabs rsi, 0xfffff78000000014
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xa0]
mov rax, qword [rsi]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsi]
mov qword [rsp + 0xa0], rax
call qword [0x000260e8]
add byte [rax - 0x55555555], bh

Function at 0x14850
Capabilities:
Hash data with crc32

Disassembly:
add byte [rax - 0x55555555], bh
mul edi
shr edx, 2
add edx, dword [rsp + 0xa8]
mov ecx, edx
call qword [0x00026110]
call qword [0x000260f8]
cdq
and edx, 0x1f
add eax, edx
and eax, 0x1f
sub eax, edx
mov dword [sym.mrxsmb.sys_MRxSmbRemoteBootMachineName], eax
jne 0x148df
mov rax, qword [rsi]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], rax
call qword [0x000260e8]
mov ecx, dword [rsp + 0xa8]
call qword [0x00026110]
call qword [0x000260f8]
mov r11d, eax
mov eax, 0x84210843
imul r11d
add edx, r11d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x1f
sub r11d, edx
inc r11d
mov dword [sym.mrxsmb.sys_MRxSmbRemoteBootMachineName], r11d
lea r9, [sym.mrxsmb.sys_MRxSmbRemoteBootMachineName]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov r8d, 4
mov dword [rsp + 0x20], 4
call fcn.000138b8
lea rax, [rsp + 0x90]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x20], rax
call fcn.00013984
mov esi, dword [rsp + 0x90]
mov r12d, eax
cmp esi, ebp
jbe 0x14963
xor edx, edx
mov rcx, rdi
call qword [fcn.00026140]
mov rdx, rsi
xor ecx, ecx
call qword [fcn.000262c8]
mov rdi, rax
cmp rax, rbx
je 0x149d0
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.00025210
cmp r12d, ebx
jl 0x14992
mov r8d, dword [sym.mrxsmb.sys_MRxSmbRemoteBootMachineName]
mov edx, esi
mov rcx, rdi
mov byte [0x0002992d], 1
call fcn.00018e10
movzx ecx, byte [0x0002992d]
cmp eax, ebx
cmove ecx, ebx
mov byte [0x0002992d], cl
xor edx, edx
mov rcx, rdi
call qword [fcn.00026140]
lea rcx, [0x0002fb20]
mov eax, ebx
mov edx, 8
test al, 1
je 0x149b8
shr eax, 1
xor eax, 0xedb88320
jmp 0x149ba
shr eax, 1
sub rdx, 1
jne 0x149ab
inc ebx
mov dword [rcx], eax
add rcx, 4
cmp ebx, 0x100
jb 0x149a4
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x169c4
Capabilities:
Encode data using xor

Disassembly:
or r8d, 0xffffffff
mov r9, rcx
test edx, edx
je 0x169fc
mov r10d, edx
movzx edx, byte [r9]
mov eax, r8d
mov ecx, r8d
xor rdx, rax
shr ecx, 8
inc r9
movzx eax, dl
lea rdx, [0x0002fb20]
mov r8d, dword [rdx + rax*4]
xor r8d, ecx
sub r10, 1
jne 0x169d2
not r8d
mov eax, r8d
ret