joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4afaa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4afb9e
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rsi
nop dword [rax]
test r8, r8
je 0x4afb22
cmp r8, rdi
ja 0x4afb92
cmp rsi, rbx
je 0x4afb05
mov rdx, rbx
lea rdi, [rsi + r8]
lea rdi, [rdi - 1]
nop
nop
cmp rdi, rbx
jb 0x4afb02
mov rdi, rsi
lea r9, [rdx + r8]
lea r9, [r9 - 1]
cmp r9, rsi
jae 0x4afb7f
mov rbx, rdx
mov rsi, rdi
nop
jmp 0x4afb05
mov rbx, rdx
test byte [rax], al
lea rdx, [r8 - 1]
cmp rcx, rdx
jbe 0x4afb77
movzx ecx, byte [rax + 0x400]
movzx edx, byte [rax + 0x401]
xor edi, edi
jmp 0x4afb60
add rsp, 0x10
pop rbp
ret
movzx r9d, byte [rsi + rdi]
inc ecx
movzx r10d, cl
mov r11d, dword [rax + r10*4]
add edx, r11d
movzx r12d, dl
mov r13d, dword [rax + r12*4]
mov dword [rax + r10*4], r13d
mov dword [rax + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rax + r10*4]
mov byte [rbx + rdi], r9b
inc rdi
nop dword [rax]
cmp r8, rdi
jg 0x4afb28
mov byte [rax + 0x400], cl
mov byte [rax + 0x401], dl
add rsp, 0x10
pop rbp
ret
mov rax, rdx
call fcn.00464340
lea rax, [0x004df1c0]
lea rbx, [0x00528cf0]
call fcn.00435800
mov rcx, r8
mov rdx, rdi
call fcn.004643c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.004620c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.004afaa0
Function at 0x140001818
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rsi, rdx
lea rcx, str._n_n_n
call fcn.140001008
lea rcx, str.___________________________________________n
call fcn.140001008
lea rcx, str.____TicketOne________________________________n
call fcn.140001008
lea rcx, str._____________________________________________n
call fcn.140001008
lea rcx, str._____________________________________________n
call fcn.140001008
lea rcx, str._____________________________Geiseric______n
call fcn.140001008
lea rcx, str._n
call fcn.140001008
cmp ebx, 2
jge 0x14000189a
lea rcx, str.____Usage:_.TicketOne__user_
call fcn.140001008
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [rsi + 8]
or rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1400018a5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [rsi + 8]
mov rdi, rax
inc rbx
cmp word [r8 + rbx*2], 0
jne 0x1400018bc
lea rdx, [rbx + 1]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, rdi
call fcn.140001490
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400021d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000221e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000221e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000221e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000221e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000221e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002220
xor al, al
add rsp, 0x28
ret
Function at 0x1400c8022
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14012d4b0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x14012d4d8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x14012d522
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 0x14012d4cd
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1400c9963
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140188760
mov rax, rcx
neg rcx
test rax, 7
je 0x14018877d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401887d8
test al, 7
jne 0x140188770
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140188791
mov rdx, qword [rax - 8]
test dl, dl
je 0x140188802
test dh, dh
je 0x1401887fc
shr rdx, 0x10
test dl, dl
je 0x1401887f6
test dh, dh
je 0x1401887f0
shr rdx, 0x10
test dl, dl
je 0x1401887ea
test dh, dh
je 0x1401887e4
shr edx, 0x10
test dl, dl
je 0x1401887de
test dh, dh
jne 0x140188791
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400c99a4
Capabilities:
Query environment variable

Disassembly:
jmp 0x14023af10
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14023aa90
lea rcx, [rsp + 0x20]
call fcn.14023aae0
movzx eax, al
test eax, eax
jne 0x14023af55
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14023aac0
mov rax, qword [rsp + 0x40]
jmp 0x14023b04f
lea rcx, [rsp + 0x20]
call fcn.14023abe0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14023ab80
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400c9d9b
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400c926a
lea rcx, [rsp + 0x28]
call fcn.1400ca2c3
movzx eax, al
test eax, eax
jne 0x14023afef
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400cb989
lea rcx, [rsp + 0x20]
call fcn.14023aac0
mov rax, qword [rsp + 0x50]
jmp 0x14023b04f
lea rcx, [rsp + 0x20]
call fcn.14023abe0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400ccb4f
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400c9cc4
lea rcx, [rsp + 0x28]
call fcn.1400cd5f9
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400cb989
lea rcx, [rsp + 0x20]
call fcn.14023aac0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400c9f49
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140186fa0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140186920
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140186fdf
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 [0x1402e1020]
jmp 0x140186fe9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400ca1e2
Capabilities:
Query environment variable

Disassembly:
jmp 0x14023ac60
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14023aa90
lea rcx, [rsp + 0x40]
call fcn.14023ac10
movzx eax, al
test eax, eax
jne 0x14023aca8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14023aac0
mov rax, qword [rsp + 0x70]
jmp 0x14023ae79
lea rcx, [rsp + 0x40]
call fcn.14023abe0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14023ab80
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.14023abe0
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.1400cb551
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14023ad4e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14023aac0
mov rax, qword [rsp + 0x80]
jmp 0x14023ae79
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400c9d9b
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400c9b34
lea rcx, [rsp + 0x48]
call fcn.1400c94c2
movzx eax, al
test eax, eax
jne 0x14023adb5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400c7e88
lea rcx, [rsp + 0x40]
call fcn.14023aac0
mov rax, qword [rsp + 0x88]
jmp 0x14023ae79
lea rcx, [rsp + 0x48]
call fcn.1400ca732
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14023abe0
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.1400cb551
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14023ae4b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400c7e88
lea rcx, [rsp + 0x40]
call fcn.14023aac0
mov rax, qword [rsp + 0xa0]
jmp 0x14023ae79
lea rcx, [rsp + 0x48]
call fcn.1400c9ae4
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400c7e88
lea rcx, [rsp + 0x40]
call fcn.14023aac0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x1400ca1fb
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140186ed0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1401868a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140186f11
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 [0x1402e1020]
jmp 0x140186f17
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1400ca2c8
Capabilities:
Get geographical location

Disassembly:
jmp 0x14021c4b0
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.14021b420
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14021c517
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 [0x1402e1030]
jmp 0x14021c539
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c9422
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 0x1400ca2e1
Capabilities:
Terminate process

Disassembly:
jmp 0x140163e30
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 0x1400ca6ba
Capabilities:
Print debug messages

Disassembly:
jmp 0x1402492a0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1402c2078]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1402492c6
jmp 0x140249343
mov rcx, qword [rbp + 0x30]
call fcn.1400c9963
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1402492df
jmp 0x140249343
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1402492fc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400c80d6
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.1400c8798
test eax, eax
jne 0x140249343
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400c9c97
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400caa5c
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400f7860
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400f789d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400ccc03
add rsp, 0x58
ret
Function at 0x1400cab8d
Capabilities:
Set environment variable

Disassembly:
jmp 0x14023cdc0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x1400caf2f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140164b70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140164b90
xor al, al
jmp 0x140164c11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140164ba3
xor al, al
jmp 0x140164c11
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 0x140164bcd
xor al, al
jmp 0x140164c11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140164be1
xor al, al
jmp 0x140164c11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140164bf3
xor al, al
jmp 0x140164c11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140164c0f
xor al, al
jmp 0x140164c11
mov al, 1
add rsp, 0x38
ret
Function at 0x1400cb86c
Capabilities:
Terminate process

Disassembly:
jmp 0x140187fb0
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 0x140187fde
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400cc5af
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 0x1400cbe9d
Capabilities:
Create directory

Disassembly:
jmp 0x1400fbd30
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1402c2078]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400fbd6d
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x1400fbde2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x1400fbdd0
mov edx, 1
mov ecx, 2
call fcn.1400c7311
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.1400c8a40
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400fbdd0
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.1400c7b8b
movzx eax, al
test eax, eax
jne 0x1400fbdd0
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c9c97
add rsp, 0x68
ret
Function at 0x1400cc631
Capabilities:
Print debug messages

Disassembly:
jmp 0x140219b80
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 0x1400cc7b2
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140187010
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140186960
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140187059
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 [0x1402e1020]
jmp 0x140187068
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400cc8e8
Capabilities:
Set environment variable

Disassembly:
jmp 0x140256150
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400c9210
lea rcx, [rsp + 0x48]
call fcn.1400c9210
call fcn.1400ca156
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400c8e8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1402561bf
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400c97f6
lea rcx, [rsp + 0x78]
call fcn.1400c97f6
mov eax, dword [rsp + 0x24]
jmp 0x140256250
call fcn.1400ca156
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400c8e8c
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140256206
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400c97f6
lea rcx, [rsp + 0x78]
call fcn.1400c97f6
mov eax, dword [rsp + 0x2c]
jmp 0x140256250
lea rcx, [rsp + 0x48]
call fcn.1400c9111
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400c9111
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.1400c97f6
lea rcx, [rsp + 0x78]
call fcn.1400c97f6
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400ccba9
Capabilities:
Create thread

Disassembly:
jmp 0x140191720
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x90], 0
je 0x14019174c
mov dword [rsp + 0x30], 1
jmp 0x140191754
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x14019179d
lea rax, str.procedure___nullptr
mov qword [rsp + 0x28], rax
lea rax, [0x1402742d8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xc8
lea rdx, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
mov ecx, 2
call fcn.1400c7aaf
cmp eax, 1
jne 0x14019179d
int3
cmp dword [rsp + 0x34], 0
jne 0x1401917df
call fcn.1400c915c
mov dword [rax], 0x16
mov qword [rsp + 0x20], 0
mov r9d, 0xc8
lea r8, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
lea rdx, str._beginthreadex
lea rcx, str.procedure___nullptr
call fcn.1400cbf06
xor eax, eax
jmp 0x1401918df
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.140191210
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140191010
lea rcx, [rsp + 0x40]
call fcn.140191080
movzx eax, al
test eax, eax
jne 0x14019182f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.140191060
mov rax, qword [rsp + 0x50]
jmp 0x1401918df
lea rcx, [rsp + 0x40]
call fcn.1401913c0
mov ecx, dword [rsp + 0x88]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov edx, dword [rsp + 0xa0]
mov dword [rsp + 0x20], edx
mov r9, rax
lea r8, [0x140190dc0]
mov edx, ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1401918a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400c8b03
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.140191060
mov rax, qword [rsp + 0x58]
jmp 0x1401918df
cmp qword [rsp + 0xa8], 0
je 0x1401918bc
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
lea rcx, [rsp + 0x40]
call fcn.140191380
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.140191060
mov rax, qword [rsp + 0x60]
add rsp, 0x78
ret
Function at 0x140224120
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.1400c80d6
sub rsp, rax
mov rax, qword [0x1402c2078]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402c7420]
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 0x140224312
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 0x140224266
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140224266
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 0x14022424b
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 0x1402241e8
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 0x1402242d2
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 0x140224331
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 0x14022430d
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 0x140224331
jmp 0x1402241be
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.1400c9c97
add rsp, 0x1498
pop rdi
pop rsi
ret