joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14016b010
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.140149b50
sub rsp, rax
mov r9, r8
mov r8d, edx
mov rdx, rcx
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.14016ad40
add rsp, 0x28
jmp fcn.1401574f4
Function at 0x14016f280
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x20
call fcn.140149b50
sub rsp, rax
mov rbx, r8
call fcn.14016ec90
test eax, eax
js 0x14016f4be
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x14016f309
lea rdx, [rbx + r9*4 + 8]
lea r8, [rbx + 8]
nop dword [rax + rax]
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
sub rdx, 0x10
add r8, 0x10
cmp r10, r9
jl 0x14016f2c0
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x14016f4bc
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x140000000]
nop dword [rax]
mov r8d, dword [r10 + 0xe]
add r10, 0x10
inc r11d
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x1e2ab0]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
mov r9d, dword [rdi + rdx*4 + 0x1e36b0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x1e3eb0]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x1e42b0]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
xor r9d, dword [rdi + rcx*4 + 0x1e3ab0]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x1e2ab0]
movzx eax, byte [r10 + 3]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
mov r8d, dword [rdi + rdx*4 + 0x1e36b0]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x1e3eb0]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x1e3ab0]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x1e42b0]
mov eax, r9d
mov dword [r10 + 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x1e2ab0]
movzx eax, byte [r10 + 7]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
mov r8d, dword [rdi + rdx*4 + 0x1e36b0]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x1e3eb0]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x1e3ab0]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x1e42b0]
mov r9d, dword [r10 + 0xa]
mov dword [r10 + 6], r8d
movzx edx, byte [rdi + rax*4 + 0x1e2ab0]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
mov r8d, dword [rdi + rdx*4 + 0x1e3eb0]
mov eax, r9d
xor r8d, dword [rdi + rcx*4 + 0x1e3ab0]
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x1e36b0]
movzx ecx, byte [rdi + rax*4 + 0x1e2ab0]
xor r8d, dword [rdi + rcx*4 + 0x1e42b0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x14016f330
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140170240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.140149b50
sub rsp, rax
mov rax, qword [0x140228c90]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov rsi, rcx
movzx r10d, byte [rax]
mov ebx, dword [r15]
lea rdi, [rax + 1]
movzx ecx, byte [rdi + 6]
mov qword [rbp - 0x18], rax
movzx eax, byte [rdi]
shl eax, 8
mov r14, rdx
movzx edx, byte [rdi + 3]
or r10d, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
shl eax, 0x10
mov r12d, r8d
lea r8, [rdi + 5]
or r10d, eax
movzx eax, byte [rdi + 2]
xor r13d, r13d
shl eax, 0x18
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r15
or r10d, eax
movzx eax, byte [rdi + 4]
shl eax, 8
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0x10], r10b
or edx, eax
movzx eax, byte [r8]
or ecx, eax
mov eax, r10d
shr eax, 8
shl ecx, 0x10
mov byte [rbp - 0xf], al
or edx, ecx
mov eax, r10d
shr eax, 0x10
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0xc], dl
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 9], al
test r12d, r12d
je 0x1401703fc
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx r8d, dl
movzx r9d, r10b
dec r12d
test ebx, ebx
jne 0x140170398
lea r8d, [rbx + 1]
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.14016bd60
mov r10d, dword [rbp - 0x30]
mov edx, dword [rbp - 0x2c]
movzx r9d, byte [rbp - 0x30]
movzx r8d, byte [rbp - 0x2c]
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x10], r9b
mov byte [rbp - 0xc], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
inc r13d
mov byte [rbp - 9], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x140170332
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x1401703fc
mov rax, qword [rbp - 0x18]
mov byte [rax], r9b
mov eax, r10d
shr eax, 8
mov byte [rdi], al
mov eax, r10d
shr r10d, 0x18
shr eax, 0x10
mov byte [rdi + 1], al
mov byte [rdi + 2], r10b
mov byte [rdi + 3], r8b
mov eax, edx
shr eax, 8
mov byte [rdi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [rdi + 5], al
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140147970
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001750
Capabilities:
Parse pe header

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

Function at 0x140004e08
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 0x140004e77
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004e77
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004e77
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004e77
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004e77
cmp dword [rcx + 0x84], 0xe
jbe 0x140004e77
cmp dword [rcx + 0xf8], 0
je 0x140004e77
mov ecx, ebx
call fcn.140004f28
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.140004d04
nop
cmp dword [rbp + 0x20], 0
je 0x140004ec5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140004ed0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140004e08

Function at 0x14000500c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004e08
Function at 0x1400080cc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400080fc
xor eax, eax
jmp 0x1400081bf
mov rbp, rbx
cmp word [rax], si
je 0x140008121
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008108
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008104
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140007fec
movsxd r14, eax
test eax, eax
jne 0x14000815f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400080f5
mov rcx, r14
call fcn.140008fa8
mov rdi, rax
test rax, rax
jne 0x140008178
xor ecx, ecx
call fcn.14000664c
jmp 0x140008154
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140007fec
test eax, eax
jne 0x1400081a9
mov rcx, rdi
call fcn.14000664c
jmp 0x1400081b3
xor ecx, ecx
call fcn.14000664c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000b6b0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400070bc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000b73a
cmp byte [rbp - 0x21], r15b
je 0x14000b735
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000b770
call fcn.1400097b8
test eax, eax
jne 0x14000b75c
cmp byte [rbp - 0x21], r15b
je 0x14000b754
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000b770
cmp byte [rbp - 0x21], r15b
je 0x14000b76d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000669c
test eax, eax
jne 0x14000b810
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400070bc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000b7af
cmp byte [rbp - 0x21], r15b
je 0x14000b7e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000b7e4
call fcn.1400097b8
test eax, eax
jne 0x14000b7d0
cmp byte [rbp - 0x21], r15b
je 0x14000b7c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000b7e4
cmp byte [rbp - 0x21], r15b
je 0x14000b7e1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000669c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000b810
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000b813
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000b821
mov rcx, rdi
call fcn.14000664c
cmp byte [rbp + 0x3f], r15b
je 0x14000b830
mov rcx, qword [rbp + 0x27]
call fcn.14000664c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000e660
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e688
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000e688
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140569468
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + rdx - 0xfa], rbp
mov qword [rsp + rdx*2 - 0x1f4], rsi
imul rdx, rdx
xor dx, dx
sub rbp, rdx
push r9
je 0x140576210
dec bp
setbe dl
mov rbp, rbx
mov ebx, r11d
adc rdx, rdx
shl rdx, 4
or edx, ebx
xor ecx, ecx
push 0xffffffffb91238b7
call fcn.1405829c9
push 0xffffffff85b12d2a
mov r11, qword [r9]
pop rbp
lea rcx, [rbp*2 - 0xb6a7bf9]
movsx edi, bpl
lea r9, [rdi + r9 - 0x22]
xchg r11, r9
movzx r8d, cx
xor di, cx
mov rsi, r11
js 0x14057addc
jmp 0x14057ceb9
jmp fcn.140599827

Function at 0x14056b683
Capabilities:
Encode data using base64

Disassembly:
not cl
mov qword [rsp], rdx
and dx, dx
sub rdx, qword [rsp]
xor bl, cl
lea rdx, [rdx + rdx*8 + 0x212dd2a9]
dec dx
bt dx, dx
mov qword [rsp + rdx*2 - 0x425ba550], rbp
jb 0x14057ad56
call fcn.1405aeba3

Function at 0x14056ce18
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp], 0x2c1252b2
push 0x29227b8c
neg cl
rol cl, 1
jmp 0x14057f2f5

Function at 0x140573373
Capabilities:
Encode data using base64

Disassembly:
add r11, 8
rol byte [rsp + 0x14], 0x83
not rsi
call fcn.140566d31
mov rax, qword [r8]
mov ebp, 0xc618c41b
or ebp, ebp
sar ebp, 0x9a
movzx bp, byte ss:[rax + riz]
jbe 0x140567ffc
mov rbp, rsi
call fcn.14059189a
mov rbp, qword [rsi]
push 0x44aee686
mov edx, 0xb29d6d23
add rsi, 8
shl byte [rsp + 4], 0x44
mov r9, rbp
pop rdi
jns 0x14057addc

Function at 0x14057acb0
Capabilities:
Encode data using base64

Disassembly:
lea eax, [rsi - 0xf5bf]
shl rax, 0x16
btc r9d, r9d
push r9
mov qword [rsp + rsi - 0xf9b7], rcx
mov qword [rsp + rsi*8 - 0x7cdf8], rdx
inc r9d
mov ecx, 0xbb59823
movabs r11, 0
sub si, cx
btr cx, 0x31
mov qword [rsp + rsi - 0x6144], r11
dec esi
lea rcx, [rsi + r9*2 + 0xb31fd0b]
shr cl, 0xc3
mov r9d, dword [rsp + rsi*8 - 0x30c58]
xchg ch, cl
ror r9d, 3
sar sil, 0x24
bswap r9d
movsx edx, cl
add sil, dl
inc r9d
shr rcx, cl
cmovp rdx, rsi
bts rdx, rcx
ror r9d, 2
neg sil
not r9d
neg r9d
inc sil
push rsi
or qword [rsp + rsi*4 - 0x18668], rsi
lea r9d, [r9 + rsi*2 + 0x4ebe7e7a]
sar rcx, 0x66
inc sil
sal cl, 0xc5
not r9d
sar ecx, 0x3d
inc si
xor r9d, 0xed099a24
not esi
push rcx
lea rsi, [rcx + rdx*4 + 0x26190800]
lea r9d, [r9 + rsi*2 + 0x5a78e970]
neg dword [rsp + rsi - 0x261a8d97]
xor sil, 0xe
xor r9d, 0xc39fec80
add r9, r11
inc byte [rsp + rsi*2 - 0x4c351b22]
add r9, rax
mov qword [rsp + rsi - 0x261a8d0a], rbp
movsx r11d, dx
lea rcx, [r11 + r11 + 0x54162019]
mov qword [rsp + rcx - 0x5416e257], rbx
lea rsi, [rsp + rsi - 0x261a8d82]
lea rcx, [rdx*4 - 0x6bd9f5e6]
lea rdx, [rsi + rdx*8 - 0x30da0]
shr cx, 0x21
movzx ebx, byte [rsp + r11*4 - 0x18596]
and dl, 0xf0
mov rsp, rdx
Function at 0x1405819d4
Capabilities:
Encode data using base64

Disassembly:
not dil
mov qword [rsp + 8], 0x3b2e429c
inc word [rsp + 0xb]
rol dil, 1
inc dil
mov qword [rsp], 0xffffffff86a1d4a4
call fcn.140576f22
mov eax, 0xaeb98c16
movzx edi, al
movsx r9d, dil
mov rcx, qword [rdi + rbx - 0x16]
movzx esi, al
lea rbx, [rdi + rbx - 0xe]
mov r9, rcx
push rdi
push rax
xchg word [rsp + rdi*2 - 0x2a], ax
mov rsi, rbx
neg edi
xchg word [rsp + 6], di
pop r10
pop rbp
jl 0x14057addc
mov si, word [r11]
mov eax, 0x7d80c20d
movsx ecx, ax
mov ax, word [r11 + rax - 0x7d80c20b]
rol ecx, cl
sar cx, 0xaa
mov cl, byte [r11 + riz + 4]
adc r11, 3
push 0x4411ea24
neg qword [rsp]
jne 0x1405976a6
xor di, 0x6718
rol di, 1
jmp 0x14058c7a8
shrd si, ax, cl
push 0xa294b31
mov word [r11], si
call fcn.1405b3f41

Function at 0x140595f42
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffff9c1be5bf
xor r10b, r9b
mov byte [rsp + 1], 0xaf
lea r9, [rsp + r9 + 0x10]
push 0x1fa46a26
call fcn.140574031
call fcn.140590f47
adc rsi, 3
mov qword [rsp], 0x25ab788a
add ecx, r9d
call fcn.14056ce8c
mov edx, 0x73811225
mov rdx, qword [rdx + r9 - 0x73811225]
jmp 0x1405b4a5d
jns 0x1405807cd
neg r9b
sar byte [rsp + 6], 7
not byte [rsp + 6]
ror r9b, 1
sal byte [rsp + 6], 0x65
jbe 0x14056db0b
test ebx, ebx
call fcn.1405a2484
mov edi, 0x23a1da1b
movsx ebp, dil
mov r9d, edi
mov rdx, qword [rdi + r11 - 0x23a1da1b]
mov eax, r9d
lea r11, [rdi + r11 - 0x23a1da13]
mov r9, rdx
lea r10, [rdi + rax*2 + 0x5f3581ae]
mov rsi, r11
jmp 0x14057addc
call fcn.140581305

Function at 0x14059800f
Capabilities:
Encode data using base64

Disassembly:
mov ebx, 0xb93206b1
mov rbx, r9
mov ecx, 0xb87248b
movabs rcx, 0
mov r11d, 0x489358bf
sub rbx, rcx
btc r11, r11
or r11b, 0x3f
sbb r11, r11
lea r11, [0x140594c38]
lea r8, [r8 + rdx*2 - 0x6056c834]
mov edi, edx
mov eax, edx
mov r9, r10
movzx ebp, di
not dx
mov rsi, r8
movsx r8d, al
movzx ecx, al
lea r10, [r8 + r8*2 + 0xfadd73c]
pop rdi
jmp 0x14057addc
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1403502e0]
mov dword [rax], 1
mov rax, qword [0x1403502f0]
mov dword [rax], 1
mov rax, qword [0x140350300]
mov dword [rax], 1
mov rax, qword [0x140350280]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1402bed00
Capabilities:
Query environment variable

Disassembly:
push r14
mov eax, 0x10080
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14032a210
sub rsp, rax
xor eax, eax
xor edx, edx
xor esi, esi
mov r14d, 0x28
movzx edi, byte [rcx]
mov word [rsp + 0x80], ax
mov r12, rcx
lea rbp, [rsp + 0x30]
lea r13, [rsp + 0x2e]
mov word [rsp + 0x30], dx
test dil, dil
je 0x1402beda9
nop dword [rax]
mov rax, r14
lea rbx, [rbp + rsi*2]
sub rax, rsi
cmp word [rbp + rsi*2], 0
je 0x1402bed6e
nop dword [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x1402bed60
test rax, rax
je 0x14033b10e
mov rcx, rbx
add rsi, 1
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, r13
mov byte [rsp + 0x2e], dil
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.msvcrt.dll_mbstowcs
movzx edi, byte [r12 + rsi]
test dil, dil
jne 0x1402bed48
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x1402bedd8
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10080
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x1402bedf0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor eax, eax
xor esi, esi
mov r13d, 0x28
movzx edi, byte [rcx]
mov word [rsp + 0x30], ax
mov rbp, rcx
mov r14, rdx
lea r15, [rsp + 0x30]
lea r12, [rsp + 0x2e]
test dil, dil
je 0x1402bee91
nop word [rax + rax]
mov rax, r13
lea rbx, [r15 + rsi*2]
sub rax, rsi
cmp word [r15 + rsi*2], 0
je 0x1402bee56
nop word [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x1402bee48
test rax, rax
je 0x14033b114
mov rcx, rbx
add rsi, 1
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, r12
mov byte [rsp + 0x2e], dil
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.msvcrt.dll_mbstowcs
movzx edi, byte [rbp + rsi]
test dil, dil
jne 0x1402bee30
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1402e7a70
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, str.NUITKA_ONEFILE_BINARY
mov ebx, ecx
mov rcx, rsi
call fcn.1402bed00
test rax, rax
je 0x1402e7bb0
mov rdx, 0xffffffffffffffff
mov rcx, rax
lea r14, [rsp + 0x40]
mov r15d, 0x4e
call qword [sym.imp.python311.dll_PyUnicode_FromWideChar]
mov rdi, r14
lea r12, [rsi + 0x28]
lea rbp, [rsp + 0x3e]
mov r13, rax
xor eax, eax
mov word [rsp + 0x40], ax
nop
mov rax, r12
mov rbx, rdi
sub rax, rsi
cmp word [rdi], 0
je 0x1402e7aee
nop
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x1402e7ae0
test rax, rax
je 0x14033b1b4
mov rcx, rbx
add rsi, 1
add rdi, 2
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, rbp
mov byte [rsp + 0x3e], r15b
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x3f], 0
call sub.msvcrt.dll_mbstowcs
movzx r15d, byte [rsi]
test r15b, r15b
jne 0x1402e7ad0
mov rcx, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python311.dll__PyRuntime]
mov rcx, qword [0x140373658]
mov rsi, qword [rax + 0x1f8]
mov rax, qword [0x140350450]
mov rbx, qword [rax + 0x1c0]
test rcx, rcx
je 0x1402e7c08
mov rdx, rbx
call fcn.1402a4e00
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.1402dbf30
sub qword [rbx], 1
jne 0x1402e7b96
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [rdx + 0x30]
mov rax, qword [rsp + 0x28]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x140372f20]
lea rsi, [0x140372f20]
test bl, bl
je 0x1402e7bd0
mov rax, qword [0x140372f28]
lea rsi, [0x140372f28]
test rax, rax
jne 0x1402e7b96
cmp byte [0x140373142], 0
jne 0x1402e7be6
movzx ecx, bl
call fcn.1402a6e10
mov rdx, 0xffffffffffffffff
lea rcx, [0x140372f40]
call qword [sym.imp.python311.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x1402e7c32
add qword [rax], 1
jmp 0x1402e7b96
mov rcx, qword [0x1403735d0]
mov rdi, qword [rax + 0x1b0]
test rcx, rcx
je 0x1402e7c3d
mov rdx, rdi
call fcn.1402a4e00
mov qword [0x140373658], rax
mov rcx, rax
jmp 0x1402e7b63
call qword [sym.imp.python311.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x14034875b]
call qword [sym.imp.python311.dll_PyImport_ImportModule]
mov qword [0x1403735d0], rax
mov rcx, rax
test rax, rax
je 0x14033b1b4
jmp 0x1402e7c1b
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call qword [sym.imp.python311.dll_PyErr_NoMemory]
call sub.msvcrt.dll_abort
nop