joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400119c8
Capabilities:
Set http header

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140032370]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
xor r14d, r14d
mov qword [rbp - 0x39], r14
lea rdx, [rbp - 0x39]
call fcn.140017b74
mov ebx, eax
test eax, eax
jns 0x140011a27
lea rdx, str.Failed_to_get_MSA_ticket
mov ecx, eax
call fcn.140008c80
mov ebx, r14d
jmp 0x140011b2a
lea rdx, str.Finish_get_MSA_ticket
xor ecx, ecx
call fcn.140008c80
xor edx, edx
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.140009778
mov rdi, rax
lea rdx, str.Authorization:_MsaToken
lea rcx, [rbp - 9]
call fcn.140009778
nop
mov rcx, qword [rax + 0x18]
sub rcx, qword [rax + 0x10]
cmp qword [rdi + 0x10], rcx
jbe 0x140011a8a
mov rcx, qword [rdi + 0x18]
sub rcx, qword [rdi + 0x10]
cmp rcx, qword [rax + 0x10]
jb 0x140011a8a
mov r8, rax
mov rcx, rdi
call fcn.140013458
jmp 0x140011a95
mov rdx, rdi
mov rcx, rax
call fcn.1400096e8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rbp - 9]
call fcn.14000b978
nop
lea rcx, [rbp + 0x17]
call fcn.14000b978
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov r9d, 0x20000000
or r8d, 0xffffffff
mov rcx, qword [rsi]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x140011b20
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebx, 0x80004005
test ecx, ecx
cmovs ebx, ecx
lea rdx, str.Failed_to_add_MSA_token_header_to_request
mov ecx, ebx
call fcn.140008a60
lea rcx, [rbp - 0x29]
call fcn.14000b978
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140011b39
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14001c780
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140012a48
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

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
cmp qword [r8 + 0x18], 8
mov rdi, rdx
mov r11, qword [r8 + 0x10]
mov rbx, rcx
mov r10, r8
jb 0x140012a78
mov r10, qword [r8]
lea rdx, [r11 + r11]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140012aab
movzx eax, byte [rcx + r10]
movabs rsi, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rsi
cmp rcx, rdx
jb 0x140012a8d
mov rcx, qword [rbx + 0x30]
mov r15, qword [rbx + 0x18]
and rcx, r9
mov r10, qword [rbx + 8]
mov rax, rcx
add rax, rax
lea r12, [rcx + rcx]
mov rax, qword [r15 + rax*8]
cmp qword [r15 + r12*8], r10
jne 0x140012ad3
mov rcx, r10
jmp 0x140012adb
mov rcx, qword [r15 + r12*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140012b98
cmp qword [r8 + 0x18], 8
lea rcx, [rax + 0x10]
mov rdx, r8
jb 0x140012af5
mov rdx, qword [r8]
mov r14, qword [rcx + 0x18]
mov r9, rcx
cmp r14, 8
jb 0x140012b05
mov r9, qword [rcx]
mov rbp, qword [rcx + 0x10]
cmp rbp, r11
jne 0x140012b36
mov rsi, rbp
test rbp, rbp
je 0x140012b30
sub r9, rdx
movzx ecx, word [rdx + r9]
movzx ebx, word [rdx]
cmp cx, bx
jne 0x140012b3b
add rdx, 2
sub rsi, 1
jne 0x140012b19
xor ecx, ecx
test ecx, ecx
je 0x140012b44
mov rax, qword [rax]
jmp 0x140012ac8
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x140012b32
lea rcx, [rax + 0x10]
cmp r14, 8
jb 0x140012b51
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x140012b5b
mov r8, qword [r8]
cmp r11, rbp
jne 0x140012b87
test r11, r11
je 0x140012b81
sub r8, rcx
movzx edx, word [rcx + r8]
movzx r9d, word [rcx]
cmp dx, r9w
jne 0x140012b8f
add rcx, 2
sub r11, 1
jne 0x140012b68
xor ecx, ecx
test ecx, ecx
je 0x140012b8a
mov rax, r10
mov qword [rdi], rax
jmp 0x140012b9b
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x140012b83
mov qword [rdi], r10
mov rbx, qword [rsp + 0x20]
mov rax, rdi
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
pop r15
pop r14
pop r12
ret
Function at 0x140012c30
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x30
and qword [rax + 8], 0
mov r14, r9
lea r9, [rax + 8]
mov rcx, 0xffffffff80000002
xor ebx, ebx
call fcn.140012ed0
mov esi, eax
test eax, eax
jns 0x140012c72
mov ecx, eax
jmp 0x140012d2b
and dword [rsp + 0x60], ebx
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.RacSampleNumber
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x140012cb5
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x140012ce5
test rbx, rbx
jne 0x140012cf0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140012ce9
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140012c76
mov esi, 0x8007000e
mov ecx, esi
jmp 0x140012d2b
mov esi, 0x8000ffff
jmp 0x140012ce5
cmp dword [rsp + 0x58], 4
je 0x140012cfe
mov esi, 0x8007000d
jmp 0x140012ce5
xor ebp, ebp
cmp dword [rsp + 0x60], 4
je 0x140012d17
mov esi, 0x8007000d
mov ecx, esi
mov ebp, esi
call fcn.140009394
jmp 0x140012d1c
mov eax, dword [rbx]
mov dword [r14], eax
mov ecx, ebp
call fcn.1400093b0
mov esi, ebp
test ebp, ebp
jns 0x140012d30
mov ecx, ebp
call fcn.140009394
mov ecx, esi
call fcn.1400093b0
test rbx, rbx
je 0x140012d50
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
cmp qword [rsp + 0x50], 0
je 0x140012d63
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140013c10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov r10, qword [rsi + 0x10]
jb 0x140013c43
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x140013c72
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x140013c54
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x140013caa
cmp qword [rcx + rdx*8], rdi
jne 0x140013c9f
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x140013ca3
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140013cb7
cmp qword [rcx + rdx*8], rdi
jne 0x140013cb7
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x20]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.14000b978
mov rcx, rsi
call fcn.14000b978
mov rcx, rdi
call fcn.14001c764
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret

Function at 0x140014200
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140032370]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, 0x105
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetModuleFileNameW]
test eax, eax
je 0x140014307
mov edx, 0x105
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
mov edi, eax
test eax, eax
jns 0x140014288
mov edx, 0x20d
mov rcx, qword [rsp + 0x248]
lea r8, str.onecoreenduserupgradeenablers_shellhelpers_servicehelpers.cpp
mov r9d, edi
call fcn.140004104
mov eax, edi
jmp 0x14001430c
lea r9, str.sedplugins.dll
mov edx, 0x105
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchCombine]
mov edi, eax
test eax, eax
jns 0x1400142b1
mov edx, 0x20e
jmp 0x14001426a
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
test eax, eax
je 0x1400142ec
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000c4a4
cmp qword [rbx + 0x18], 8
jb 0x1400142d7
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.Found_existing_DLL:__s
xor ecx, ecx
call fcn.140008c80
xor eax, eax
jmp 0x14001430c
cmp qword [rbx + 0x18], 8
jb 0x1400142f6
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.Cound_not_find_DLL:__s
xor ecx, ecx
call fcn.140008c80
mov eax, 2
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001c780
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x14001455c
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov rax, qword [0x140032370]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor esi, esi
mov dword [rsp + 0x78], 0xff
lea rax, [rsp + 0x68]
mov dword [rsp + 0x60], esi
mov r9d, 0x20019
mov dword [rsp + 0x70], esi
xor r8d, r8d
mov dword [rsp + 0x74], esi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersion_rempl_shell
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov edi, 0x80070000
test eax, eax
je 0x1400145eb
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x1400145eb
mov ecx, ebx
call fcn.140009394
jmp 0x1400146b0
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
mov qword [rsp + 0x50], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rsi
xor edx, edx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140014638
mov ebx, esi
jmp 0x140014646
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x1400145df
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400146b0
mov edi, esi
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x38], rsi
lea r9, [rsp + 0x78]
mov qword [rsp + 0x30], rsi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov edx, edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x1400146a8
lea rdx, str..IterationCount
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
test rax, rax
je 0x1400146a8
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x140014650
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400146c0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.1400093b0
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14001c780
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140017758
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
xor edi, edi
mov qword [rsp + 0x20], rbx
mov r12, r9
mov r13, r8
mov rsi, rdx
test rdx, rdx
jne 0x140017799
mov ecx, 0x80070057
mov edi, ecx
call fcn.140009394
jmp 0x14001788a
test r13, r13
je 0x140017788
test r12, r12
je 0x140017788
mov r14, qword [rsp + 0x90]
test r14, r14
je 0x140017788
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x140017788
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
test eax, eax
jne 0x1400177f1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
je 0x1400177f1
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x1400177f1
mov ecx, edi
jmp 0x14001778f
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.1400178b4
mov rbx, qword [rsp + 0x20]
test rbx, rbx
jne 0x14001780f
mov edi, 0x8007000e
jmp 0x1400177ed
mov r9, rbx
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140017845
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x140017835
mov edi, 0x80004005
jmp 0x1400177ed
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1400177ed
lea r9, [rsp + 0x78]
mov rcx, rbx
lea r8, [rsp + 0x28]
lea rdx, [0x140021d40]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x140017824
mov r8, qword [rsp + 0x28]
movzx edx, word [r8 + 0xa]
mov dword [r13], edx
movzx edx, word [r8 + 8]
mov dword [r12], edx
movzx edx, word [r8 + 0xe]
mov dword [r14], edx
movzx edx, word [r8 + 0xc]
mov dword [r15], edx
mov ecx, edi
call fcn.1400093b0
mov rcx, rbx
call fcn.14001ce60
mov rbx, qword [rsp + 0x80]
mov eax, edi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001bf8c
Capabilities:
Get token privileges

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rcx, rcx
jne 0x14001bfbd
mov ecx, 0x80070057
mov ebx, ecx
call fcn.140009394
jmp 0x14001c06f
test rdi, rdi
je 0x14001bfac
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
lea r8, [rbp - 0x10]
mov edx, 8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
test eax, eax
jne 0x14001c001
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x14001bfef
mov ebx, 0x80004005
jmp 0x14001bffd
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
jmp 0x14001bfb3
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x40]
lea edx, [r9 + 0xe]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
test eax, eax
je 0x14001bfde
cmp dword [rbp + 0x30], 4
je 0x14001c033
mov ebx, 0x8000ffff
jmp 0x14001bffd
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r14d, r14d
lea r8, [rbp + 0x48]
cmp dword [rbp + 0x40], 3
lea edx, [r9 + 0x10]
sete r14b
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
test eax, eax
je 0x14001bfde
mov ecx, dword [rbp + 0x48]
mov dword [rsi], ecx
mov dword [rdi], r14d
mov ecx, ebx
call fcn.1400093b0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14001c085
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, ebx
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001c1a8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r9, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r10]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 4
jb 0x14001c1de
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rdi, qword [rsi + 8]
add r8, r8
mov rax, qword [rsi + 0x18]
cmp rdi, qword [rax + r8*8]
je 0x14001c269
mov rdi, qword [rax + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rax + r8*8]
je 0x14001c269
mov ecx, dword [r10]
mov rdi, qword [rdi + 8]
cmp ecx, dword [rdi + 0x10]
je 0x14001c237
cmp rdi, qword [rax + r8*8]
jne 0x14001c226
jmp 0x14001c269
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov rcx, rbx
call fcn.14001c764
mov rax, qword [rsp + 0x78]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x14001c397
mov qword [rsp + 0x28], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x14001c2a3
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14001c2c0
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14001c2ef
cmp rax, rdi
jne 0x14001c2cb
mov qword [rdx + r8*8], rbx
jmp 0x14001c2ef
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14001c2ef
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140028914]
test rax, rax
jns 0x14001c310
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14001c321
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14001c38c
cmp rdx, 0x200
jae 0x14001c339
shl rdx, 3
jmp 0x14001c34b
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14001c34b
add rdx, rdx
mov rcx, rsi
call fcn.140012e38
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14001c387
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14001c1a8
cmp rdi, qword [rsp + 0x20]
jne 0x14001c365
mov r9, qword [rsp + 0x78]
mov qword [r9], rbx
mov byte [r9 + 8], 1
mov rax, r9
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001c3f4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 4
jb 0x14001c411
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14001c469
cmp qword [rcx + rdx*8], r8
jne 0x14001c45e
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x14001c462
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14001c476
cmp qword [rcx + rdx*8], r8
jne 0x14001c476
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call fcn.14001c764
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001c7a4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400329b0], eax
call fcn.14001cfe8
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x1400329b0], 0
jne case.default.0x14001c7fa
mov ecx, 1
call fcn.14001cfe8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
cmp al, 0x2f
push rdx
jne 0x140051a0f
jbe 0x140051a0a
insb byte [rdi], dx
or eax, 0x2020200a
and byte [rdi + rbp], bh
push rax
jb 0x140051a1b
outsb dx, byte [rsi]
invalid
outsb dx, byte [rsi]
jae 0x140051a82
invalid
outsb dx, byte [rsi]
invalid
or ah, byte [rax]
and byte [rax], ah
and byte [rsp + rax*2], bh
imul esi, dword [rbx + 0x61], 0x776f6c6c
push rbx
je 0x140051a8d
jb 0x140051aa2
outsb dx, byte [rsi]
invalid
invalid
outsb dx, byte [esi]
invalid
insb byte [rdi], dx
insb byte [rdi], dx
outsd dx, dword [rsi]
ja 0x140051aef
invalid
invalid
Function at 0x1800024c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000251d
lea rbx, [0x18002f8e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002504
cmp r10, 2
jb 0x180002504
cmp byte [r9], r8b
jne 0x180002504
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800024e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000255f
lea rbx, [0x18002f8e0]
cmp r8b, 0x23
jne 0x180002543
cmp byte [r9], r8b
jne 0x180002543
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180002530
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800026a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800026ba
mov qword [r8], 0
lea rdx, [0x18002f6dc]
call fcn.180002570
mov rbx, rax
test rax, rax
jne 0x1800026da
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1800027b1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800027b1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800027b1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800027b1
cmp rdi, 0xffffffffffffffff
je 0x1800027b1
mov rax, qword [0x18003ab90]
test rax, rax
je 0x18000274e
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800027b1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18000279e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18003ab90]
test rax, rax
je 0x180002793
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800027ba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800027ac
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800027bc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret