joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400024f0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x320
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov dword [rsp + 0x20], 0
mov edx, 0x18
lea rcx, [rsp + 0x68]
call fcn.1400027a0
lea rcx, [rsp + 0x68]
call fcn.140002a80
nop
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
mov byte [rsp + 0x60], 0x2a
mov byte [rsp + 0x61], 0x2e
mov byte [rsp + 0x62], 0x2a
mov byte [rsp + 0x63], 0
mov rdx, qword [rsp + 0x338]
lea rcx, [rsp + 0x80]
call fcn.1400017e0
nop
lea rcx, [rsp + 0x80]
call fcn.140002c20
movsx eax, byte [rax]
cmp eax, 0x5c
je 0x1400025ae
lea rcx, [rsp + 0x80]
call fcn.140002c20
movsx eax, byte [rax]
cmp eax, 0x2f
je 0x1400025ae
lea rdx, [0x14002f7c4]
lea rcx, [rsp + 0x80]
call fcn.140002c50
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.140003280
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.140002c90
lea rcx, [rsp + 0x40]
call fcn.140001750
mov byte [rsp + 0x24], 0x2e
mov byte [rsp + 0x25], 0x2e
mov byte [rsp + 0x26], 0
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x140
rep stosb byte [rdi], al
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x80]
call fcn.140002c00
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x14000267f
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x330]
call fcn.140002980
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x80]
call fcn.140001750
nop
lea rcx, [rsp + 0x68]
call fcn.140002960
mov rax, qword [rsp + 0x330]
jmp 0x140002785
mov eax, dword [rsp + 0xbc]
shl rax, 0x20
mov ecx, dword [rsp + 0xc0]
add rax, rcx
mov qword [rsp + 0x1e4], rax
mov dword [rsp + 0x1e0], 0x10
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x1e0], eax
mov rax, qword [rsp + 0xac]
mov qword [rsp + 0x1f4], rax
mov rax, qword [rsp + 0xa4]
mov qword [rsp + 0x1ec], rax
mov rax, qword [rsp + 0xb4]
mov qword [rsp + 0x1fc], rax
lea rdx, [rsp + 0xcc]
lea rcx, [rsp + 0x208]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0xcc]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [rsp + 0x204], eax
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x68]
call fcn.140002800
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14000267f
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x330]
call fcn.140002980
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x80]
call fcn.140001750
nop
lea rcx, [rsp + 0x68]
call fcn.140002960
mov rax, qword [rsp + 0x330]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.14000db20
add rsp, 0x320
pop rdi
ret
Function at 0x1400027c0
Capabilities:
Get disk information

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jg 0x1400027eb
xor eax, eax
jmp 0x1400027ef
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140004420
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x98], 0
je 0x14000445b
cmp qword [rsp + 0xa0], 0
jne 0x140004462
xor eax, eax
jmp 0x14000463f
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 7
mov edx, 0x80000000
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400044b3
xor eax, eax
jmp 0x14000463f
mov dword [rsp + 0x70], 0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, eax
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x70], 0
je 0x1400044eb
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000463f
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x98]
cmp qword [rax], 0
je 0x14000450e
mov rax, qword [rsp + 0xa0]
cmp dword [rax], 0
jne 0x140004560
mov rax, qword [rsp + 0x58]
add rax, 0x400
mov rcx, rax
call fcn.14000e09c
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov rax, qword [rsp + 0x98]
cmp qword [rax], 0
jne 0x140004556
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000463f
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x40], eax
jmp 0x1400045c2
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
sub eax, 2
cmp eax, 4
jge 0x140004584
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000463f
mov rax, qword [rsp + 0xa0]
movsxd rax, dword [rax]
sub rax, qword [rsp + 0x58]
cmp rax, 2
jb 0x1400045a6
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
jmp 0x1400045ba
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
sub eax, 2
cdqe
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x40]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x50], 0
je 0x14000463d
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x74], eax
jne 0x14000463d
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx]
xor edx, edx
mov word [rax + rcx], dx
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x58]
mov dword [rax], ecx
mov eax, dword [rsp + 0x40]
jmp 0x14000463f
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000db20
add rsp, 0x88
ret
Function at 0x140009630
Capabilities:
Accept command line arguments
Create thread
Initialize winsock library

Disassembly:
sub rsp, 0x618
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov dword [rsp + 0x50], 0
call fcn.140009620
lea rcx, str.starting_r_n
call fcn.14000beb0
lea rcx, [rsp + 0x50]
call fcn.14000bfe0
mov qword [0x140037de8], rax
cmp dword [rsp + 0x50], 0
je 0x14000968b
lea rcx, str.already_running_r_n
call fcn.14000beb0
call fcn.140001180
call fcn.140001120
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1400096ac
lea rcx, str.debuggered_r_n
call fcn.14000beb0
call fcn.140001180
call fcn.140001130
call fcn.140001270
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x54], 0
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x54], 2
jle 0x140009758
mov eax, 8
imul rax, rax, 1
lea rdx, str._Delete
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + rax]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140009758
mov eax, 8
imul rax, rax, 2
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x38]
mov r9, qword [rcx + rax]
lea r8, [0x14000c080]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140009758
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14000cf00
call fcn.14000d590
lea rdx, [rsp + 0x60]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x50], eax
mov r8d, 0x400
lea rdx, [rsp + 0x200]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 1
imul rax, rax, 0x10
lea rcx, str.0123456789abcdef
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140009836
lea rax, str.0123456789abcdef
add rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov dword [0x140037df0], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov dword [0x140036a4c], eax
mov rax, qword [rsp + 0x30]
imul eax, dword [rax + 4], 0x3e8
mov dword [0x140037de0], eax
mov rax, qword [rsp + 0x30]
imul eax, dword [rax + 8], 0x400
imul eax, eax, 0x400
mov dword [0x140037de4], eax
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x28], rax
mov eax, dword [0x140037de4]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x140037de0]
mov r8d, dword [0x140036a4c]
mov edx, dword [0x140037df0]
lea rcx, str.ip:_u_https:_u_interval:_u_filesize:_u_path:_s_r_n
call fcn.14000beb0
jmp 0x14000983f
call fcn.14000a1f0
mov dword [rsp + 0x50], eax
call fcn.14000cc50
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.14000db20
add rsp, 0x618
ret
Function at 0x14000b870
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0xf4], 0
mov dword [rsp + 0xf0], 0
mov dword [rsp + 0x80], 0x68
lea rax, str.WinSta0Default
mov qword [rsp + 0x90], rax
mov dword [rsp + 0xbc], 1
movzx eax, word [rsp + 0x120]
mov word [rsp + 0xc0], ax
mov dword [rsp + 0x58], 0x430
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x110]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x50], 0
je 0x14000b9d7
cmp dword [rsp + 0x118], 0
je 0x14000b9c1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea rdx, [rsp + 0xf4]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xf4]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x110]
lea rcx, str._mytestlog_command:_ws_result:_d_process_excode:_d_thread_excode:_d_errorcode:_d_r_n
call fcn.14000bd30
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14000db20
add rsp, 0x100
pop rdi
ret

Function at 0x14000bd30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov eax, 0x1048
call fcn.140025dd0
sub rsp, rax
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x24], 0
lea rax, [rsp + 0x1058]
mov qword [rsp + 0x28], rax
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x1050]
mov edx, 0x800
lea rcx, [rsp + 0x30]
call fcn.14000bc40
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
movsxd rax, dword [rsp + 0x20]
shl rax, 1
mov r9d, 1
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, [0x140030678]
call fcn.140004660
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14000db20
add rsp, 0x1048
ret
Function at 0x14000bdf0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x848
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov dword [rsp + 0x24], 0
lea rax, [rsp + 0x858]
mov qword [rsp + 0x28], rax
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x850]
mov edx, 0x800
lea rcx, [rsp + 0x30]
call fcn.14000bcf0
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r9d, 1
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [0x140030688]
call fcn.140004660
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.14000db20
add rsp, 0x848
ret

Function at 0x14000beb0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x878
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x50]
movzx ecx, word [rsp + 0x56]
movzx edx, word [rsp + 0x52]
movzx r8d, word [rsp + 0x5c]
movzx r9d, word [rsp + 0x5a]
movzx r10d, word [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov r8d, r10d
lea rdx, str._ljg__2u:_2u:_2u__2u__2u__4u
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x888]
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x40]
mov ecx, 0x800
sub rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x40]
lea rcx, [rsp + rcx + 0x60]
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x880]
mov rdx, rax
call fcn.14000bcf0
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r9d, 1
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, str.operation.log
call fcn.140004660
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.14000db20
add rsp, 0x878
ret
Function at 0x14000c160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
mov r8d, 0xa
mov edx, 0x1001
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000c1f4
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14000c1f4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000c1f4
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x40]
jmp 0x14000c1f6
xor eax, eax
add rsp, 0x58
ret

Function at 0x14000c200
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4b0
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rax, [rsp + 0x390]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x4c0]
lea rcx, [rsp + 0x390]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, 0x104
lea rcx, [rsp + 0x390]
call fcn.14001552c
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0x238
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x14000c295
xor eax, eax
jmp 0x14000c359
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14000c34c
lea rax, [rsp + 0x280]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
mov r8, rax
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x280]
call fcn.140019abc
mov dword [rsp + 0x34], eax
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.14001552c
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x390]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14000c333
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
jmp 0x14000c359
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [rsp + 0x20], eax
jmp 0x14000c2b1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14000db20
add rsp, 0x4b0
pop rdi
ret
Function at 0x14000d590
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [rsp + 0x24], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
xor edx, edx
mov ecx, 0x3e8
div rcx
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x24], 0x168
jb 0x14000d5d1
cmp qword [rsp + 0x28], 0x168
jae 0x14000d606
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [rsp + 0x24], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
xor edx, edx
mov ecx, 0x3e8
div rcx
mov qword [rsp + 0x28], rax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000d5bc
mov dword [rsp + 0x20], 0
jmp 0x14000d61a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 6
jge 0x14000d66d
xor ecx, ecx
call fcn.14000cee0
mov qword [rsp + 0x30], rax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.14000cee0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
cmp rax, 1
jae 0x14000d66b
lea rcx, str.maybe_i_am_running_in_sand_box_r_n
call fcn.14000bdf0
call fcn.140001180
jmp 0x14000d610
mov eax, 1
add rsp, 0x48
ret

Function at 0x1400142dc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001413b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001413b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001413b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001413b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001413b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001413b
cmp dword [rcx + 0xf8], 0
je 0x14001413b
mov ecx, ebx
call fcn.1400141f8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140013fc8
nop
cmp dword [rbp + 0x20], 0
je 0x140014189
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140014194
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400140cc
Function at 0x1400200f4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140020124
xor eax, eax
jmp 0x1400201e7
mov rbp, rbx
cmp word [rax], si
je 0x140020149
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140020130
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002012c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001e560
movsxd r14, eax
test eax, eax
jne 0x140020187
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002011d
mov rcx, r14
call fcn.14001ca54
mov rdi, rax
test rax, rax
jne 0x1400201a0
xor ecx, ecx
call fcn.14001c460
jmp 0x14002017c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001e560
test eax, eax
jne 0x1400201d1
mov rcx, rdi
call fcn.14001c460
jmp 0x1400201db
xor ecx, ecx
call fcn.14001c460
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140093ba8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140093bf2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140093bf2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140093bf2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140093bf2
cmp dword [rcx + 0x84], 0xe
jbe 0x140093bf2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140093bf4
xor al, al
add rsp, 0x28
ret

Function at 0x1409f7c08
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409f7d8f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1409f7c39
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409f7c1f
add dl, dl
jne 0x1409f7c46
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409f7ca6
xor eax, eax
add dl, dl
jne 0x1409f7c55
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409f7d5d
add dl, dl
jne 0x1409f7c66
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409f7c73
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409f7c80
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409f7c8d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409f7c9a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409f7c2e
mov eax, 1
add dl, dl
jne 0x1409f7cb6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409f7cc3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409f7cab
sub eax, ebx
mov ebx, 1
jne 0x1409f7cfc
mov ecx, 1
add dl, dl
jne 0x1409f7cde
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409f7ceb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409f7cd3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409f7c2e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409f7d18
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409f7d25
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409f7d0d
cmp eax, 0x7d00
jae 0x1409f7d4b
cmp eax, 0x500
jb 0x1409f7d46
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409f7c2e
cmp eax, 0x7f
ja 0x1409f7d4e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409f7c2e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409f7d82
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1409f7c2e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20