joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028664
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
xor esi, esi
lea r8, [rsp + 0x30]
lea edx, [rsi + 0x1a]
xor ecx, ecx
mov word [rbx], si
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, esi
jne 0x140028707
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, esi
je 0x140028707
cmp word [rbx], si
je 0x140028707
mov rcx, rbx
call fcn.140027ae0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
mov rdx, rbx
repne scasw ax, word [rdi]
mov rax, qword [0x140051a68]
xor ecx, ecx
mov qword [rdi - 2], rax
mov eax, dword [0x140051a70]
mov dword [rdi + 6], eax
movzx eax, word [0x140051a74]
mov word [rdi + 0xa], ax
call fcn.14001b228
cmp al, sil
jne 0x140028720
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call fcn.14001b9d8
cmp eax, esi
je 0x140028720
mov r8d, 0x400
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.140028560
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140028740
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov rbx, rcx
mov byte [rcx], 0
lea rdx, [0x140051a80]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400287b3
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, [0x140051a78]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [rbx], 0
je 0x1400287c6
xor edx, edx
mov rcx, rbx
call fcn.14001b228
test al, al
jne 0x1400287ce
mov rcx, rbx
call fcn.140028594
add rsp, 0x30
pop rbx
ret

Function at 0x1400287d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea rax, [rsp + 0x50]
mov rbx, rcx
mov word [rcx], di
lea rdx, str.SoftwareWinRARPaths
lea r9d, [rdi + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x14002884b
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.AppData
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbx], di
je 0x14002885f
mov rdx, rbx
xor ecx, ecx
call fcn.14001b228
cmp al, dil
jne 0x140028867
mov rcx, rbx
call fcn.140028664
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140032110
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x1060
call fcn.14004d510
sub rsp, rax
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, rcx
je 0x14003214f
mov rdx, rcx
mov rcx, rbx
call fcn.140036d40
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareWinRARGeneral
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r12d, r12d
cmp eax, r12d
jne 0x14003225c
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
mov eax, 0x3ff
lea r9, [rsp + 0x40]
not rcx
lea rdx, str.LanguageFolder
xor r8d, r8d
dec rcx
sub eax, ecx
mov rcx, qword [rsp + 0x38]
add eax, eax
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x850]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x140032251
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x850]
mov r8d, 0x400
mov word [rsp + 0x50], r12w
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x50]
call fcn.140027ae0
mov rcx, rsi
call fcn.140027fb4
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
mov r11, rax
xor eax, eax
repne scasw ax, word [rdi]
xor r9d, r9d
movzx edx, word [r11 + r9]
add r9, 2
mov word [rdi + r9 - 4], dx
test dx, dx
jne 0x14003221c
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.14001b228
cmp al, r12b
je 0x140032251
lea rdx, [rsp + 0x50]
mov r8, rbp
mov rcx, rbx
call fcn.140036d40
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140040860
add rsp, 0x1060
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140032378
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x950
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x940], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.1400320dc
xor ebp, ebp
cmp rbx, rbp
je 0x1400323d4
lea r8, [rsp + 0x140]
sub r8, rbx
movzx eax, word [rbx]
mov word [r8 + rbx], ax
add rbx, 2
cmp ax, bp
jne 0x1400323c1
jmp 0x1400323ea
lea rdx, [rsp + 0x140]
mov r8d, 0x400
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x140]
lea rbx, str.rarlng.dll
call fcn.140027fb4
movzx ecx, word [rbx]
add rbx, 2
mov word [rax], cx
add rax, 2
cmp cx, bp
jne 0x1400323fe
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x140]
mov r8d, 0x400
call fcn.140032110
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x14003246c
cmp dword [rsp + 0x24], 5
ja 0x140032456
jne 0x14003246c
cmp dword [rsp + 0x28], 1
jbe 0x14003246c
xor edx, edx
lea rcx, [rsp + 0x140]
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x14003247a
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, rbp
mov qword [0x140067090], rax
setne cl
mov byte [rsi], cl
mov rax, qword [0x140067090]
cmp cl, bpl
cmove rax, rdi
mov qword [0x140067088], rdi
mov qword [0x140067090], rax
mov rcx, qword [rsp + 0x940]
xor rcx, rsp
call fcn.140040860
lea r11, [rsp + 0x950]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400324d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x20
call fcn.1400409f0
xor r11d, r11d
xor r10d, r10d
xor edx, edx
xor r8d, r8d
xor r9d, r9d
cmp r9, 0x28
jg 0x140032557
cmp rdx, 4
jge 0x14003253e
lea rbx, [rsp + rdx*4 + 0x20]
cmp r8, 4
jge 0x140032542
mov eax, dword [rbx]
lea rcx, [r9 + r8]
inc rdx
add rbx, 4
inc r10d
inc r8
cmp rdx, 4
mov dword [rdi + rcx*4 + 0x14], eax
jl 0x14003251b
cmp r8, 4
jne 0x140032551
inc r11d
add r9, 4
xor r10d, r10d
xor r8d, r8d
cmp rdx, 4
jl 0x14003250a
movsxd r8, r11d
movsxd r9, r10d
cmp r8, 0xa
jg 0x140032626
lea r11, [0x14006b110]
lea rbx, [0x14006b230]
movzx eax, byte [rsp + 0x2d]
mov cl, byte [rsp + 0x20]
lea rdx, [rsp + 0x24]
xor cl, byte [rax + rbx]
movzx eax, byte [rsp + 0x2e]
mov r10d, 3
mov al, byte [rax + rbx]
xor cl, byte [r11]
xor byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x2f]
mov byte [rsp + 0x20], cl
mov al, byte [rax + rbx]
xor byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x2c]
mov al, byte [rax + rbx]
xor byte [rsp + 0x23], al
inc r11
xor ecx, ecx
mov al, byte [rdx + rcx - 4]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 4
jl 0x1400325bc
add rdx, 4
sub r10, 1
jne 0x1400325ba
xor edx, edx
cmp r8, 0xa
jg 0x140032626
cmp rdx, 4
jge 0x14003260a
lea r10, [rsp + rdx*4 + 0x20]
cmp r9, 4
jge 0x14003260e
mov eax, dword [r10]
lea rcx, [r9 + r8*4]
inc rdx
add r10, 4
inc r9
cmp rdx, 4
mov dword [rdi + rcx*4 + 0x14], eax
jl 0x1400325e9
cmp r9, 4
jne 0x140032616
inc r8
xor r9d, r9d
cmp rdx, 4
jl 0x1400325d8
cmp r8, 0xa
jle 0x140032575
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140040860
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140032640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x10], rax
lea r10, [rcx + 0x24]
mov r11d, 9
lea r13, [0x140000000]
xor r9d, r9d
lea rsi, [rsp + r9]
lea rdi, [r10 + 2]
mov ebp, 4
movzx eax, byte [rdi + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [rdi - 1]
mov r8b, byte [rdx + r13 + 0x68110]
lea rcx, [r9 + rax*4]
movzx eax, byte [rdi - 2]
xor r8b, byte [rcx + r13 + 0x68910]
lea rcx, [r9 + rax*4]
movzx eax, byte [rdi]
xor r8b, byte [rcx + r13 + 0x68d10]
lea rcx, [r9 + rax*4]
add rdi, 4
xor r8b, byte [rcx + r13 + 0x68510]
mov byte [rsi], r8b
add rsi, 4
sub rbp, 1
jne 0x140032682
inc r9
cmp r9, 4
jl 0x140032675
movdqu xmm0, xmmword [rsp]
movdqu xmmword [r10], xmm0
add r10, 0x10
sub r11, 1
jne 0x140032672
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140040860
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x140033378
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
jmp 0x140033378
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
test r8, r8
jne 0x1400333aa
xor eax, eax
jmp 0x140033452
mov eax, dword [rdx]
mov r8, rbx
shr rsi, 4
xor eax, dword [rcx + 4]
mov dword [rsp + 0x20], eax
mov eax, dword [rdx + 4]
xor eax, dword [rcx + 8]
mov dword [rsp + 0x24], eax
mov eax, dword [rdx + 8]
xor eax, dword [rcx + 0xc]
mov dword [rsp + 0x28], eax
mov eax, dword [rdx + 0xc]
lea rdx, [rsp + 0x20]
xor eax, dword [rcx + 0x10]
mov dword [rsp + 0x2c], eax
call fcn.140032710
lea r12, [rsi - 1]
add rbp, 0x10
test r12, r12
je 0x140033434
mov eax, dword [rbx]
add rbx, 0x10
lea rdx, [rsp + 0x20]
xor eax, dword [rbp]
mov r8, rbx
mov rcx, rdi
mov dword [rsp + 0x20], eax
mov eax, dword [rbx - 0xc]
xor eax, dword [rbp + 4]
mov dword [rsp + 0x24], eax
mov eax, dword [rbx - 8]
xor eax, dword [rbp + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx - 4]
xor eax, dword [rbp + 0xc]
mov dword [rsp + 0x2c], eax
call fcn.140032710
add rbp, 0x10
sub r12, 1
jne 0x1400333ef
mov eax, dword [rbx]
shl rsi, 4
mov dword [rdi + 4], eax
mov eax, dword [rbx + 4]
mov dword [rdi + 8], eax
mov eax, dword [rbx + 8]
mov dword [rdi + 0xc], eax
mov eax, dword [rbx + 0xc]
mov dword [rdi + 0x10], eax
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140040860
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003346c
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
jmp 0x14003346c
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x140033572
test rbx, rbx
je 0x140033572
movdqu xmm0, xmmword [rcx + 4]
shr rbx, 4
mov qword [rsp + 0x20], rbx
mov r12, rbx
movdqu xmmword [rsp + 0x28], xmm0
test rbx, rbx
je 0x140033564
mov r13d, dword [r11 - 0x54]
mov r14d, dword [r11 - 0x58]
mov r15d, dword [r11 - 0x5c]
mov ebx, dword [rsp + 0x28]
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call fcn.140032b40
mov r11d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
xor r11d, ebx
mov ebx, dword [rsi]
xor edx, r15d
mov r15d, dword [rsi + 4]
xor ecx, r14d
mov r14d, dword [rsi + 8]
xor eax, r13d
mov r13d, dword [rsi + 0xc]
mov dword [rbp], r11d
mov dword [rbp + 4], edx
mov dword [rbp + 8], ecx
mov dword [rbp + 0xc], eax
add rbp, 0x10
add rsi, 0x10
sub r12, 1
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x44], eax
jne 0x1400334df
mov dword [rsp + 0x28], ebx
mov rbx, qword [rsp + 0x20]
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x2c], r15d
movdqu xmm0, xmmword [rsp + 0x28]
shl rbx, 4
movdqu xmmword [rdi + 4], xmm0
mov rax, rbx
jmp 0x140033574
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140040860
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14003670c
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x140037328
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14003738e
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x80000000
mov ecx, 0xd
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret
Function at 0x14004241c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140047160
nop
cmp dword [0x14006ba38], 1
je 0x1400423c8
mov dword [0x14006ba34], 1
mov byte [0x14006ba30], r12b
test ebx, ebx
jne 0x1400423b4
mov rcx, qword [0x14006dae0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400423a1
mov rcx, qword [0x14006dad8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140042340
call fcn.1400443b0
cmp qword [rdi], rax
jne 0x140042340
jmp 0x140042326
cmp rdi, rsi
jb 0x1400423a1
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400443b0
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14006dae0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14006dad8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14004237f
cmp r13, rax
je 0x14004239f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140042326
lea rdx, [0x1400505f0]
lea rcx, [0x1400505d8]
call fcn.140042170
lea rdx, [0x140050600]
lea rcx, [0x1400505f8]
call fcn.140042170
nop
test r12d, r12d
je 0x1400423d7
mov ecx, 8
call fcn.140047060
test r12d, r12d
jne 0x140042402
mov dword [0x14006ba38], 1
lea ecx, [r12 + 8]
call fcn.140047060
mov ecx, r15d
call fcn.140042104
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140042290

Function at 0x140042428
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140042290

Function at 0x140042c40
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140042c56
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140042c58
xor eax, eax
test eax, eax
je 0x140042c68
mov ecx, eax
call fcn.140042ea4
or eax, 0xffffffff
jmp 0x140042c6a
xor eax, eax
add rsp, 0x28
ret
Function at 0x14004301b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14005b870]
jne 0x14004087a
rol rcx, 0x10
test cx, 0xffff
jne 0x140040876
repz ret
ror rcx, 0x10
jmp 0x140042f74
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14006bb10]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14006bc08]
mov qword [rsp + 0x58], r11
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 0x140042ff9
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, [0x14006bb10]
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 0x14004301b
mov rax, qword [rsp + 0x88]
mov qword [0x14006bc08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14006bba8], rax
mov rax, qword [0x14006bc08]
mov qword [0x14006ba80], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14006bb90], rax
mov dword [0x14006ba70], 0xc0000409
mov dword [0x14006ba74], 1
mov rax, qword [0x14005b870]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14005b878]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14006bb08], eax
mov ecx, 1
call fcn.1400499b4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400523d8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14006bb08], 0
jne 0x1400430a2
mov ecx, 1
call fcn.1400499b4
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 0x14004a758
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400443b0
xor ebx, ebx
mov rdi, rax
cmp qword [0x14006c708], rbx
jne 0x14004a85e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14004a933
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004a933
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14006c708], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14006c710], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14006c718], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14006c728], rax
test rax, rax
je 0x14004a855
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14006c720], rax
jmp 0x14004a865
mov rax, qword [0x14006c720]
jmp 0x14004a86c
mov rax, qword [0x14006c720]
mov r11, qword [0x14006c728]
cmp rax, rdi
je 0x14004a8d4
cmp r11, rdi
je 0x14004a8d4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14006c728]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14004a8d4
test rax, rax
je 0x14004a8d4
call rsi
test rax, rax
je 0x14004a8ce
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14004a8ce
test byte [rsp + 0x38], 1
jne 0x14004a8d4
bts ebp, 0x15
jmp 0x14004a912
mov rcx, qword [0x14006c710]
cmp rcx, rdi
je 0x14004a912
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14004a912
call rax
mov rbx, rax
test rax, rax
je 0x14004a912
mov rcx, qword [0x14006c718]
cmp rcx, rdi
je 0x14004a912
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14004a912
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14006c708]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14004a933
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14004a935
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140012f80
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x10090
call fcn.14003cd40
sub rsp, rax
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rsp + 0x10080], rax
xor ebp, ebp
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x80], bp
lea rbx, [rsp + 0x30]
mov word [rsp + 0x30], bp
mov edi, 0x28
mov al, 0x4e
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.1400308bc
cmp rax, 1
jne 0x14001308f
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x140013010
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x140013004
cmp rcx, 1
jb 0x14001308f
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x140012fd1
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14001308b
lea rcx, [rsp + 0x80]
call fcn.140031dfc
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140021e80
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor eax, eax
jmp 0x140013062
call fcn.1400258c4
int3

Function at 0x1400130a0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebp, ebp
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x30], bp
lea rbx, [rsp + 0x30]
mov edi, 0x28
mov al, 0x4e
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.1400308bc
cmp rax, 1
jne 0x140013185
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14001312c
nop
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x140013120
cmp rcx, 1
jb 0x140013185
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x1400130f0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140021e80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400258c4
int3