joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004ea0
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
cmp qword [rsp + 0x60], 0
je 0x140004f00
lea rdx, [0x14002fde0]
mov rcx, qword [0x14002fdd0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rax, qword [rsp + 0x60]
mov qword [0x14002fed8], rax
lea rdx, [0x14002fde0]
mov rcx, qword [0x14002fdd0]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14002fdc8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x140021808]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14002fdc8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14002fdd0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rdx, [0x14002fde0]
mov rcx, qword [0x14002fdd0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140004fbf
cmp dword [rsp + 0x58], 1
jne 0x140004fa2
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x140021808]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14002fdc8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x50]
cmp qword [0x14002fed8], rax
jne 0x140004fb2
jmp 0x140004fbf
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140004f5b
mov rcx, qword [0x14002fdd0]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [0x14002fde0]
mov rcx, qword [0x14002fdd0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140004fe8
xor eax, eax
jmp 0x140005013
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14002fdc8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x140009654
Capabilities:
Parse pe header

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

Function at 0x140009a34
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140009ab8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140021f10]
cmp byte [rcx + rax], 0
je 0x140009ab8
dec r8
sub rdx, 1
jne 0x140009a9e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140013ffc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013df8
Function at 0x140018ed4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140018f5b
mov rsi, rbx
cmp word [rax], bp
je 0x140018f1a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018f04
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018f00
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001490c
mov rdi, rax
test rax, rax
je 0x140018f48
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000a060
mov rbp, rdi
xor ecx, ecx
call fcn.140014a60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001c358
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001c36e
mov al, 1
jmp 0x14001c3ce
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001c37f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001c3cc
mov ecx, dword [rcx + 0x18]
nop
call fcn.140017ae8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001c3cc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001c3cc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001c3cc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001c3ce
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140004cc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 2]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Chris_twritereview_tanhang_tbuildr_tregistrace_tmavs_tlnspiderguy_tstorepickupcmd_tinternet_tphantom_tfoot_taktuelt_tworkshops_tpassion_tletters_tpermissions_tcatalogorderform_tuber_tzipimport_tstayinformed_twstat_tjourneys_tapartment_temployee_tglobalincludes_tchangelife_tsouthdakota_tpublicworks_tdcc_trenderhandlers_tmo_tbizcard_tcpstyles_tOfficePDF_tfrancois_tserveradminsmall_tBooks_twebmodules_tstc_tmcr_tcarpet_tsupply_tincold_tpreprod_ttravelplans_tsecureimage_treculls_tanna_tsyslog_terrpages_tcascades_tagents_tflvs
mov r10, rax
sub rbx, rax
movabs rdi, 0x13f0e8d3447241c1
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
lea r9, [r9 + 6]
mov rax, rdi
mov rcx, r8
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 7]
mov byte [r9 - 7], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx - 6]
mov byte [r9 - 6], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
add r11d, 6
cmp r11d, 6
jb 0x140004d10
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140005ca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Chris_twritereview_tanhang_tbuildr_tregistrace_tmavs_tlnspiderguy_tstorepickupcmd_tinternet_tphantom_tfoot_taktuelt_tworkshops_tpassion_tletters_tpermissions_tcatalogorderform_tuber_tzipimport_tstayinformed_twstat_tjourneys_tapartment_temployee_tglobalincludes_tchangelife_tsouthdakota_tpublicworks_tdcc_trenderhandlers_tmo_tbizcard_tcpstyles_tOfficePDF_tfrancois_tserveradminsmall_tBooks_twebmodules_tstc_tmcr_tcarpet_tsupply_tincold_tpreprod_ttravelplans_tsecureimage_treculls_tanna_tsyslog_terrpages_tcascades_tagents_tflvs
mov r10, rax
sub rbx, rax
movabs rdi, 0x13f0e8d3447241c1
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 2]
movsx eax, al
mov word [r9 - 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx]
movsx eax, al
mov word [r9], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 2]
movsx eax, al
mov word [r9 + 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 4]
movsx eax, al
mov word [r9 + 4], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 6]
movsx eax, al
mov word [r9 + 6], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1db
sub rcx, rax
movzx eax, byte [rcx + rsi]
add r11d, 6
xor al, byte [rbx + r9 + 8]
lea r9, [r9 + 0xc]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 6
jb 0x140005cf0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000a67e
mov word [rbp + 0x50], 0x6843
mov word [rbp + 0x58], 0x6843
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000a504
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000a4f0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000a535
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000a520
cmp rdi, rbx
jne 0x14000a652
mov r13, rsi
mov word [rbp - 0x50], 0x6843
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000a576
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000a562
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000a678
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x680022
call fcn.1400027f0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000a5e8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x680039
call fcn.1400027f0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000a5e8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x680022
mov dword [rbp - 0x42], 0x680002
call fcn.1400027f0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x680022
call fcn.1400027f0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000a645
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x680039
call fcn.1400027f0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000a645
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x680022
mov dword [rbp - 0x32], 0x680002
call fcn.1400027f0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000a652
inc r14
jmp 0x14000a550
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000a67e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000a4c0
mov rax, qword [rbp - 8]
jmp 0x14000a680
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ae00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x65
mov dword [rbp - 0x20], 0x2d0008
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x270020
mov dword [rbp - 0x18], 0x450036
mov dword [rbp - 0x14], 0x330035
mov dword [rbp - 0x10], 0x31003a
call fcn.140005e60
mov rcx, rax
call 0x14000bd90
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x69
mov dword [rbp - 0x20], 0x2d0008
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x270020
mov dword [rbp - 0x18], 0x450036
mov dword [rbp - 0x14], 0x400044
call fcn.140002590
mov rcx, rax
call 0x14000bd90
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0x1c002d
mov dword [rbp - 0x1c], 0x50016
mov dword [rbp - 0x18], 0x9001f
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000bd90
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000bdf2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000ef80
test al, al
jne 0x14000be04
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000bdc0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000aef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400171c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x10
mov dword [rbp - 0x1c], 0x50017
mov dword [rbp - 0x18], 0x3a001f
mov dword [rbp - 0x14], 0x5c0045
mov dword [rbp - 0x10], 0x18000d
mov dword [rbp - 0xc], 0x720009
call fcn.140002e40
mov rcx, rax
call rbx
mov rbx, qword [0x1400171c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400171a0], rax
mov dword [rbp - 0x20], 0x10014
mov dword [rbp - 0x1c], 0x1c
mov dword [rbp - 0x18], 0x6c001d
mov dword [rbp - 0x14], 0x5c0003
mov dword [rbp - 0x10], 0x18000d
mov dword [rbp - 0xc], 0x720009
call fcn.140002e40
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x1400157b0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400171b0], rax
mov word [rbp - 0x10], 0x5e01
mov byte [rbp - 0xe], 0x61
call fcn.140005220
mov rcx, qword [0x1400171a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140017130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x5170010
mov dword [rbp - 0x1c], 0x170f4c1f
mov dword [rbp - 0x18], 0x1711010a
mov word [rbp - 0x14], 0x7632
call fcn.140001180
mov rcx, qword [0x1400171a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140017130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xc06060a
mov dword [rbp - 0x1c], 0x6126701
mov dword [rbp - 0x18], 0x1c000426
mov word [rbp - 0x14], 0x7624
call fcn.140001180
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015860]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170e8], rax
mov byte [rbp - 0x10], 0x77
call fcn.140004e60
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015800]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170f0], rax
mov dword [rbp - 0x10], 0x6e046513
call fcn.1400029f0
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015780]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170e0], rax
mov byte [rbp - 0x10], 0x77
call fcn.140004e60
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015840]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170d8], rax
mov dword [rbp - 0x10], 0x2f0f661e
mov byte [rbp - 0xc], 0x68
call fcn.140003790
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400157e0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x4819
mov byte [rbp - 0xe], 0x61
call fcn.140005220
mov rcx, qword [0x1400171b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp rax
Function at 0x14000bd90
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x65
mov dword [rbp - 0x20], 0x2d0008
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x270020
mov dword [rbp - 0x18], 0x450036
mov dword [rbp - 0x14], 0x330035
mov dword [rbp - 0x10], 0x31003a
call fcn.140005e60
mov rcx, rax
call 0x14000bd90
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x69
mov dword [rbp - 0x20], 0x2d0008
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x270020
mov dword [rbp - 0x18], 0x450036
mov dword [rbp - 0x14], 0x400044
call fcn.140002590
mov rcx, rax
call 0x14000bd90
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0x1c002d
mov dword [rbp - 0x1c], 0x50016
mov dword [rbp - 0x18], 0x9001f
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000bd90
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000bdf2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000ef80
test al, al
jne 0x14000be04
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000bdc0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180001070
Capabilities:
Get common file path
Get disk information

Disassembly:
sub rsp, 0x178
mov rax, qword [0x180023010]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1800041f0
and dword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x180001113
lea rdx, [0x180020d38]
lea rcx, [rsp + 0x50]
call fcn.180003490
test rax, rax
je 0x180001113
and dword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
and qword [rsp + 0x28], 0
xor r8d, r8d
and qword [rsp + 0x20], 0
xor edx, edx
mov byte [rax + 1], 0
and dword [0x180051420], 0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x180001113
mov eax, dword [rsp + 0x40]
mov dword [0x180051420], eax
mov al, 1
jmp 0x180001115
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180001fa0
add rsp, 0x178
ret
Function at 0x140001f00
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10088
call fcn.14001fa60
sub rsp, rax
mov rax, qword [0x1400599e0]
xor rax, rsp
mov qword [rsp + 0x10070], rax
xor eax, eax
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.14001a910
mov r8d, 0x10000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x140001f7d
lea rcx, [rsp + 0x70]
call fcn.140031c84
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.14001fac0
add rsp, 0x10088
ret
xor eax, eax
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.14001fac0
add rsp, 0x10088
ret

Function at 0x140002060
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400599e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [0x14003fef0]
call fcn.140001f00
xor edi, edi
mov qword [0x14005af40], rax
lea rdx, [0x14003fef0]
mov word [rsp + 0x20], di
lea rcx, [rsp + 0x20]
lea r8d, [rdi + 0x28]
call fcn.14001a910
lea rdx, [0x14003fef8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, str.PYTHONHOME
call fcn.140001f00
mov cl, 1
mov qword [0x14005af48], rax
call fcn.14001bbb0
lea r8d, [rdi + 0x28]
mov word [rsp + 0x20], di
lea rdx, str.PYTHONHOME
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14001a910
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov cl, 1
call fcn.14001bbb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rax, qword [sym.imp.python310.dll__Py_path_config]
mov dword [rax + 0x30], 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001fac0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x140002600
Capabilities:
Set environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400599e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rsi, rdx
mov rbp, rcx
call fcn.14000f060
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python310.dll_PyObject_GetAttrString]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.python310.dll_PyUnicode_FromString]
mov rdx, rsi
lea rcx, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.14001a910
lea rcx, [rsp + 0x20]
test r14, r14
je 0x1400026c3
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, 0xffffffffffffffff
mov rcx, r14
call sub.python310.dll_PyUnicode_FromWideChar
mov r8, rax
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.python310.dll_PyObject_SetItem]
test eax, eax
je 0x1400026b1
mov ecx, 1
call qword [sym.imp.python310.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python310.dll_Py_Exit]
int3
sub qword [rsi], 1
jne 0x1400026e3
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400026e3
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.python310.dll_PyObject_DelItem]
test eax, eax
je 0x1400026e3
mov rcx, rbp
call fcn.1400019f0
sub qword [rdi], 1
jne 0x1400026f3
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x30]
sub qword [rbx], 1
jne 0x140002703
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001fac0
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret