joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006d4d0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x140473b20]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x14046f9e8]
test eax, eax
je 0x14006d52d
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14046f9e8]
test eax, eax
jne 0x14006d536
call fcn.14001cf18
test eax, eax
je 0x14006d552
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140280390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x14006d55d
xor eax, eax
jmp 0x14006d5e8
test rbx, rbx
jne 0x14006d57d
lea rcx, str.ImageList_LoadImageW
call fcn.1400256dc
mov rbx, rax
test rax, rax
je 0x14006d5b4
mov qword [0x140473b20], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x14006d5ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14006d5cc
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14006d5e5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret

Function at 0x140078294
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x1400782c5
call fcn.140029ee0
mov rdi, qword [rax + 0x18]
lea r8, [0x1401eca40]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x1400782e4
xor eax, eax
jmp 0x140078330
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400782e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140078325
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.14007834c
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14007b170
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140473fb8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14046f9e8]
test eax, eax
je 0x14007b1bb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14046f9e8]
test eax, eax
jne 0x14007b1c4
call fcn.14001cf18
test eax, eax
je 0x14007b1e0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140280390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14007b1e8
xor eax, eax
jmp 0x14007b245
test rbx, rbx
jne 0x14007b208
lea rcx, str.ImageList_GetImageCount
call fcn.1400256dc
mov rbx, rax
test rax, rax
je 0x14007b213
mov qword [0x140473fb8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14007b228
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14007b22a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14007b243
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14011e048
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140477430]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14046f9e8]
test eax, eax
je 0x14011e093
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14046f9e8]
test eax, eax
jne 0x14011e09c
call fcn.14001cf18
test eax, eax
je 0x14011e0b8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140280390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14011e0c0
xor eax, eax
jmp 0x14011e11d
test rbx, rbx
jne 0x14011e0e0
lea rcx, str.ChooseColorW
call fcn.1400475cc
mov rbx, rax
test rax, rax
je 0x14011e0eb
mov qword [0x140477430], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14011e100
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14011e102
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14011e11b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140124c70
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140477628]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14046f9e8]
test eax, eax
je 0x140124cbb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14046f9e8]
test eax, eax
jne 0x140124cc4
call fcn.14001cf18
test eax, eax
je 0x140124ce0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140280390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140124ce8
xor eax, eax
jmp 0x140124d45
test rbx, rbx
jne 0x140124d08
lea rcx, str.PrintDlgW
call fcn.1400475cc
mov rbx, rax
test rax, rax
je 0x140124d13
mov qword [0x140477628], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140124d28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140124d2a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140124d43
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14012a2c4
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14012a3f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x14012a436
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x14012a844
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14012a916
test rbx, rbx
je 0x14012a91c
test r9, r9
je 0x14012a922
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
and qword [rax - 0x18], 0
lea r9, [rax + 0x10]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14012a8ff
cmp dword [rsp + 0x48], 3
jne 0x14012a8ff
test eax, eax
jne 0x14012a8ff
cmp dword [rdi], eax
je 0x14012a8ff
mov ecx, dword [rdi]
call fcn.14001a640
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14012a8f3
cmp dword [rsp + 0x48], 3
jne 0x14012a8f3
test eax, eax
jne 0x14012a8f3
mov eax, 1
jmp 0x14012a901
mov rcx, qword [rbx]
call fcn.14001a684
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.14001b8c8
int3
call fcn.14001b8c8
int3
call fcn.14001b8c8
int3

Function at 0x14012abe0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14012abf1
xor eax, eax
jmp 0x14012ac1f
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14012ac28
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14012ac39
xor eax, eax
jmp 0x14012ac5d
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14017eb14
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x14017eb3d
mov rdi, qword [rdx + 0x10]
jmp 0x14017eb8e
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14017eb5e
call fcn.1400286a8
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14017eb78
call fcn.1400286a8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14017eb8e
call fcn.1400286a8
call fcn.140029ee0
cmp qword [rax + 0x68], 0
je 0x14017eba8
mov rdx, rdi
mov rcx, rbp
call fcn.14017e174
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14017ee0c
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x14017ebcf
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x14017ebde
mov rdi, rsi
mov qword [rbp + 0xe8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14017ef7c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x140478648]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x14046f9e8]
test eax, eax
je 0x14017efc8
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14046f9e8]
test eax, eax
jne 0x14017efd1
call fcn.14001cf18
test eax, eax
je 0x14017efed
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140280390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14017eff8
xor eax, eax
jmp 0x14017f07c
test r14, r14
jne 0x14017f015
lea rcx, str.CreatePropertySheetPageW
call fcn.14017f278
test rax, rax
je 0x14017f047
mov qword [0x140478648], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x14017f036
cmp dword [rdi], 0x60
jb 0x14017f036
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x140280390]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x140478648]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x14017f05e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14017f060
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14017f079
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14017f094
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140478650]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14046f9e8]
test eax, eax
je 0x14017f0df
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14046f9e8]
test eax, eax
jne 0x14017f0e8
call fcn.14001cf18
test eax, eax
je 0x14017f104
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140280390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14017f10c
xor eax, eax
jmp 0x14017f169
test rbx, rbx
jne 0x14017f12c
lea rcx, str.DestroyPropertySheetPage
call fcn.14017f278
mov rbx, rax
test rax, rax
je 0x14017f137
mov qword [0x140478650], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14017f14c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14017f14e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14017f167
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14017f180
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x140478658]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14046f9e8]
test eax, eax
je 0x14017f1cf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14046f9e8]
test eax, eax
jne 0x14017f1d8
call fcn.14001cf18
test eax, eax
je 0x14017f1f4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140280390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14017f1fe
or rax, 0xffffffffffffffff
jmp 0x14017f260
test rbx, rbx
jne 0x14017f21e
lea rcx, str.PropertySheetW
call fcn.14017f278
mov rbx, rax
test rax, rax
je 0x14017f22b
mov qword [0x140478658], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x14017f242
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14017f244
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14017f25d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401a61a0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1401a6008
Function at 0x1400130b0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10038
call fcn.14002d1f0
sub rsp, rax
mov rax, qword [0x1400621c0]
xor rax, rsp
mov qword [rsp + 0x10020], rax
xor eax, eax
lea rdx, [rsp + 0x20]
mov r8d, 0x10000
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x140013112
lea rcx, [rsp + 0x20]
call fcn.140038a28
mov rcx, qword [rsp + 0x10020]
xor rcx, rsp
call fcn.14002d250
add rsp, 0x10038
ret
xor eax, eax
mov rcx, qword [rsp + 0x10020]
xor rcx, rsp
call fcn.14002d250
add rsp, 0x10038
ret

Function at 0x1400131f0
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x28
lea rcx, [0x140048430]
call fcn.1400130b0
lea rdx, [0x14004843c]
mov qword [0x1400642f0], rax
lea rcx, [0x140048430]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, [0x140048440]
call fcn.1400130b0
mov qword [0x1400642f8], rax
call fcn.140029ac0
mov rdx, rax
lea rcx, [0x140048440]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call fcn.140029ac0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rax, qword [sym.imp.python38.dll__Py_path_config]
mov dword [rax + 0x30], 1
add rsp, 0x28
ret

Function at 0x1400135f0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rsi, rcx
call fcn.14001e360
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python38.dll_PyObject_GetAttrString]
mov rdx, 0xffffffffffffffff
mov rcx, rsi
mov rbx, rax
call sub.python38.dll_PyUnicode_FromWideChar
mov rdi, rax
mov rcx, rsi
test rbp, rbp
je 0x1400136af
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, 0xffffffffffffffff
mov rcx, rbp
call sub.python38.dll_PyUnicode_FromWideChar
mov r8, rax
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.python38.dll_PyObject_SetItem]
test eax, eax
jne 0x1400136c7
sub qword [rsi], 1
jne 0x14001367a
mov rdx, qword [rsi + 8]
mov rcx, rsi
call qword [rdx + 0x30]
sub qword [rdi], 1
jne 0x14001368a
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x30]
sub qword [rbx], 1
jne 0x14001369a
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.python38.dll_PyObject_DelItem]
test eax, eax
je 0x14001367a
mov ecx, 1
call qword [sym.imp.python38.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python38.dll_Py_Exit]
int3
Function at 0x1400136e0
Capabilities:
Create thread
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400621c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rdx
mov edi, ecx
call fcn.1400131f0
call fcn.140013130
mov rax, qword [sym.imp.python38.dll_Py_DebugFlag]
xor esi, esi
mov qword [0x1400642d8], rbx
mov dword [rax], esi
mov rax, qword [sym.imp.python38.dll_Py_InspectFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python38.dll_Py_InteractiveFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python38.dll_Py_OptimizeFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python38.dll_Py_DontWriteBytecodeFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python38.dll_Py_NoUserSiteDirectory]
mov dword [rax], 1
mov rax, qword [sym.imp.python38.dll_Py_IgnoreEnvironmentFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python38.dll_Py_VerboseFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python38.dll_Py_BytesWarningFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python38.dll_Py_UTF8Mode]
mov dword [rax], esi
mov rax, qword [sym.imp.python38.dll_Py_FrozenFlag]
mov dword [rax], 1
mov rax, qword [sym.imp.python38.dll_Py_NoSiteFlag]
mov dword [rax], 1
mov rcx, qword [rbx]
call qword [sym.imp.python38.dll_Py_SetProgramName]
mov r8b, 1
mov dword [0x1400642e0], edi
mov rdx, rbx
mov ecx, edi
call fcn.140013270
call fcn.140012eb0
mov rax, qword [sym.imp.python38.dll_Py_NoSiteFlag]
xor r8d, r8d
mov rdx, rbx
mov ecx, edi
mov dword [rax], 1
call fcn.140013270
mov rdx, qword [0x1400642d8]
mov ecx, edi
call qword [sym.imp.python38.dll_PySys_SetArgv]
call fcn.1400266c0
call fcn.140001000
call fcn.140002300
call fcn.140026a80
call fcn.140026f90
call fcn.140027080
call fcn.140027030
call fcn.140027310
call fcn.140026fe0
call fcn.1400275f0
call fcn.1400276c0
call fcn.140029210
call fcn.14002c990
call fcn.14002c970
call fcn.140013390
call fcn.140029c40
call fcn.14002cc80
mov rcx, qword [sym.imp.python38.dll_PyImport_FrozenModules]
mov rax, qword [0x1400642e8]
mov qword [rcx], rax
call fcn.1400011d0
call qword [sym.imp.python38.dll__PyWarnings_Init]
call fcn.14002c7a0
mov rdx, qword [0x1400642f0]
lea rcx, [0x140048430]
call fcn.1400135f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
mov r8d, 0x80
lea rdx, [rsp + 0x30]
lea rcx, str.NUITKA_ONEFILE_PARENT
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x7d
ja 0x1400138e7
lea rcx, [rsp + 0x30]
call fcn.140032500
xor r9d, r9d
mov qword [rsp + 0x28], rsi
lea r8, [0x140013040]
mov dword [0x140064308], eax
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140012e90
mov rcx, rax
lea rdx, str.__main__
call qword [sym.imp.python38.dll_PyDict_DelItemString]
lea rcx, str.__main__
call fcn.140012de0
call fcn.140012df0
mov ecx, eax
call qword [sym.imp.python38.dll_Py_Exit]
int3
Function at 0x140028920
Capabilities:
Encode data using xor
Hash data with crc32

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

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

Function at 0x1400382d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400380d4