joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065320
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140065348
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14006536e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140065370
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400653c9
test ecx, ecx
jle 0x1400653a9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400653c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400653c9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400653f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140065412
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140065428
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140065444
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140065446
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140065482
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14006551e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400654bd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400654fe
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14006551e
cmp rbx, rax
ja 0x1400654d0
test rbx, rbx
je 0x14006551e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140065980
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140086040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400659ad
xor eax, eax
jmp 0x140065b19
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400659e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400659e7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140065b19
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140065b0c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140065a2a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140065a55
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140065b11
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140065ac4
sub eax, 1
je 0x140065ac4
cmp eax, 2
jne 0x140065b0c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140065b11
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140065af2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140065b0c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140065b11
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140067ee0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140065e50
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140086040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140065f23
cmp byte [rcx + 0x71], 0
je 0x140065f23
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140065f1f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140065ee4
sub eax, 1
je 0x140065ee8
cmp eax, 2
jne 0x140065f1f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140067ee0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140065f16
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140065f1f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140065ecc
xor al, al
jmp 0x140065ecc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140067ee0
add rsp, 0x60
pop rbx
ret

Function at 0x1400674ec
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140067526
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14006752b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140067574
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140070c80]
cmp byte [rcx + rax], 0
je 0x140067574
dec r8
sub rdx, 1
jne 0x14006755a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140068bdc
Capabilities:
Parse pe header

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

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14007898e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1401581b8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1401581c8]
lea rdx, [rdi + rdi]
call fcn.140061ea0
mov rax, qword [0x1401581b8]
lea r9, [rdi - 1]
mov qword [0x1401581e0], r9
mov qword [0x1401581e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140078983
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1401581c8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400788cf
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140078944
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14007890c
mov r10, qword [rdx]
cmp r10, rax
je 0x140078906
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 0x140078944
cmp r9, rdx
je 0x140078920
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140078958
cmp r9, rdx
jne 0x140078911
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, rbx
je 0x14007897e
mov r9, qword [0x1401581e0]
jmp 0x140078880
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 0x140078944
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400799b0
int3

Function at 0x14007c618
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1400b1280]
test rax, rax
je 0x14007c662
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007c662
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007c662
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007c662
cmp dword [rcx + 0x84], 0xe
jbe 0x14007c662
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007c664
xor al, al
add rsp, 0x28
ret
Function at 0x14008afd8
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140083864
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x14008b023
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x14008b057
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14008b057
call fcn.140097d7c
xor ebx, ebx
test eax, eax
jne 0x14008b045
cmp byte [rbp - 0x48], bl
je 0x14008b03e
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x14008b057
cmp byte [rbp - 0x48], bl
je 0x14008b055
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.14008ae5c
mov esi, eax
test eax, eax
je 0x14008b093
call fcn.140087d30
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x14008b0ec
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.14008ae5c
mov edi, eax
test eax, eax
je 0x14008b0cf
call fcn.140087d30
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x14008b0de
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.14009b5c4
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x14008b0ec
mov rcx, qword [rbp - 0x50]
call fcn.1400973f8
cmp byte [rbp - 8], bl
je 0x14008b0fa
mov rcx, qword [rbp - 0x20]
call fcn.1400973f8
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140092cf4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140092ae4
Function at 0x18000c860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x18000c894
cmp ecx, r10d
jge 0x18000c882
mov rcx, rbx
call fcn.18000c050
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x18000c8ce
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x18000c8b0
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x18000c8fd
mov edx, dword [0x18025e504]
mov rax, qword gs:[0x58]
mov ecx, Ordinal_41
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x18000c92f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax]
cmp rax, r8
jb 0x18000c919
xor dl, dl
jmp 0x18000c922
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x18000c910
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x18000c8d2
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x18000c9a4
mov edx, dword [0x18025e504]
mov rax, qword gs:[0x58]
mov ecx, Ordinal_41
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x18000c9be
mov rcx, rbx
call fcn.18000c190
test eax, eax
je 0x18000c997
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x180025d70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x1801d08c0]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov qword [rsp + 0x38], rsp
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180025f05
lea rdx, [0x180176650]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180025f05
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x180025f05
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180025f05
mov byte [rsp + 0x30], 0
xor esi, esi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x2a0], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x68]
cmp eax, r8d
jne 0x180025e40
lea rdx, [0x180025eca]
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll__local_unwind
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180025e6b
lea rdx, [0x180025eca]
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll__local_unwind
mov qword [rsp + 0x20], rsi
mov r9d, 4
lea r8, [rsp + 0x2a0]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x180025e9f
lea rdx, [0x180025eca]
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll__local_unwind
mov eax, dword [rbx]
cmp dword [rsp + 0x2a0], eax
je 0x180025ec1
mov byte [rsp + 0x30], 1
lea rdx, [0x180025eee]
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll__local_unwind
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x180025eee
xor esi, esi
mov rbx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x34]
jmp 0x180025e25
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180025efe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x30]
jmp 0x180025f07
xor al, al
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.180137e70
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x180025f30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
call fcn.180025d70
test al, al
je 0x180025fad
movdqa xmm0, xmmword [0x18019baf0]
xor eax, eax
movdqa xmm1, xmmword [0x18019bae0]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x40], 0x8eaec481
movdqu xmmword [rsp + 0x30], xmm1
mov dword [rsp + 0x44], 0x8889988e
mov dword [rsp + 0x48], 0x1008395
nop dword [rax]
nop word [rax + rax]
lea edx, [rax - 0x38]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x2a
jb 0x180025f80
mov rcx, qword [0x1801ead18]
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x4b], 0
call fcn.180072cb0
mov ecx, 0x1a4
int 0x29
add rsp, 0x58
ret
Function at 0x180026140
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.1800262a0
mov rdi, rax
movabs r8, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov rcx, rbx
shr rcx, 8
movzx edx, cl
movzx ecx, bl
xor rcx, rax
mov rax, rbx
shr rax, 0x10
imul rcx, r8
xor rdx, rcx
movzx ecx, al
imul rdx, r8
mov rax, rbx
xor rdx, rcx
shr rax, 0x18
imul rdx, r8
movzx ecx, al
mov rax, rbx
xor rdx, rcx
shr rax, 0x20
imul rdx, r8
movzx ecx, al
mov rax, rbx
xor rdx, rcx
shr rax, 0x28
imul rdx, r8
movzx ecx, al
mov rax, rbx
xor rdx, rcx
shr rax, 0x30
imul rdx, r8
movzx ecx, al
mov rax, rbx
xor rdx, rcx
shr rax, 0x38
mov rcx, qword [rdi + 0x480]
imul rdx, r8
xor rdx, rax
imul rdx, r8
and rcx, rdx
mov rdx, qword [rdi + 0x458]
shl rcx, 4
add rcx, qword [rdi + 0x468]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x180026226
mov rcx, qword [rcx]
cmp rbx, qword [rax + 0x10]
je 0x180026228
cmp rax, rcx
je 0x180026226
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x180026215
jmp 0x180026228
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x180026274
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x18002626b
mov r8, qword [0x18025e538]
mov rcx, rdi
mov r8, qword [r8 + 0x40]
call fcn.1800df330
mov rax, qword [0x18025e538]
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0xf8]
lea rdx, str.Failed_to_find_handler_for_native__p
jmp 0x18002627b
lea rdx, str.Failed_to_find_current_hash_for_native__p
mov rcx, qword [0x1801ead18]
mov r8, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180072cb0
Function at 0x18002aee0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1801d08c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r12d, r12d
lea rbx, str.shop_controller
mov r15d, edx
mov r11d, r12d
mov ebp, r9d
lea rdx, [0x18017c707]
mov r14d, r8d
movzx r10d, byte [rbx]
movzx eax, r10b
or al, 0x20
movzx ecx, al
lea r9d, [r10 - 0x41]
cmp r9b, 0x19
cmova ecx, r10d
inc rbx
movsx eax, cl
add eax, r11d
imul r11d, eax, 0x401
mov eax, r11d
shr eax, 6
xor r11d, eax
cmp rbx, rdx
jne 0x18002af20
lea eax, [r11 + r11*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov rax, qword [0x18025e538]
imul r9d, ecx, 0x8001
mov rcx, qword [rax + 0x28]
mov rdx, qword [rcx]
movzx eax, word [rcx + 8]
lea r8, [rdx + rax*8]
cmp rdx, r8
je 0x18002b0a0
mov rcx, qword [rdx]
test rcx, rcx
je 0x18002af9c
cmp dword [rcx + 8], r12d
je 0x18002af9c
cmp dword [rcx + 0xc], r9d
je 0x18002afaa
add rdx, 8
cmp rdx, r8
jne 0x18002af88
jmp 0x18002b0a0
mov rax, qword gs:[0x58]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov rdi, qword [rax]
mov rsi, qword [rdi + 0x848]
mov qword [rdi + 0x848], rcx
mov byte [rdi + 0x850], 1
call fcn.1800262a0
movabs rcx, 0xa65568121df2ea26
mov dword [rax + 8], r12d
mov dword [rax + 0x18], r12d
call fcn.180026140
call fcn.1800262a0
mov rcx, qword [rax]
cmp dword [rcx], r12d
je 0x18002b01f
call fcn.1800262a0
movabs rcx, 0xfa336e7f40c0a0d0
mov dword [rax + 8], r12d
mov dword [rax + 0x18], r12d
call fcn.180026140
call fcn.1800262a0
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x30]
mov r9d, r14d
mov dword [rsp + 0x20], ebp
mov r8d, r15d
mov dword [rsp + 0x30], 0xffffffff
mov edx, 0x57de404e
call fcn.18002acd0
test eax, eax
je 0x18002b083
mov ebx, dword [rsp + 0x30]
call fcn.1800262a0
mov dword [rax + 8], r12d
mov dword [rax + 0x18], r12d
call fcn.1800262a0
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
movabs rcx, 0x39be7cea8d9cc8e6
inc dword [rax + 8]
call fcn.180026140
call fcn.1800262a0
test rsi, rsi
mov qword [rdi + 0x848], rsi
mov rsi, qword [rsp + 0x60]
setne al
mov byte [rdi + 0x850], al
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180137e70
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret