joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006400f
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140102c30
mov byte [rsp + 0x10], dl
mov byte [rsp + 8], cl
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14019621e]
call fcn.1400682c7
movzx eax, byte [rbp + 0xe8]
test eax, eax
je 0x140102c71
xor edx, edx
mov cl, 0x10
call fcn.140067c91
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, byte [rbp + 0xe0]
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor r8d, r8d
mov dl, 1
movzx ecx, al
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, byte [rbp + 0xe0]
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
mov r8d, 2
mov dl, 1
movzx ecx, al
call qword [sym.imp.USER32.dll_keybd_event]
movzx eax, byte [rbp + 0xe8]
test eax, eax
je 0x140102ccf
mov dl, 1
mov cl, 0x10
call fcn.140067c91
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400644e2
Capabilities:
Set current directory

Disassembly:
jmp 0x1401266b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1401266cc
xor eax, eax
jmp 0x1401266d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret
Function at 0x14006465e
Capabilities:
Write file on windows

Disassembly:
jmp 0x14007dcf0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1401950f8]
call fcn.1400682c7
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14007dd47
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14007de53
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14007ddec
cmp qword [rbp + 0x28], 0
jle 0x14007ddec
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14007dd8c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140067e85
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14007de42
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14007de42
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140064b0e
Capabilities:
Execute command
Self delete

Disassembly:
jmp 0x140102ed0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x14017d080]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x14019621e]
call fcn.1400682c7
mov rdx, qword [rbp + 0x270]
lea rcx, [rbp + 8]
call fcn.1400648b6
nop
lea rax, [rbp + 8]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x48]
call fcn.14006414a
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x48]
call fcn.1400642b7
mov qword [rbp + 0x88], rax
jmp 0x140102f5c
mov rax, qword [rbp + 0x68]
inc rax
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x88]
cmp qword [rbp + 0x68], rax
je 0x140102f8f
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
movsx eax, byte [rax]
cmp eax, 0x2f
jne 0x140102f8d
mov rax, qword [rbp + 0xa8]
mov byte [rax], 0x5c
jmp 0x140102f51
lea rcx, [rbp + 8]
call fcn.140068272
movzx eax, al
test eax, eax
je 0x140103018
lea r8, [rbp + 8]
lea rdx, str.rmdir__s__q
lea rcx, [rbp + 0x1a8]
call fcn.1400642ad
mov qword [rbp + 0x238], rax
mov rcx, qword [rbp + 0x238]
call fcn.140064618
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
test eax, eax
jne 0x140102fe2
mov dword [rbp + 0x240], 1
jmp 0x140102fec
mov dword [rbp + 0x240], 0
movzx eax, byte [rbp + 0x240]
mov byte [rbp + 0x184], al
lea rcx, [rbp + 0x1a8]
call fcn.140064c3a
nop
lea rcx, [rbp + 8]
call fcn.140064c3a
movzx eax, byte [rbp + 0x184]
jmp 0x14010308f
lea r8, [rbp + 8]
lea rdx, str.del__f__q
lea rcx, [rbp + 0x208]
call fcn.1400642ad
mov qword [rbp + 0x238], rax
mov rcx, qword [rbp + 0x238]
call fcn.140064618
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
test eax, eax
jne 0x14010305b
mov dword [rbp + 0x240], 1
jmp 0x140103065
mov dword [rbp + 0x240], 0
movzx eax, byte [rbp + 0x240]
mov byte [rbp + 0x1e4], al
lea rcx, [rbp + 0x208]
call fcn.140064c3a
nop
lea rcx, [rbp + 8]
call fcn.140064c3a
movzx eax, byte [rbp + 0x1e4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140154780]
call fcn.140067700
mov rax, rdi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.14006608a
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x140064d48
Capabilities:
Create thread

Disassembly:
jmp 0x14008c730
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x14017d080]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x140195322]
call fcn.1400682c7
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1400653b0
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.140066189
nop
lea rax, [0x140066bc0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.140066cf6
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14008c80a
lea rcx, [rbp + 8]
call fcn.140065ca7
jmp 0x14008c823
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140064ec4
nop
lea rcx, [rbp + 8]
call fcn.140065b30
lea rcx, [rbp - 0x30]
lea rdx, [0x140145110]
call fcn.140067700
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.14006608a
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14006531f
Capabilities:
Create thread

Disassembly:
jmp 0x1400e2b30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x14017d080]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14019587c]
call fcn.1400682c7
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140067c73
mov r8, qword [rbp + 0x140]
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1400686c8
nop
lea rax, [0x14006407d]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1400667c9
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1400e2c16
lea rcx, [rbp + 8]
call fcn.140064587
jmp 0x1400e2c2f
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140064ec4
nop
lea rcx, [rbp + 8]
call fcn.140066c65
lea rcx, [rbp - 0x30]
lea rdx, [0x140151610]
call fcn.140067700
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.14006608a
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1400665bc
Capabilities:
Terminate process

Disassembly:
jmp 0x140129ad0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140066b11
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401237e0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14012381d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140068281
add rsp, 0x58
ret

Function at 0x140066e4f
Capabilities:
Parse pe header

Disassembly:
jmp 0x14012a320
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14012a340
xor al, al
jmp 0x14012a3c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14012a353
xor al, al
jmp 0x14012a3c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14012a37d
xor al, al
jmp 0x14012a3c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14012a391
xor al, al
jmp 0x14012a3c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14012a3a3
xor al, al
jmp 0x14012a3c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14012a3bf
xor al, al
jmp 0x14012a3c1
mov al, 1
add rsp, 0x38
ret
Function at 0x14006783b
Capabilities:
Get common file path

Disassembly:
jmp 0x140102470
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14017d080]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x14019621e]
call fcn.1400682c7
mov edx, 0x101
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rbp + rax + 0x10]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140154a40]
call fcn.140067700
mov eax, edi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.14006608a
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x140067c32
Capabilities:
Get common file path

Disassembly:
jmp 0x140125150
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140125198
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
ja 0x140125198
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x1401251af
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
add rsp, 0x48
ret
Function at 0x1400681be
Capabilities:
Write file on windows

Disassembly:
jmp 0x140079060
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14017d080]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x1401950f8]
call fcn.1400682c7
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x1400790c6
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400790cd
mov al, 1
jmp 0x14007923d
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140065234
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.140065234
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14006746c
movzx eax, al
test eax, eax
je 0x140079130
xor al, al
jmp 0x14007923d
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x1400791a3
cmp dword [rbp + 0x160], 1
je 0x1400791ae
cmp dword [rbp + 0x160], 3
je 0x14007922c
jmp 0x14007923b
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1400791fe
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1400791fe
xor al, al
jmp 0x14007923d
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140079219
mov dword [rbp + 0x154], 1
jmp 0x140079223
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14007923d
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14007923d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14013ee20]
call fcn.140067700
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14006608a
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1800010f0
Capabilities:
Block operations on executable memory pages using arbitrary code guard
Get file attributes

Disassembly:
push rsi
sub rsp, 0x100
mov rax, qword [0x180004040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
lea rcx, str.portCheck.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1800012a6
lea rcx, str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallWeChat
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
lea rsi, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov rcx, 0xffffffff80000002
mov rdx, rax
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800012a6
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0xf6], 0
mov word [rsp + 0xf4], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0xe0], 0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
lea rcx, str.C:WindowsSystem32_notepad.exe
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [0x180004140]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x20], 4
mov r8d, 3
xor edx, edx
mov r9d, 0x1000
call qword [0x180004148]
mov rsi, rax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0xf4]
mov r9d, 3
mov rdx, rax
call qword [0x180004150]
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x5c]
mov edx, 3
mov r8d, 0x20
call qword [0x180004158]
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
xor r8d, r8d
call qword [0x180004160]
mov ecx, dword [rsp + 0x70]
call qword [0x180004168]
mov dword [rsp + 0x58], 1
lea rdx, [rsp + 0x58]
mov r8d, 4
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.180001df0
xor eax, eax
add rsp, 0x100
pop rsi
ret
Function at 0x1b66a14
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp dword [0x01b71308], 0
jne 0x1b66aaf
mov dword [rsp], 0
jmp 0x1b66a3f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jae 0x1b66aa5
mov eax, dword [rsp]
mov dword [rsp + 4], eax
mov dword [rsp + 0xc], 8
jmp 0x1b66a63
mov eax, dword [rsp + 0xc]
dec eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0xc], 0
jbe 0x1b66a92
mov eax, dword [rsp + 4]
and eax, 1
test eax, eax
je 0x1b66a86
mov eax, dword [rsp + 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [rsp + 4], eax
jmp 0x1b66a90
mov eax, dword [rsp + 4]
shr eax, 1
mov dword [rsp + 4], eax
jmp 0x1b66a59
mov eax, dword [rsp]
lea rcx, [0x01b70f08]
mov edx, dword [rsp + 4]
mov dword [rcx + rax*4], edx
jmp 0x1b66a37
mov dword [0x01b71308], 1
mov dword [rsp + 8], 0xffffffff
mov dword [rsp], 0
jmp 0x1b66ac8
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1b66b00
mov eax, dword [rsp + 8]
shr eax, 8
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
xor ecx, dword [rsp + 8]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x01b70f08]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 8], eax
jmp 0x1b66ac0
mov eax, dword [rsp + 8]
not eax
add rsp, 0x18
ret
Function at 0x1b68540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jne 0x1b68561
xor eax, eax
jmp 0x1b686bc
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1b685c0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x1b686ba
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.01b6b878
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.01b66a14
mov dword [rsp + 0x24], eax
cmp qword [rsp + 0x38], 0
je 0x1b686b5
cmp qword [rsp + 0x28], 0
je 0x1b686b5
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x24], eax
jne 0x1b686b5
cmp dword [rsp + 0x80], 0
je 0x1b6865d
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [0x01b70ca8]
jmp 0x1b686bc
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x1b686bc
jmp 0x1b685b6
xor eax, eax
add rsp, 0x68
ret
Function at 0x1b6c5f8
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x811c9dc5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
jmp 0x1b6c626
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 8], rax
jae 0x1b6c65b
mov rax, qword [rsp + 8]
movsx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
jmp 0x1b6c619
mov eax, dword [rsp]
add rsp, 0x18
ret

Function at 0x1b6c708
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
jmp 0x1b6c734
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jge 0x1b6c836
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x104]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x104], eax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x104]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x108]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x108], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rcx + 0x108]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rcx + 0x104]
mov rcx, rax
call fcn.01b6c8c4
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x104]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
movsxd rcx, dword [rcx + 0x108]
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
movzx ecx, byte [rdx + rcx]
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx], al
jmp 0x1b6c72a
add rsp, 0x38
ret