joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ed930
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14032d990]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x1400eda23
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1400ed9ff
mov rcx, qword [rsp + 0x78]
call fcn.1400e83f0
mov qword [rsp + 0x48], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1400b1e50
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rsp + 0x40], 0
je 0x1400eda23
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x1400eda23
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14020f8d0
add rsp, 0x68
ret

Function at 0x1400edce0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400edd32
cmp qword [rsp + 0x20], 0
je 0x1400edd2e
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x1400edd2e
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], 0
xor eax, eax
jmp 0x1400edd37
mov eax, 1
add rsp, 0x38
ret
Function at 0x1400ee030
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14032d990]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x58]
call fcn.1400a3d40
nop
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x78]
lea rcx, [0x140271370]
mov rdi, rax
mov rsi, rcx
mov ecx, setsockopt
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x44], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400ee0d0
jmp 0x1400ee1d6
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400ee0f9
jmp 0x1400ee1d6
xor r9d, r9d
mov r8d, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1400ee120
jmp 0x1400ee1d6
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x90]
mov edx, 2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400ee1d6
mov dword [rsp + 0x30], 0
jmp 0x1400ee161
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x30], eax
jae 0x1400ee1d6
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x30]
movzx eax, byte [rsp + rax + 0x90]
and eax, 0xf
cdqe
movsx eax, byte [rsp + rax + 0x78]
mov ecx, dword [rsp + 0x30]
movzx ecx, byte [rsp + rcx + 0x90]
sar ecx, 4
movsxd rcx, ecx
movsx ecx, byte [rsp + rcx + 0x78]
mov r9d, eax
mov r8d, ecx
lea rdx, str._c_c
lea rcx, [rsp + 0x40]
call fcn.1400ecf30
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400caa60
jmp 0x1400ee157
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
call fcn.1400a3ba0
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x58]
call fcn.1400ada60
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14020f8d0
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x1400ee9c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x540
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x14032d990]
xor rax, rsp
mov qword [rsp + 0x530], rax
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x550]
add rax, 0x2a8
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x550]
add rax, 0x240
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x550]
mov dword [rax + 0x240], WSAGetLastError
mov rax, qword [rsp + 0x550]
mov dword [rax + 0x27c], 0x80
xor eax, eax
mov rcx, qword [rsp + 0x550]
mov word [rcx + 0x280], ax
xor eax, eax
mov word [rsp + 0x110], ax
lea rax, [rsp + 0x112]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [0x140271660]
lea rcx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.d.exe
lea rcx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov word [rsp + 0x320], ax
lea rax, [rsp + 0x322]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rdx, [rsp + 0x320]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rax, qword [rsp + 0x550]
add rax, 0x34
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x1400eeb02
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400eeb3e
mov rax, qword [rsp + 0x550]
add rax, 0x34
mov rdx, rax
lea rcx, [rsp + 0x320]
call fcn.1400ee4d0
mov rax, qword [rsp + 0x550]
add rax, 0x2a8
mov rcx, qword [rsp + 0x550]
add rcx, 0x240
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x320]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x110]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400eebc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x60], eax
lea rdx, [0x1403254f8]
lea rcx, [rsp + 0x60]
call fcn.140216b54
mov rax, qword [rsp + 0x550]
mov rcx, qword [rsp + 0x550]
mov ecx, dword [rcx + 0x2b8]
mov dword [rax + 0x30], ecx
jmp 0x1400eebe9
mov eax, 1
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14020f8d0
add rsp, 0x540
pop rdi
ret
Function at 0x1400eed40
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14032d990]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x1400eee09
cmp dword [reloc.WS2_32.dll_accept], 1
jne 0x1400eee09
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x48]
sub edx, ecx
mov ecx, edx
mov dword [rsp + 0x34], ecx
mov edx, dword [rsp + 0x4c]
neg edx
mov dword [rsp + 0x38], edx
mov r8d, dword [rsp + 0x48]
neg r8d
mov dword [rsp + 0x3c], r8d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [rsp + 0x28], 0
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0x34]
mov r9d, ecx
mov ecx, dword [rsp + 0x38]
mov r8d, ecx
mov ecx, dword [rsp + 0x3c]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.USER32.dll_MoveWindow]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
jmp 0x1400eee0b
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14020f8d0
add rsp, 0x68
ret
Function at 0x1400ef290
Capabilities:
Manipulate console buffer

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14032d990]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x2c], 0
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x98], 0
mov rcx, qword [rsp + 0xc8]
call fcn.1400dc580
lea rax, [rax + rax + 2]
mov qword [rsp + 0x40], rax
mov eax, setsockopt
mov rcx, qword [rsp + 0x40]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14020fa80
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400dc580
lea rax, [rax + rax + 2]
imul rax, rax, 0x14
mov qword [rsp + 0x50], rax
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov rcx, qword [rsp + 0x50]
rep stosb byte [rdi], al
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x58]
call fcn.1400a3e50
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
call fcn.1400ee6a0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400ef3c8
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x98]
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
test eax, eax
je 0x1400ef3c8
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x2c], eax
cmp qword [rsp + 0x20], 0
je 0x1400ef40a
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.14020fa78
cmp qword [rsp + 0x38], 0
jne 0x1400ef3f7
mov qword [rsp + 0x68], 0
jmp 0x1400ef40a
mov qword [rsp + 0x20], 0x8123
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xc8]
call fcn.1400adaa0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14020f8d0
add rsp, 0xb0
pop rdi
ret
Function at 0x1400efa00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.1400ef710
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x28], 0
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x2c], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x2e], ax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x2a8], 0
je 0x1400efa6c
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x2a8], 0xffffffffffffffff
je 0x1400efa6c
xor edx, edx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x2a8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x2b0], 0
je 0x1400efab8
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x2b0], 0xffffffffffffffff
je 0x1400efab8
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x2b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x2b0], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x2a8], 0
je 0x1400efaf8
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x2a8], 0xffffffffffffffff
je 0x1400efaf8
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x2a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x2a8], 0
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1400ef760
mov eax, 1
add rsp, 0x28
ret
Function at 0x1400efb10
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x340
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x14032d990]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x3c], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x1400efb87
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
lea rdx, [0x1403254f8]
lea rcx, [rsp + 0x38]
call fcn.140216b54
lea rax, [rsp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0xf0], 0x238
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400efc89
mov rax, qword [rsp + 0x350]
mov eax, dword [rax + 0x30]
cmp dword [rsp + 0x110], eax
jne 0x1400efc6f
mov dword [rsp + 0x3c], 1
mov r8d, dword [rsp + 0xf8]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400efc25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x40], eax
lea rdx, [0x1403254f8]
lea rcx, [rsp + 0x40]
call fcn.140216b54
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1400efc64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x44], eax
lea rdx, [0x1403254f8]
lea rcx, [rsp + 0x44]
call fcn.140216b54
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400efbc0
jmp 0x1400efc8b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.14020f8d0
add rsp, 0x340
pop rdi
ret

Function at 0x1400efe70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1400efea0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14032d990]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea r8, [0x140271ae0]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.140220320
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1402206f0
movsxd rax, dword [rsp + 0x68]
mov r9, qword [rsp + 0x28]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x60]
call fcn.140220938
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
call fcn.140220408
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14020f8d0
add rsp, 0x48
ret
Function at 0x1400f01e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x4a8
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14032d990]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rdi, qword [rsp + 0x4c0]
xor eax, eax
mov ecx, 0x3d9
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x280], ax
lea rax, [rsp + 0x282]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rdx, [rsp + 0x280]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov word [rsp + 0x70], ax
lea rax, [rsp + 0x72]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rax, [0x1402718c0]
mov qword [rsp + 0x20], rax
lea r9, [0x140332b60]
lea r8, [rsp + 0x280]
lea rdx, str._s_sex._s
lea rcx, [rsp + 0x70]
call fcn.1400a14b0
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1402200a0
test eax, eax
jne 0x1400f0308
mov edx, 0x18
lea rcx, [rsp + 0x58]
call fcn.1400c8640
lea rcx, [rsp + 0x58]
call fcn.1400a6cb0
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1400ed6e0
lea rcx, [rsp + 0x58]
call fcn.1400e83f0
mov qword [rsp + 0x38], rax
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400b1e50
lea rcx, str._____sssss
add rcx, 7
mov rdi, rcx
mov rsi, rax
mov rax, qword [rsp + 0x38]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x58]
call fcn.1400ae910
mov rax, qword [rsp + 0x4c0]
mov qword [rsp + 0x48], rax
lea rax, str._____sssss
add rax, 7
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x1400f0339
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
cmp rax, 0x3d9
jae 0x1400f0366
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
xor eax, 0x73
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
mov byte [rdx + rcx], al
jmp 0x1400f032f
mov rcx, qword [rsp + 0x4c0]
call fcn.1400f0390
mov al, 1
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14020f8d0
add rsp, 0x4a8
pop rdi
pop rsi
ret
Function at 0x1400f0390
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x480
mov rax, qword [0x14032d990]
xor rax, rsp
mov qword [rsp + 0x470], rax
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x260], ax
lea rax, [rsp + 0x262]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x50], ax
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rdx, [rsp + 0x260]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rax, [0x1402718a0]
mov qword [rsp + 0x20], rax
lea r9, [0x140332b60]
lea r8, [rsp + 0x260]
lea rdx, [0x1402718a8]
lea rcx, [rsp + 0x50]
call fcn.1400a14b0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1402200a0
cmp eax, 0xffffffff
jne 0x1400f04be
lea rax, str._____sssss
add rax, 7
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x1400f0477
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
cmp rax, 0x3d9
jae 0x1400f04a4
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
xor eax, 0x73
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov byte [rdx + rcx], al
jmp 0x1400f046d
mov r9d, 0x3d9
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.1400efea0
mov al, 1
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14020f8d0
add rsp, 0x480
pop rdi
ret

Function at 0x1400f0740
Capabilities:
Accept command line arguments

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.1400efe60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x40], rax
mov r8d, 0x103
lea rdx, [0x140332950]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, 0x5c
lea rcx, [0x140332950]
call fcn.1400f0710
add rax, 2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
inc qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
cmp word [rax + rcx*2], 0
jne 0x1400f07cc
mov rax, qword [rsp + 0x28]
sub rax, 6
mov r8, rax
mov rdx, qword [rsp + 0x30]
lea rcx, [0x140332b60]
call fcn.1400efe20
lea rdx, [0x140332b60]
lea rcx, [0x1403323c0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x140332950]
lea rcx, [0x1403325d0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [0x140331fe0]
call fcn.1400f01e0
lea rdx, str.v20220428
lea rcx, [0x1403321a1]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x60]
call fcn.1400eff40
add rsp, 0x50
pop rdi
ret
Function at 0x1400f4b90
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.140210100
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140102de0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.140210100
sub rsp, rax
lea rcx, [0x140335ad8]
add rsp, 0x28
jmp fcn.1400f4a10

Function at 0x140145540
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.140210100
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x140145569
lea rax, [0x140143b10]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.14013c750
lea rax, [0x140142c70]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.14013c460

Function at 0x14014d149
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14014d33a
push rbx
mov eax, 0xd0
call fcn.140210100
sub rsp, rax
mov rax, qword [0x14032d990]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xe8], rbp
mov rbx, rdx
mov qword [rsp + 0xf0], rsi
lea rbp, [r8 - 1]
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xc8], r14
lea r14, [rcx + 0xc]
shr rbp, 3
mov qword [rsp + 0xc0], r15
inc rbp
lea r15, [rcx + 0x14]
nop word [rax + rax]
movzx eax, byte [rbx + 1]
mov rcx, r14
movzx edi, byte [rbx]
movzx esi, byte [rbx + 4]
lea rbx, [rbx + 8]
shl eax, 8
or edi, eax
movzx eax, byte [rbx - 6]
shl eax, 0x10
or edi, eax
movzx eax, byte [rbx - 5]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbx - 3]
shl eax, 8
or esi, eax
mov dword [rsp + 0x20], edi
movzx eax, byte [rbx - 2]
shl eax, 0x10
or esi, eax
mov dword [rsp + 0x28], edi
movzx eax, byte [rbx - 1]
and byte [r14], 0xdf
and byte [r15], 0xbf
or byte [r14], 0x40
or byte [r15], 0x20
shl eax, 0x18
or esi, eax
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x2c], esi
call fcn.140132dc0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140132b10
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.14012f5c0
mov rcx, r15
call fcn.140132dc0
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140132b10
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14012f5c0
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
xor r8d, edi
xor edi, dword [rsp + 0x28]
xor edx, esi
xor esi, dword [rsp + 0x2c]
mov eax, edi
mov byte [r14], dil
shr eax, 8
mov byte [r14 + 1], al
mov eax, edi
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, edx
shr eax, 8
shr edi, 0x18
mov byte [r14 + 3], dil
mov byte [r14 + 4], dl
mov byte [r14 + 5], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 6], al
mov eax, r8d
shr eax, 8
shr edx, 0x18
mov byte [r14 + 7], dl
mov byte [r15], r8b
mov byte [r15 + 1], al
mov eax, r8d
shr eax, 0x10
mov byte [r15 + 2], al
shr r8d, 0x18
mov byte [r15 + 3], r8b
mov byte [r15 + 4], sil
mov eax, esi
shr eax, 8
mov byte [r15 + 5], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [r15 + 6], al
mov byte [r15 + 7], sil
sub rbp, 1
jne 0x14014d1b0
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14020f8d0
add rsp, 0xd0
pop rbx
ret