joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c6eb8
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140172810
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1401721e0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140172851
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 [0x1402d3020]
jmp 0x140172857
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1400c6f7b
Capabilities:
Get geographical location

Disassembly:
jmp 0x140215a40
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.1402149b0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140215aa7
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 [0x1402d3030]
jmp 0x140215ac9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c61b6
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 0x1400c6f8f
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14023c110
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1402b5058]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14023c136
jmp 0x14023c1b3
mov rcx, qword [rbp + 0x30]
call fcn.1400c6698
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14023c14f
jmp 0x14023c1b3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14023c16c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400c4fc8
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.1400c55ef
test eax, eax
jne 0x14023c1b3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400c69ae
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1400c76fb
Capabilities:
Create process on windows

Disassembly:
jmp 0x140240c60
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.1400c5fb8
lea rcx, [rsp + 0xb8]
call fcn.1400c5fb8
lea rcx, [rsp + 0x88]
call fcn.1400c5fb8
call fcn.1400c6e1d
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.1400c5c89
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140240d02
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.1400c6549
lea rcx, [rsp + 0xb8]
call fcn.1400c6549
lea rcx, [rsp + 0xe8]
call fcn.1400c6549
mov eax, dword [rsp + 0x54]
jmp 0x140240ea8
call fcn.1400c6e1d
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.1400c5c89
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140240d62
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.1400c6549
lea rcx, [rsp + 0xb8]
call fcn.1400c6549
lea rcx, [rsp + 0xe8]
call fcn.1400c6549
mov eax, dword [rsp + 0x5c]
jmp 0x140240ea8
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x140240de8
call fcn.1400c6e1d
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.1400c5c89
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140240dd6
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.1400c6549
lea rcx, [rsp + 0xb8]
call fcn.1400c6549
lea rcx, [rsp + 0xe8]
call fcn.1400c6549
mov eax, dword [rsp + 0x64]
jmp 0x140240ea8
lea rcx, [rsp + 0x88]
call fcn.1400c5ed7
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.1400c5ed7
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.1400c5ed7
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.1400c6549
lea rcx, [rsp + 0xb8]
call fcn.1400c6549
lea rcx, [rsp + 0xe8]
call fcn.1400c6549
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret
Function at 0x1400c77be
Capabilities:
Set environment variable

Disassembly:
jmp 0x14022fd10
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 0x1400c79a8
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1400e9530
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1402b5058]
xor rax, rbp
mov qword [rbp + 0x1d8], rax
lea rcx, [0x1402d20fe]
call fcn.1400c96f9
lea rcx, str.choco__v___nul_2_1
call fcn.1400c682d
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1400e95f1
lea rdx, str.Chocolatey_ist_nicht_installiert._Es_wird_versucht__es_zu_installieren.
lea rcx, [0x1402b7c10]
call fcn.1400c4965
lea rdx, [0x1400c436b]
mov rcx, rax
call fcn.1400c6bfc
lea rcx, str._powershell__NoProfile__ExecutionPolicy_Bypass__Command__iex___New_Object_System.Net.WebClient_.DownloadString_https:__chocolatey.org_install.ps1_____SET__PATH_PATH___ALLUSERSPROFILE_chocolatey_bin_
call fcn.1400c682d
mov dword [rbp + 4], eax
lea rcx, str.Paketinstallation
call fcn.1400c682d
cmp dword [rbp + 4], 0
je 0x1400e95f1
lea rdx, str.Fehler_beim_Installieren_von_Chocolatey.
lea rcx, [0x1402b7d90]
call fcn.1400c4965
lea rdx, [0x1400c436b]
mov rcx, rax
call fcn.1400c6bfc
mov eax, 1
jmp 0x1400e973d
lea rdx, str.Chocolatey_ist_installiert.
lea rcx, [0x1402b7c10]
call fcn.1400c4965
lea rdx, [0x1400c436b]
mov rcx, rax
call fcn.1400c6bfc
mov r8d, 0x50
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.1400c809c
mov dword [rbp + 0x30], 0x50
mov dword [rbp + 0x34], 3
lea rax, [0x1400c707f]
mov qword [rbp + 0x38], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x48], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp + 0x58], rax
lea rax, str.test
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x2ee
mov dword [rsp + 0x30], 0x2ee
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xca0000
lea r8, str.test
lea rdx, str.test
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbp + 0x98], rax
mov edx, 0xa
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, str.test
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbp + 0xb8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xd8]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x1400e9737
lea rcx, [rbp + 0xd8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x1400e9702
mov eax, dword [rbp + 0xe8]
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x140262790]
call fcn.1400c8790
mov rax, rdi
mov rcx, qword [rbp + 0x1d8]
xor rcx, rbp
call fcn.1400c69ae
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret
Function at 0x1400c7a1b
Capabilities:
Run powershell expression

Disassembly:
jmp 0x1400e8e10
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1402b5058]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x1402d20fe]
call fcn.1400c96f9
lea rcx, str.powershell__Command__Set_ExecutionPolicy_Bypass__Scope_Process__Force___System.Net.ServicePointManager_::SecurityProtocol___System.Net.ServicePointManager_::SecurityProtocol__bor_3072__iex___New_Object_System.Net.WebClient_.DownloadString_https:__chocolatey.org_install.ps1___
call fcn.1400c682d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x190
mov rcx, qword [0x1402b7870]
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x1400e8e9b
mov r9d, 0x10
lea r8, str.Fehler
lea rdx, str.Bitte_whlen_Sie_mindestens_ein_Paket_aus.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400e8feb
mov edx, 0x20
lea rcx, [rbp + 0x28]
call fcn.1400c7142
lea rcx, [rbp + 0x1c4]
call fcn.1400c8853
movsxd rcx, dword [rbp + 4]
mov r8, rax
mov rdx, rcx
lea rcx, [rbp + 0x28]
call fcn.1400c8d9e
nop
lea rcx, [rbp + 0x28]
call fcn.1400c929e
movsxd rcx, dword [rbp + 4]
mov r9, rax
mov r8, rcx
mov edx, 0x191
mov rcx, qword [0x1402b7870]
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [rbp + 0x64], 0
jmp 0x1400e8eff
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x64], eax
jge 0x1400e8fc5
movsxd rax, dword [rbp + 0x64]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1400c87fe
movsxd rax, dword [rax]
mov rdx, rax
lea rcx, [0x1402b7940]
call fcn.1400c583d
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.1400c4b5e
nop
lea r8, [rbp + 0x88]
lea rdx, str.choco_uninstall
lea rcx, [rbp + 0x1e8]
call fcn.1400c4393
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x218]
mov qword [rbp + 0x220], rax
lea r8, [0x1402646b0]
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0xc8]
call fcn.1400c8f10
nop
lea rcx, [rbp + 0x1e8]
call fcn.1400c5013
lea rcx, [rbp + 0xc8]
call fcn.1400c4807
mov rcx, rax
call fcn.1400c682d
lea rcx, [rbp + 0xc8]
call fcn.1400c5013
nop
lea rcx, [rbp + 0x88]
call fcn.1400c5013
jmp 0x1400e8ef7
mov r9d, 0x40
lea r8, str.Erfolg
lea rdx, str.Die_Deinstallation_der_ausgewhlten_Pakete_ist_abgeschlossen.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rbp + 0x28]
call fcn.1400c718d
lea rcx, [rbp - 0x20]
lea rdx, [0x1402624a0]
call fcn.1400c8790
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.1400c69ae
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret
Function at 0x1400c7a75
Capabilities:
Run powershell expression

Disassembly:
jmp 0x1400e7670
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1402b5058]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x1402d20fe]
call fcn.1400c96f9
lea rcx, str.powershell__Command__Set_ExecutionPolicy_Bypass__Scope_Process__Force___System.Net.ServicePointManager_::SecurityProtocol___System.Net.ServicePointManager_::SecurityProtocol__bor_3072__iex___New_Object_System.Net.WebClient_.DownloadString_https:__chocolatey.org_install.ps1___
call fcn.1400c682d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x190
mov rcx, qword [0x1402b7870]
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x1400e76fb
mov r9d, 0x10
lea r8, str.Fehler
lea rdx, str.Bitte_whlen_Sie_mindestens_ein_Paket_aus.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400e784b
mov edx, 0x20
lea rcx, [rbp + 0x28]
call fcn.1400c7142
lea rcx, [rbp + 0x1c4]
call fcn.1400c8853
movsxd rcx, dword [rbp + 4]
mov r8, rax
mov rdx, rcx
lea rcx, [rbp + 0x28]
call fcn.1400c8d9e
nop
lea rcx, [rbp + 0x28]
call fcn.1400c929e
movsxd rcx, dword [rbp + 4]
mov r9, rax
mov r8, rcx
mov edx, 0x191
mov rcx, qword [0x1402b7870]
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [rbp + 0x64], 0
jmp 0x1400e775f
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x64], eax
jge 0x1400e7825
movsxd rax, dword [rbp + 0x64]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1400c87fe
movsxd rax, dword [rax]
mov rdx, rax
lea rcx, [0x1402b7940]
call fcn.1400c583d
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.1400c4b5e
nop
lea r8, [rbp + 0x88]
lea rdx, str.choco_install
lea rcx, [rbp + 0x1e8]
call fcn.1400c4393
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x218]
mov qword [rbp + 0x220], rax
lea r8, [0x1402646b0]
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0xc8]
call fcn.1400c8f10
nop
lea rcx, [rbp + 0x1e8]
call fcn.1400c5013
lea rcx, [rbp + 0xc8]
call fcn.1400c4807
mov rcx, rax
call fcn.1400c682d
lea rcx, [rbp + 0xc8]
call fcn.1400c5013
nop
lea rcx, [rbp + 0x88]
call fcn.1400c5013
jmp 0x1400e7757
mov r9d, 0x40
lea r8, str.Erfolg
lea rdx, str.Die_Installation_der_ausgewhlten_Pakete_ist_abgeschlossen.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rbp + 0x28]
call fcn.1400c718d
lea rcx, [rbp - 0x20]
lea rdx, [0x140262040]
call fcn.1400c8790
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.1400c69ae
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret
Function at 0x1400c7b33
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401503d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401503f0
xor al, al
jmp 0x140150471
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140150403
xor al, al
jmp 0x140150471
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 0x14015042d
xor al, al
jmp 0x140150471
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140150441
xor al, al
jmp 0x140150471
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140150453
xor al, al
jmp 0x140150471
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14015046f
xor al, al
jmp 0x140150471
mov al, 1
add rsp, 0x38
ret
Function at 0x1400c841b
Capabilities:
Terminate process

Disassembly:
jmp 0x1401738f0
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 0x14017391e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400c9078
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 0x1400c90ff
Capabilities:
Print debug messages

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

Disassembly:
jmp 0x140172950
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401722a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140172999
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 [0x1402d3020]
jmp 0x1401729a8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400c939d
Capabilities:
Set environment variable

Disassembly:
jmp 0x14024b0d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400c5fb8
lea rcx, [rsp + 0x48]
call fcn.1400c5fb8
call fcn.1400c6e1d
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400c5c89
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14024b13f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400c6549
lea rcx, [rsp + 0x78]
call fcn.1400c6549
mov eax, dword [rsp + 0x24]
jmp 0x14024b1d0
call fcn.1400c6e1d
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400c5c89
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14024b186
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400c6549
lea rcx, [rsp + 0x78]
call fcn.1400c6549
mov eax, dword [rsp + 0x2c]
jmp 0x14024b1d0
lea rcx, [rsp + 0x48]
call fcn.1400c5ed7
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400c5ed7
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.1400c6549
lea rcx, [rsp + 0x78]
call fcn.1400c6549
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x14021caf0
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.1400c4fc8
sub rsp, rax
mov rax, qword [0x1402b5058]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402b9dd0]
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 0x14021cce2
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 0x14021cc36
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14021cc36
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 0x14021cc1b
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 0x14021cbb8
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 0x14021cca2
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 0x14021cd01
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 0x14021ccdd
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 0x14021cd01
jmp 0x14021cb8e
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.1400c69ae
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14021cdb0
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.1400c4fc8
sub rsp, rax
mov rax, qword [0x1402b5058]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402b9dd0]
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 0x14021cfbd
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 0x14021cf09
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14021cf09
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 0x14021cee9
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 0x14021ce78
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 0x14021cf7d
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 0x14021cfdc
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 0x14021cfb8
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 0x14021cfdc
jmp 0x14021ce4e
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.1400c69ae
add rsp, 0x1498
pop rdi
pop rsi
ret