joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e660
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x140049a50]
lea r10, [0x14003db20]
movsxd r9, ecx
mov rbx, qword [r8 + 0x1c10]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x1c44], edi
jne 0x14000e705
mov r8, r9
mov edx, 4
mov ecx, edi
call fcn.140015530
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x14000e739
inc r8d
test ecx, ecx
je 0x14000e722
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14000e727
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.1400164f0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000f800
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140049a50]
mov edi, edx
cmp byte [rbx + 0x1f7d], 0
jne 0x14000f861
cmp byte [rbx + 0x1f7e], 0
jne 0x14000f861
movsx r9d, word [rbx + 0x3056]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400024b0
test dil, 1
je 0x14000f988
jmp 0x14000f8ea
movss xmm1, dword [rbx + 0x1618]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x3056]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400423cc]
mulss xmm1, dword [0x1400423bc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1d20], rax
mov dword [rbx + 0x1d0c], 1
movss dword [rbx + 0x1d18], xmm0
movss dword [rbx + 0x1d1c], xmm1
movss xmm0, dword [rbx + 0x1674]
mulss xmm0, dword [0x140042324]
or dword [rbx + 0x1d08], 0x41
movss dword [rbx + 0x1d68], xmm0
call fcn.1400024b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000f940
lea r11, [0x14003db20]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14000f923
cmp byte [r8], r9b
jne 0x14000f923
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000f910
not ecx
call fcn.1400091d0
test rax, rax
je 0x14000f988
cmp byte [rax + 0x8e], 0
je 0x14000f988
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x3056]
mov edx, 0x10
movsx r9d, word [rbx + 0x3056]
call fcn.1400024b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000b7e0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003af30
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140014300
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30f8], 0
lea rbx, [rcx + 0x3100]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400143a7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001435a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400162c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140002c30
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x30f8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3108]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140049a48]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400143af
mov rcx, rbx
call fcn.140002c30
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140034660
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
xor edx, edx
mov ebx, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1400346f6
nop
lea rdx, str.Overwatch.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x1400346e4
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jle 0x1400346e4
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400346c0
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14003af30
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14003bb54
Capabilities:
Parse pe header

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

Function at 0x140055540
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14005556d
xor al, al
jmp 0x1400556cf
mov rax, qword [0x1400756c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1400756c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1400756d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1400756d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1400756e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1400756e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1400756f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1400756f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x140075700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1400556c1
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x140055619
mov r11d, 2
jmp 0x14005563d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x140055633
mov r11d, 1
jmp 0x14005563d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1400556e5
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x140055682
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14005569a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1400556aa
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1400556b8
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x140055600
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1400556ca
Function at 0x1400291bc
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c7b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c7b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002930c
cmp rax, 0xffffffffffffffff
je 0x14002930c
xor edi, edi
test rbp, rbp
jle 0x1400292b7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f0c8
mov rbx, rax
test rax, rax
jne 0x140029244
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400292ad
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a0e8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d490
cmp eax, 0xffffffff
je 0x14002928d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029254
mov edx, r15d
mov ecx, r14d
call fcn.14001a0e8
jmp 0x1400292ad
cmp byte [rsi + 0x38], dil
je 0x1400292a4
cmp dword [rsi + 0x34], 5
jne 0x1400292a4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400292ad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001ae7c
jmp 0x140029320
jns 0x140029320
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c7b4
cmp rax, 0xffffffffffffffff
jne 0x1400292d8
cmp byte [rsi + 0x30], dil
je 0x140029320
mov edi, dword [rsi + 0x2c]
jmp 0x140029320
mov ecx, r14d
call fcn.1400185a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029320
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029320
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029319
mov eax, dword [rsi + 0x2c]
jmp 0x14002931e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c7b4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140001000
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x28], 5
lea r8, str.https:__www.youtube.com_watch_vp7YXXieghto
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
add rsp, 0x38
ret

Function at 0x14000191c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001966
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001966
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001966
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001966
cmp dword [rcx + 0x84], 0xe
jbe 0x140001966
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001968
xor al, al
add rsp, 0x28
ret
Function at 0x140002280
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 [0x14004c510]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rdx
mov edi, ecx
call fcn.140001ea0
call fcn.140001de0
mov rax, qword [sym.imp.python39.dll_Py_DebugFlag]
xor esi, esi
mov r8b, 1
mov qword [0x14004df78], rbx
mov rdx, rbx
mov dword [0x14004df80], edi
mov ecx, edi
mov dword [rax], esi
mov rax, qword [sym.imp.python39.dll_Py_InspectFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python39.dll_Py_InteractiveFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python39.dll_Py_OptimizeFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python39.dll_Py_DontWriteBytecodeFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python39.dll_Py_NoUserSiteDirectory]
mov dword [rax], 1
mov rax, qword [sym.imp.python39.dll_Py_IgnoreEnvironmentFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python39.dll_Py_VerboseFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python39.dll_Py_BytesWarningFlag]
mov dword [rax], esi
mov rax, qword [sym.imp.python39.dll_Py_UTF8Mode]
mov dword [rax], esi
mov rax, qword [sym.imp.python39.dll_Py_FrozenFlag]
mov dword [rax], 1
mov rax, qword [sym.imp.python39.dll_Py_NoSiteFlag]
mov dword [rax], 1
call fcn.140001f00
call qword [sym.imp.python39.dll_Py_Initialize]
call fcn.140001ed0
mov rax, qword [sym.imp.python39.dll_Py_NoSiteFlag]
xor r8d, r8d
mov rdx, rbx
mov ecx, edi
mov dword [rax], 1
call fcn.140001f00
mov rdx, qword [0x14004df78]
mov ecx, edi
call qword [sym.imp.python39.dll_PySys_SetArgv]
call fcn.14000c910
call fcn.140001450
call fcn.140001830
call fcn.14000cb90
call fcn.140002860
call fcn.140018c60
call fcn.14000d0f0
call fcn.14000d110
call fcn.140018c40
call fcn.14000d3f0
call fcn.14000d4b0
call fcn.14000eff0
call fcn.140019580
call fcn.140019560
call fcn.140002020
call fcn.14000f9e0
call fcn.1400125b0
mov rcx, qword [sym.imp.python39.dll_PyImport_FrozenModules]
mov rax, qword [0x14004df88]
mov qword [rcx], rax
call fcn.140001620
call qword [sym.imp.python39.dll__PyWarnings_Init]
call fcn.1400192e0
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
mov r8d, 0x80
lea rcx, str.NUITKA_ONEFILE_PARENT
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
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x7d
ja 0x140002471
lea rcx, [rsp + 0x30]
call fcn.14001e4b0
xor r9d, r9d
mov qword [rsp + 0x28], rsi
lea r8, [0x140001d70]
mov dword [0x14004df98], eax
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.python39.dll_PyImport_GetModuleDict]
mov rcx, rax
lea rdx, str.__main__
call qword [sym.imp.python39.dll_PyDict_DelItemString]
lea rcx, str.__main__
call fcn.140001cc0
call fcn.140001cd0
mov ecx, eax
call qword [sym.imp.python39.dll_Py_Exit]
int3
Function at 0x14000e720
Capabilities:
Encode data using xor
Hash data with crc32

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

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

Function at 0x140024278
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140024074
Function at 0x140029a00
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 0x140029a87
mov rsi, rbx
cmp word [rax], bp
je 0x140029a46
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140029a30
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140029a2c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140024af8
mov rdi, rax
test rax, rax
je 0x140029a74
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14001a3b0
mov rbp, rdi
xor ecx, ecx
call fcn.140025898
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 0x14002c4b0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002c4c6
mov al, 1
jmp 0x14002c526
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002c4d7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14002c524
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002a2c0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002c524
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14002c524
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002c524
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002c526
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140029020
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1402b0268]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
lea r8, [0x1402a7048]
lea rcx, [rsp + 0x48]
lea rdx, str.mailslot_
call fcn.140002dc0
cmp qword [rsp + 0x60], 8
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], 0
mov edx, 0x40000000
cmovae rcx, qword [rsp + 0x48]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400290d2
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x1400290a6
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x40]
mov rcx, rdi
mov qword [rsp + 0x20], 0
lea r8d, [r8*2 + 2]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140029117
mov rcx, qword [rsp + 0x48]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029112
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029112
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140167464
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140167750
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret

Function at 0x140033440
Capabilities:
Read .ini file

Disassembly:
push rbx
mov eax, 0x2050
call fcn.140167c10
sub rsp, rax
mov rax, qword [0x1402b0268]
xor rax, rsp
mov qword [rsp + 0x2040], rax
mov rax, r8
mov qword [rsp + 0x30], rdx
mov r8, qword [rcx]
mov r10, r9
mov rbx, rdx
cmp qword [r8 + 0x18], 8
jb 0x14003347c
mov r8, qword [r8]
mov qword [rsp + 0x28], r8
lea r9, [rsp + 0x40]
lea r8, [0x140192c90]
mov dword [rsp + 0x20], 0x1000
mov rdx, r10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov r8d, eax
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
mov rax, rbx
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.140167750
add rsp, 0x2050
pop rbx
ret
Function at 0x14003ece0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 0xd8]
mov rbx, qword [sym.imp.Qt5Core.dll_struct_QMapDataBase_const_QMapDataBase::shared_null]
mov rcx, qword [rsi]
mov qword [rsi], rbx
mov eax, dword [rcx]
mov edi, 0xffffffff
test eax, eax
je 0x14003ed1d
cmp eax, edi
je 0x14003ed23
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14003ed23
call fcn.14003f710
nop
mov eax, dword [rbx]
test eax, eax
je 0x14003ed37
cmp eax, 0xffffffff
je 0x14003ed40
lock xadd dword [rbx], edi
cmp edi, 1
jne 0x14003ed40
mov rcx, rbx
call fcn.14003f710
nop
mov rdx, rsi
lea rcx, [0x140033e10]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_EnumWindows]
Function at 0x1400409a0
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1402b0268]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.QSbieAPI.dll_protected_virtual:_void___cdecl_CBoxedProcess::InitProcessInfoImpl_void____ptr64____ptr64]
mov rax, qword [rbx + 0x78]
mov r8d, 0x70746f6b
mov edx, dword [rbx + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x238]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140040a14
lea r8, [rsp + 0x38]
mov rcx, rdi
lea edx, [rax + 8]
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140040b4e
mov r9d, 4
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x40]
mov rcx, rax
lea edx, [r9 + 0xe]
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x140040a51
and dword [rbx + 0x98], 0xfffffffe
xor eax, eax
cmp dword [rsp + 0x40], 2
sete al
or dword [rbx + 0x98], eax
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
mov r9d, 0x80
lea r8, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
lea edx, [r9 - 0x7f]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x140040ac3
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1402a7068]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
and dword [rbx + 0x98], 0xfffffffd
and eax, 1
add eax, eax
or dword [rbx + 0x98], eax
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x44]
lea edx, [r9 + 0x24]
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x140040b03
and dword [rbx + 0x98], 0xfffffffb
mov eax, dword [rsp + 0x44]
neg eax
sbb ecx, ecx
and ecx, 4
or dword [rbx + 0x98], ecx
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov r9d, 0x80
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x30]
lea edx, [r9 - 0x61]
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x140040b43
and dword [rbx + 0x98], 0xfffffff7
mov rax, qword [rbp - 0x30]
neg rax
sbb ecx, ecx
and ecx, 8
or dword [rbx + 0x98], ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140167750
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret