joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002c70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [0x14000f108]
mov qword [0x14000f100], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov edx, 0x15
lea rcx, [0x14000f108]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.140002d40
mov rcx, rax
call fcn.140005200
lea rcx, [0x14000f108]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400028f0
test eax, eax
je 0x140002d1e
mov eax, 1
jmp 0x140002d20
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008560
add rsp, 0x40
pop rdi
ret

Function at 0x140002d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], 0x18
mov byte [rsp + 0x30], 0x55
mov byte [rsp + 0x31], 0x3f
mov byte [rsp + 0x32], 0xa
mov byte [rsp + 0x33], 0x57
mov byte [rsp + 0x34], 0xdd
mov byte [rsp + 0x35], 0x5a
mov byte [rsp + 0x36], 0x72
mov byte [rsp + 0x37], pe_nt_image_headers64
mov byte [rsp + 0x38], 0x6f
mov byte [rsp + 0x39], 0x2e
mov byte [rsp + 0x3a], 0x1d
mov byte [rsp + 0x3b], 0x52
mov byte [rsp + 0x3c], 0xc3
mov byte [rsp + 0x3d], 0x41
mov byte [rsp + 0x3e], 0x64
mov byte [rsp + 0x3f], pe_nt_image_headers64
mov byte [rsp + 0x40], 0x77
mov byte [rsp + 0x41], 6
mov byte [rsp + 0x42], 0x2e
mov byte [rsp + 0x43], 0x56
mov byte [rsp + 0x44], 0xde
mov byte [rsp + 0x45], 0x47
mov byte [rsp + 0x46], 0x68
mov byte [rsp + 0x47], 0x99
mov eax, 0x1f8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140002e5a
mov eax, 0x1f8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x1f8
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x2b0
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140005260
lea rcx, [0x140009bd0]
call fcn.1400086a0
nop
mov eax, 0x2b0
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140008560
add rsp, 0x58
ret
Function at 0x140002e80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [0x14000f0b8]
mov qword [0x14000f128], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov edx, 0x1f
lea rcx, [0x14000f0b8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.140002f50
mov rcx, rax
call fcn.1400051e0
lea rcx, [0x14000f0b8]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400028f0
test eax, eax
je 0x140002f2e
mov eax, 1
jmp 0x140002f30
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008560
add rsp, 0x40
pop rdi
ret

Function at 0x140002f50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], 0x15
mov byte [rsp + 0x30], 0xa5
mov byte [rsp + 0x31], 0x37
mov byte [rsp + 0x32], 0x36
mov byte [rsp + 0x33], 0xc7
mov byte [rsp + 0x34], 0x52
mov byte [rsp + 0x35], 0x45
mov byte [rsp + 0x36], 0x40
mov byte [rsp + 0x37], 0x49
mov byte [rsp + 0x38], 0x82
mov byte [rsp + 0x39], 0x31
mov byte [rsp + 0x3a], 0x15
mov byte [rsp + 0x3b], 0xc0
mov byte [rsp + 0x3c], 0x5a
mov byte [rsp + 0x3d], 0x5d
mov byte [rsp + 0x3e], 0x68
mov byte [rsp + 0x3f], 0x7a
mov byte [rsp + 0x40], 0x86
mov byte [rsp + 0x41], 0x2c
mov byte [rsp + 0x42], 0x13
mov byte [rsp + 0x43], 0xcc
mov byte [rsp + 0x44], 0x3b
mov eax, 0x288
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x14000305b
mov eax, 0x288
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x288
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x130
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004d40
lea rcx, [0x140009c00]
call fcn.1400086a0
nop
mov eax, 0x130
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140008560
add rsp, 0x58
ret
Function at 0x140003080
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [0x14000f130]
mov qword [0x14000f0d8], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov edx, 0x1f
lea rcx, [0x14000f130]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.140003150
mov rcx, rax
call fcn.1400051c0
lea rcx, [0x14000f130]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400028f0
test eax, eax
je 0x14000312e
mov eax, 1
jmp 0x140003130
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008560
add rsp, 0x40
pop rdi
ret

Function at 0x140003270
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [0x14000f0e0]
mov qword [0x14000f0b0], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov edx, 0x1f
lea rcx, [0x14000f0e0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.140003340
mov rcx, rax
call fcn.1400050f0
lea rcx, [0x14000f0e0]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400028f0
test eax, eax
je 0x14000331e
mov eax, 1
jmp 0x140003320
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008560
add rsp, 0x40
pop rdi
ret
Function at 0x1400042e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0x1b
mov byte [rsp + 0x30], 0xc2
mov byte [rsp + 0x31], 0x31
mov byte [rsp + 0x32], 0xa
mov byte [rsp + 0x33], 0x8b
mov byte [rsp + 0x34], 0xfc
mov byte [rsp + 0x35], 0xa5
mov byte [rsp + 0x36], 0x50
mov byte [rsp + 0x37], 1
mov byte [rsp + 0x38], 0xe6
mov byte [rsp + 0x39], 0x2b
mov byte [rsp + 0x3a], 6
mov byte [rsp + 0x3b], 0x93
mov byte [rsp + 0x3c], 0xf9
mov byte [rsp + 0x3d], 0xa8
mov byte [rsp + 0x3e], 0x58
mov byte [rsp + 0x3f], 0x45
mov byte [rsp + 0x40], 0xf0
mov byte [rsp + 0x41], 0x63
mov byte [rsp + 0x42], 0x17
mov byte [rsp + 0x43], 0x90
mov byte [rsp + 0x44], 0xb5
mov byte [rsp + 0x45], 0xfb
mov byte [rsp + 0x46], 0x4f
mov byte [rsp + 0x47], 4
mov byte [rsp + 0x48], 0xe5
mov byte [rsp + 0x49], 0x49
mov byte [rsp + 0x4a], 0x63
mov eax, 0x148
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140004409
mov eax, 0x148
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x148
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x150
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004a90
lea rcx, [0x140009db0]
call fcn.1400086a0
nop
mov eax, 0x150
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140008560
add rsp, 0x68
ret
Function at 0x140004430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], 0x25
mov byte [rsp + 0x30], 0x2f
mov byte [rsp + 0x31], 0xda
mov byte [rsp + 0x32], 0x76
mov byte [rsp + 0x33], 0xb1
mov byte [rsp + 0x34], 0x92
mov byte [rsp + 0x35], 0x33
mov byte [rsp + 0x36], 3
mov byte [rsp + 0x37], 0xc3
mov byte [rsp + 0x38], 6
mov byte [rsp + 0x39], 0x9b
mov byte [rsp + 0x3a], 0x68
mov byte [rsp + 0x3b], 0xaf
mov byte [rsp + 0x3c], 0x9e
mov byte [rsp + 0x3d], 0x23
mov byte [rsp + 0x3e], 0x46
mov byte [rsp + 0x3f], 0x97
mov byte [rsp + 0x40], 0x1d
mov byte [rsp + 0x41], 0xd4
mov byte [rsp + 0x42], 0x3f
mov byte [rsp + 0x43], 0xbc
mov byte [rsp + 0x44], 0x9b
mov byte [rsp + 0x45], 0x3b
mov byte [rsp + 0x46], 0x4c
mov byte [rsp + 0x47], 0xd4
mov byte [rsp + 0x48], 8
mov byte [rsp + 0x49], 0xcf
mov byte [rsp + 0x4a], 0x7a
mov byte [rsp + 0x4b], 0xb9
mov byte [rsp + 0x4c], 0xd7
mov byte [rsp + 0x4d], 0x3a
mov byte [rsp + 0x4e], 0x46
mov byte [rsp + 0x4f], 0xda
mov byte [rsp + 0x50], 6
mov byte [rsp + 0x51], 0xc9
mov byte [rsp + 0x52], 0x66
mov byte [rsp + 0x53], 0xd7
mov byte [rsp + 0x54], 0xf7
mov eax, 0x1dc
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x14000458b
mov eax, 0x1dc
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x1dc
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x228
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004c30
lea rcx, [0x140009d80]
call fcn.1400086a0
nop
mov eax, 0x228
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008560
add rsp, 0x68
ret
Function at 0x1400045b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], 0x11
mov byte [rsp + 0x30], 0x1e
mov byte [rsp + 0x31], 0x6d
mov byte [rsp + 0x32], 0xc6
mov byte [rsp + 0x33], 0x78
mov byte [rsp + 0x34], 0x65
mov byte [rsp + 0x35], 0xd4
mov byte [rsp + 0x36], 0x1b
mov byte [rsp + 0x37], 0x7c
mov byte [rsp + 0x38], 0x7d
mov byte [rsp + 0x39], 0x6b
mov byte [rsp + 0x3a], 0xcb
mov byte [rsp + 0x3b], 0x6b
mov byte [rsp + 0x3c], 0x74
mov byte [rsp + 0x3d], 0xdc
mov byte [rsp + 0x3e], 0x11
mov byte [rsp + 0x3f], 0x11
mov byte [rsp + 0x40], 0x5d
mov eax, 0x16c
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x1400046a7
mov eax, 0x16c
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x16c
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x198
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004b60
lea rcx, [0x140009d50]
call fcn.1400086a0
nop
mov eax, 0x198
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140008560
add rsp, 0x58
ret

Function at 0x140009054
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000909e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000909e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000909e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000909e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000909e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400090a0
xor al, al
add rsp, 0x28
ret
Function at 0x140f130b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140f13237
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 0x140f130e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f130c7
add dl, dl
jne 0x140f130ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f1314e
xor eax, eax
add dl, dl
jne 0x140f130fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f13205
add dl, dl
jne 0x140f1310e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f1311b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f13128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f13135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f13142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f130d6
mov eax, 1
add dl, dl
jne 0x140f1315e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f1316b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f13153
sub eax, ebx
mov ebx, 1
jne 0x140f131a4
mov ecx, 1
add dl, dl
jne 0x140f13186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f13193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f1317b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f130d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f131c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f131cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f131b5
cmp eax, 0x7d00
jae 0x140f131f3
cmp eax, 0x500
jb 0x140f131ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f130d6
cmp eax, 0x7f
ja 0x140f131f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f130d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f1322a
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 0x140f130d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140074040
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10088
call fcn.14009dcf0
sub rsp, rax
mov rax, qword [0x1400d9d08]
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.140098790
mov r8d, 0x10000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x1400740bd
lea rcx, [rsp + 0x70]
call fcn.1400afa30
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.14009dd50
add rsp, 0x10088
ret
xor eax, eax
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.14009dd50
add rsp, 0x10088
ret

Function at 0x140074170
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d9d08]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [0x1400bd808]
call fcn.140074040
xor edi, edi
mov qword [0x1400ded58], rax
lea rdx, [0x1400bd808]
mov word [rsp + 0x20], di
lea rcx, [rsp + 0x20]
lea r8d, [rdi + 0x28]
call fcn.140098790
lea rdx, [0x1400bd810]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, str.PYTHONHOME
call fcn.140074040
mov cl, 1
mov qword [0x1400ded60], rax
call fcn.140099940
lea r8d, [rdi + 0x28]
mov word [rsp + 0x20], di
lea rdx, str.PYTHONHOME
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140098790
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov cl, 1
call fcn.140099940
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14009dd50
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x140074700
Capabilities:
Set environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400d9d08]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rsi, rdx
mov rbp, rcx
call fcn.140085f60
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.140098790
lea rcx, [rsp + 0x20]
test r14, r14
je 0x1400747c3
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 0x1400747b1
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 0x1400747e3
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400747e3
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 0x1400747e3
mov rcx, rbp
call fcn.140018ab0
sub qword [rdi], 1
jne 0x1400747f3
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x30]
sub qword [rbx], 1
jne 0x140074803
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14009dd50
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140098840
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rcx
mov eax, 0xffffffff
test edx, edx
je 0x140098904
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 0x140098860
not eax
ret
Function at 0x14009e768
Capabilities:
Parse pe header

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

Function at 0x1400a3330
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 0x1400a319b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a319b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a319b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a319b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a319b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a319b
cmp dword [rcx + 0xf8], 0
je 0x1400a319b
mov ecx, ebx
call fcn.1400a324c
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.1400a3028
nop
cmp dword [rbp + 0x20], 0
je 0x1400a31e9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a31f4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400a312c
Function at 0x1400b4a80
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 0x1400b4b07
mov rsi, rbx
cmp word [rax], bp
je 0x1400b4ac6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b4ab0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b4aac
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400b021c
mov rdi, rax
test rax, rax
je 0x1400b4af4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14009ea90
mov rbp, rdi
xor ecx, ecx
call fcn.1400b0c2c
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 0x1400b8220
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400b8236
mov al, 1
jmp 0x1400b8296
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400b8247
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400b8294
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400b4dc8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400b8294
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400b8294
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b8294
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400b8296
xor al, al
add rsp, 0x20
pop rbx
ret