joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013dfa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x140176220]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, qword [rbp + 0x68]
mov rsi, rcx
lea rcx, [rbp - 0x38]
mov r12, r9
mov r15d, r8d
mov r14d, edx
xor ebx, ebx
mov dword [rbp - 0x33], 0x2e323369
mov word [rbp - 0x38], 0x7457
mov dword [rbp - 0x2f], 0x6c6c64
mov word [rbp - 0x35], 0x7061
mov byte [rbp - 0x36], 0x73
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14013e069
lea rdx, [rbp - 0x28]
mov rcx, rax
mov dword [rbp - 0x1c], 0x73736553
mov dword [rbp - 0x18], 0x736e6f69
mov word [rbp - 0x20], 0x6172
mov word [rbp - 0x23], 0x6d75
mov word [rbp - 0x1e], 0x6574
mov dword [rbp - 0x28], 0x45535457
mov byte [rbp - 0x21], 0x65
mov word [rbp - 0x14], 0x41
mov byte [rbp - 0x24], 0x6e
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013e060
mov r9, r12
mov r8d, r15d
mov edx, r14d
mov rcx, rsi
mov qword [rsp + 0x20], r13
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140055550
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14013e1f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140176220]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
lea rcx, [rbp - 0x30]
mov ebx, 0x80004005
mov word [rbp - 0x29], 0x6c6c
mov dword [rbp - 0x2e], 0x2e323365
mov byte [rbp - 0x2a], 0x64
mov byte [rbp - 0x27], 0
mov word [rbp - 0x30], 0x6c4f
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14013e28c
lea rdx, [rbp - 0x20]
mov rcx, rax
mov dword [rbp - 0x1f], 0x6572436f
mov dword [rbp - 0x18], 0x64697547
mov byte [rbp - 0x20], 0x43
mov word [rbp - 0x1b], 0x7461
mov byte [rbp - 0x19], 0x65
mov byte [rbp - 0x14], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013e283
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140055550
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x14013e860
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140176220]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x28], 0x6c6c64
mov word [rbp - 0x2a], 0x2e69
mov word [rbp - 0x30], 0x6853
mov word [rbp - 0x2d], 0x6177
mov byte [rbp - 0x2b], 0x70
mov byte [rbp - 0x2e], 0x6c
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14013e902
lea rdx, [rbp - 0x20]
mov rcx, rax
mov dword [rbp - 0x12], 0x41656d
mov dword [rbp - 0x1d], 0x6e694668
mov dword [rbp - 0x16], 0x614e656c
mov word [rbp - 0x20], 0x6150
mov byte [rbp - 0x1e], 0x74
mov word [rbp - 0x19], 0x4664
mov byte [rbp - 0x17], 0x69
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013e8f9
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140055550
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret

Function at 0x14013e930
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140176220]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
lea rcx, [rbp - 0x30]
mov word [rbp - 0x29], 0x6c6c
mov dword [rbp - 0x2e], 0x2e323365
mov byte [rbp - 0x2a], 0x64
mov byte [rbp - 0x27], 0
mov word [rbp - 0x30], 0x6c4f
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x14013e9c9
lea rdx, [rbp - 0x20]
mov rcx, rax
mov dword [rbp - 0x17], 0x65657246
mov word [rbp - 0x1c], 0x6b73
mov word [rbp - 0x1f], 0x546f
mov byte [rbp - 0x20], 0x43
mov byte [rbp - 0x1d], 0x61
mov word [rbp - 0x1a], 0x654d
mov byte [rbp - 0x13], 0
mov byte [rbp - 0x18], 0x6d
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013e9c0
mov rcx, rdi
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140055550
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x14013fd50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140176220]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov edi, edx
mov rbx, rcx
mov dword [rsp + 0x27], 0x6f567473
mov dword [rsp + 0x2b], 0x656d756c
mov dword [rsp + 0x22], 0x6946646e
mov word [rsp + 0x20], 0x6946
mov word [rsp + 0x2f], 0x57
mov byte [rsp + 0x26], 0x72
call fcn.140128df0
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013fdba
mov edx, edi
mov rcx, rbx
call rax
jmp 0x14013fdbe
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140055550
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140140700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140176220]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dword [rsp + 0x22], 0x466c6163
mov word [rsp + 0x27], 0x6565
mov word [rsp + 0x20], 0x6f4c
mov byte [rsp + 0x26], 0x72
mov byte [rsp + 0x29], 0
call fcn.140128df0
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140140768
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140055550
add rsp, 0x40
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140055550
add rsp, 0x40
pop rbx
ret
Function at 0x140004270
Capabilities:
Create directory
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, 0x3070
call fcn.140008700
sub rsp, rax
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x3060], rax
mov rbp, rdx
mov r14, rcx
test rdx, rdx
je 0x14000430c
lea rcx, [0x140024840]
call fcn.1400044b0
mov r8, rbp
lea rcx, [rsp + 0x50]
mov edx, 0x1000
mov rsi, rax
call fcn.1400029d0
xor r8d, r8d
lea rdx, [0x140024840]
xor ecx, ecx
call fcn.140005560
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
mov rdi, rax
call fcn.140005560
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400104f4
mov rcx, rdi
call fcn.14000a84c
mov rcx, rbx
call fcn.14000a84c
jmp 0x140004311
mov rsi, qword [rsp + 0x20]
lea rdx, [rsp + 0x1060]
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.140004e90
xor ebx, ebx
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x1060]
call fcn.1400117c4
mov rcx, rax
mov rdi, rax
call fcn.14001052c
test eax, eax
je 0x1400043f9
mov rcx, rdi
call fcn.14000a84c
inc ebx
cmp ebx, 5
jl 0x140004350
test rbp, rbp
je 0x1400043f2
xor r8d, r8d
lea rdx, [0x140024840]
xor ecx, ecx
call fcn.140005560
test rsi, rsi
je 0x1400043dc
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.140005560
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400104f4
mov rcx, rdi
call fcn.14000a84c
mov rcx, rbx
call fcn.14000a84c
mov rcx, rsi
call fcn.14000a84c
xor eax, eax
jmp 0x14000447b
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000a84c
xor eax, eax
jmp 0x14000447b
mov r8d, 0x1000
mov rdx, rdi
mov rcx, r14
call fcn.140005640
mov rcx, rdi
call fcn.14000a84c
test rbp, rbp
je 0x140004476
xor r8d, r8d
lea rdx, [0x140024840]
xor ecx, ecx
call fcn.140005560
test rsi, rsi
je 0x140004460
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.140005560
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400104f4
mov rcx, rdi
call fcn.14000a84c
mov rcx, rbx
call fcn.14000a84c
mov rcx, rsi
jmp 0x140004471
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000a84c
mov eax, 1
mov rcx, qword [rsp + 0x3060]
xor rcx, rsp
call fcn.1400086c0
lea r11, [rsp + 0x3070]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400044b0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call fcn.140008700
sub rsp, rax
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.140005560
mov r8d, 0x2000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x140004546
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.140005640
test rax, rax
je 0x140004546
cmp byte [rax], 0
je 0x140004546
mov rcx, rax
call fcn.14000faa8
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.1400086c0
add rsp, 0x4038
ret
xor eax, eax
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.1400086c0
add rsp, 0x4038
ret

Function at 0x140004560
Capabilities:
Create directory

Disassembly:
push rbx
mov eax, 0x4060
call fcn.140008700
sub rsp, rax
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x4050], rax
mov rbx, rdx
mov r8d, 0x1000
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.14000eb90
mov r8d, 0x1000
lea rcx, [rsp + 0x1050]
mov rdx, rbx
call fcn.14000eb90
cmp byte [rsp + 0x104f], 0
jne 0x14000474e
cmp byte [rsp + 0x204f], 0
jne 0x14000474e
mov qword [rsp + 0x4080], rdi
lea rax, [rsp + 0x50]
or rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400045e0
lea rdx, [0x14002361c]
lea rcx, [rsp + 0x1050]
call fcn.14000ecf4
mov rbx, rax
test rax, rax
je 0x1400046fc
nop dword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140004614
inc rdi
add rdi, rcx
cmp rdi, 0xfff
jae 0x1400046d9
lea rcx, [rsp + 0x50]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140004640
movzx eax, word [0x14002361c]
mov word [rcx], ax
lea rax, [rsp + 0x50]
dec rax
nop dword [rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140004660
xor edx, edx
nop dword [rax]
movzx ecx, byte [rbx + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140004670
lea rdx, [0x14002361c]
xor ecx, ecx
call fcn.14000ecf4
mov rbx, rax
test rax, rax
je 0x1400046fc
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2050]
call fcn.140005560
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x2050]
call fcn.14000f524
test eax, eax
jns 0x140004610
lea rcx, [rsp + 0x2050]
call fcn.14001052c
jmp 0x140004610
xor eax, eax
mov rdi, qword [rsp + 0x4080]
mov rcx, qword [rsp + 0x4050]
xor rcx, rsp
call fcn.1400086c0
add rsp, 0x4060
pop rbx
ret
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2050]
call fcn.140005560
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x2050]
call fcn.14000f524
test eax, eax
jne 0x14000473b
lea rdx, [rsp + 0x50]
lea rcx, str.WARNING:_file_already_exists_but_should_not:__s_n
call fcn.140001a20
lea rdx, [0x1400248ec]
lea rcx, [rsp + 0x50]
call fcn.140002960
jmp 0x1400046db
xor eax, eax
jmp 0x1400046e3
Function at 0x140004b30
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.140005560
xor edx, edx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rdi
mov ebx, eax
call fcn.14000a84c
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140004b70
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.140008700
sub rsp, rax
mov rax, qword [0x140033010]
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.140005560
mov ebx, 1
lea ecx, [rdi + 0x16]
mov edx, ebx
call fcn.1400111dc
mov edx, ebx
lea ecx, [rdi + 2]
call fcn.1400111dc
mov edx, ebx
lea ecx, [rdi + 0xf]
call fcn.1400111dc
mov edx, ebx
lea ecx, [rdi + 0x15]
call fcn.1400111dc
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.14000b830
mov rcx, rax
call fcn.140010158
mov ecx, eax
call fcn.140010d4c
mov ecx, ebx
mov qword [rsp + 0xe0], rax
call fcn.14000b830
mov rcx, rax
call fcn.140010158
mov ecx, eax
call fcn.140010d4c
lea ecx, [rdi + 2]
mov qword [rsp + 0xe8], rax
call fcn.14000b830
mov rcx, rax
call fcn.140010158
mov ecx, eax
call fcn.140010d4c
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 0x140004cef
mov rcx, qword [rsp + 0x70]
or 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 0x140004d05
lea rdx, str.Error_creating_child_process__n
lea rcx, [0x140024910]
call fcn.140001a80
or eax, 0xffffffff
mov rcx, qword [rsp + 0x2100]
xor rcx, rsp
call fcn.1400086c0
mov rbx, qword [rsp + 0x2128]
add rsp, 0x2110
pop rdi
ret
Function at 0x140010558
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x140010578
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140013d74
or eax, 0xffffffff
jmp 0x14001057a
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400108a8
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x1400105e7
call fcn.140013de4
mov dword [rax], 0x16
call fcn.140013cc4
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400086c0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rcx, rcx
je 0x1400105ae
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 0x140010655
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jb 0x140010628
cmp eax, 3
jbe 0x140010645
cmp eax, 8
je 0x140010635
cmp eax, 0x12
je 0x140010645
call fcn.140013de4
mov dword [rax], 0x16
jmp 0x1400105be
call fcn.140013de4
mov dword [rax], ntohl
jmp 0x1400105be
call fcn.140013de4
mov dword [rax], 2
jmp 0x1400105be
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, esi
mov dword [rbx], eax
call fcn.1400107f0
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.1400107f0
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.1400107f0
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.140019190
test eax, eax
jne 0x1400106b3
mov rax, rdi
jmp 0x1400105c2
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140013ce4
int3
jmp 0x140010580
Function at 0x1400108b0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
mov rbx, rdx
test rcx, rcx
jne 0x140010725
call fcn.140013de4
mov dword [rax], 0x16
call fcn.140013cc4
or eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400086c0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
cmp rcx, 0xffffffffffffffff
je 0x1400106f1
test rdx, rdx
je 0x1400106f1
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x140010780
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jb 0x140010759
cmp eax, 3
jbe 0x140010773
cmp eax, 8
je 0x140010766
cmp eax, 0x12
je 0x140010773
call fcn.140013de4
mov dword [rax], 0x16
jmp 0x140010701
call fcn.140013de4
mov dword [rax], ntohl
jmp 0x140010701
call fcn.140013de4
mov dword [rax], 2
jmp 0x140010701
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, edi
mov dword [rbx], eax
call fcn.1400107f0
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.1400107f0
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.1400107f0
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.140019190
test eax, eax
je 0x140010704
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140013ce4
int3
jmp 0x1400106c8

Function at 0x1400113c8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x1400113e8
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140013d74
or eax, 0xffffffff
jmp 0x1400113ea
xor eax, eax
add rsp, 0x28
ret
Function at 0x14001278c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140012560
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x140012560
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140012560
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140012560
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140012560
cmp dword [rcx + 0x84], 0xe
jbe 0x140012560
cmp dword [rcx + 0xf8], esi
je 0x140012560
mov ecx, r14d
call fcn.1400126a8
mov ecx, 2
call fcn.140019000
nop
cmp byte [0x140041740], 0
jne 0x14001262a
mov r15d, 1
mov eax, r15d
xchg dword [0x140041730], eax
test ebx, ebx
jne 0x1400125d3
mov rdi, qword [0x140033010]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140041738]
cmp rcx, rax
je 0x1400125ca
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140008ff0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140041750]
jmp 0x1400125df
cmp ebx, r15d
jne 0x1400125e5
lea rcx, [0x140041768]
call fcn.140012c5c
nop
test ebx, ebx
jne 0x1400125fc
lea rdx, [0x1400233a0]
lea rcx, [0x140023378]
call fcn.140012420
lea rdx, [0x1400233b0]
lea rcx, [0x1400233a8]
call fcn.140012420
movzx eax, byte [0x140041740]
test esi, esi
cmove eax, r15d
mov byte [0x140041740], al
jmp 0x14001262a
mov ecx, 2
call fcn.140019054
test esi, esi
jne 0x140012641
mov ecx, r14d
call fcn.14001265c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400124f0
Function at 0x140002a30
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
movsxd rax, dword [rsp + 0x68]
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x68]
mov r8, rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x58
ret
Function at 0x1400095b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140011030]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x14000966c
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x14000966c
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xffffffff
call qword [0x140013010]
cmp eax, 0xffffffff
je 0x14000966a
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [0x140013010]
cmp eax, 3
je 0x140009683
cmp eax, 1
je 0x140009639
test eax, eax
jne 0x14000966a
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140009660
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14000966a
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x14000966c
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008e90
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x14000966c
Function at 0x1400fa207
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1401bc3b0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x1401bc3d8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x1401bc422
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x1401bc3cd
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret