joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e477
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
cmp dword [rcx + 0x18], 0
jne 0x14002e496
mov rax, qword [rcx + 0x10]
mov eax, dword [rax + 2]
add rax, qword [rcx + 0x40]
cmp qword [rcx + 0x58], rax
jae 0x14002e496
mov qword [rcx], rax
mov qword [rcx + 8], rax
ret
jmp fcn.14002e12c
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x10]
mov r9, qword [rcx]
movzx eax, byte [r8 + 1]
movzx r11d, word [r9 + 2]
lea r10d, [rax + rax]
mov rbx, rcx
mov edx, eax
mov ecx, r11d
cmp r11d, r10d
setb r10b
add ecx, 4
add edx, 4
add eax, 4
movzx r10d, r10b
add dword [rbx + 0x2c], r10d
mov dword [rbx + 0x20], r10d
mov word [r9 + 2], cx
mov byte [r8 + 1], dl
cmp eax, 0x7c
jbe 0x14002e613
mov rcx, rbx
call fcn.14002dd63
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14002e477

Function at 0x14002e540
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
movzx ecx, byte [rax + 1]
mov r8, qword [rbx]
mov edx, ecx
add ecx, 4
add word [r8 + 2], 4
movzx r8d, byte [rax - 5]
add edx, 4
mov byte [rax + 1], dl
cmp r8d, ecx
jae 0x14002e5b2
mov r11d, dword [rax - 6]
mov r10b, byte [rax]
mov byte [rax - 5], dl
sub rax, 6
mov r9w, word [rax + 8]
mov r8w, word [rax + 0xa]
mov dword [rax + 6], r11d
mov r11w, word [rax + 4]
mov byte [rax], r10b
mov word [rax + 0xa], r11w
mov word [rax + 2], r9w
mov word [rax + 4], r8w
mov qword [rbx + 0x10], rax
cmp ecx, 0x7c
jbe 0x14002e5b2
mov rcx, rbx
call fcn.14002dd63
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14002e477

Function at 0x14002e5bf
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
cmp dword [rcx + 0x18], 0
jne 0x14002e496
mov rax, qword [rcx + 0x10]
mov eax, dword [rax + 2]
add rax, qword [rcx + 0x40]
cmp qword [rcx + 0x58], rax
jae 0x14002e496
mov qword [rcx], rax
mov qword [rcx + 8], rax
ret
jmp fcn.14002e12c
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x10]
mov r9, qword [rcx]
movzx eax, byte [r8 + 1]
movzx r11d, word [r9 + 2]
lea r10d, [rax + rax]
mov rbx, rcx
mov edx, eax
mov ecx, r11d
cmp r11d, r10d
setb r10b
add ecx, 4
add edx, 4
add eax, 4
movzx r10d, r10b
add dword [rbx + 0x2c], r10d
mov dword [rbx + 0x20], r10d
mov word [r9 + 2], cx
mov byte [r8 + 1], dl
cmp eax, 0x7c
jbe 0x14002e613
mov rcx, rbx
call fcn.14002dd63
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14002e477

Function at 0x14002e620
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov r8d, dword [rbx + 0x30]
movzx edx, byte [rcx + 1]
mov dword [rbx + 0x2c], r8d
mov r8, qword [rbx]
mov eax, edx
add eax, 4
add word [r8 + 2], 4
mov byte [rcx + 1], al
lea eax, [rdx + 4]
cmp eax, 0x7c
jbe 0x14002e659
mov rcx, rbx
call fcn.14002dd63
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14002e12c

Function at 0x14002f5a0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
lea rax, [rsp + 0x3c]
mov rbx, rcx
mov r9, r8
and dword [rsp + 0x20], 0
mov r8, rdx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__beginthreadex]
xchg rdx, rax
xor eax, eax
mov qword [rbx], rdx
test rdx, rdx
jne 0x14002f5d8
call fcn.14002f510
add rsp, 0x40
pop rbx
ret
Function at 0x140035270
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14006f6a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14006f680]
test rbx, rbx
je 0x1400352bc
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x1400352b6
test eax, eax
jne 0x1400352b6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x14003528e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140035470
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140035493
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140035493
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140035494
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x1400354ce
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x1400354c5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400354d0
inc r8d
add rax, 0x28
jmp 0x1400354ac
xor eax, eax
ret

Function at 0x140035541
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140056a80]
mov r8, rcx
mov rcx, r9
call fcn.140035470
test eax, eax
je 0x14003556d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140035494
xor eax, eax
add rsp, 0x28
ret

Function at 0x140039eee
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140051108], eax
inc eax
jne 0x140039f08
call sub.msvcrt.dll_abort
nop
add rsp, 0x28
ret

Function at 0x14003a0a5
Capabilities:
Print debug messages

Disassembly:
push rdi
push rbx
sub rsp, 0x68
mov rbx, rcx
call fcn.14003c76a
dec eax
jne 0x14003a0f5
xor eax, eax
lea rdi, [rsp + 0x2b]
mov ecx, 0x35
rep stosb byte [rdi], al
lea rbx, [rsp + 0x2b]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r8, str.Error_cleaning_up_spin_keys_for_thread__lu._n
mov edx, 0x35
mov rcx, rbx
mov r9d, eax
call fcn.14003a07c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov qword [rbx], 0xffffffffffffffff
add rsp, 0x68
pop rbx
pop rdi
ret
Function at 0x14003a19a
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
call fcn.14003a103
mov ecx, dword [0x140051108]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14003a298
call fcn.140039fd0
mov rbx, rax
test rax, rax
je 0x14003a298
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
mov dword [rbx + 0x70], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14003a0a5
xor edx, edx
xor ecx, ecx
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rbx + 0xb8], edx
mov qword [rbx + 0x28], rcx
call rdi
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rdi
xor r8d, r8d
mov dword [rsp + 0x30], 2
mov rdx, rsi
mov dword [rsp + 0x28], r8d
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], r8d
mov r8, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x14003a261
call sub.msvcrt.dll_abort
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x140051108]
mov rdx, rbx
mov dword [rbx + 0xc0], eax
xor eax, eax
mov dword [rbx + 0xbc], eax
mov al, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14003a25c
mov rax, rbx
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret

Function at 0x14003ae4b
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
call fcn.14003a19a
mov qword [rax + 8], rsi
mov rcx, qword [rax + 0x1d8]
mov rbx, rax
call fcn.14003a8f1
test byte [rbx + 0x40], 0x30
jne 0x14003ae84
lea rcx, [rbx + 0xd0]
mov edx, 1
call qword [sym.imp.msvcrt.dll_longjmp]
mov ecx, dword [0x140051108]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14003af0f
cmp qword [rax + 0x28], 0
mov rcx, qword [rax + 0x30]
jne 0x14003aebf
mov dword [rax], 0xdeadbeef
test rcx, rcx
je 0x14003aeb4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov esi, dword [rbx + 8]
mov qword [rbx + 0x30], rcx
jmp 0x14003aef9
mov dword [rax + 0xbc], 1
mov esi, dword [rax + 8]
test rcx, rcx
je 0x14003aed7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov qword [rbx + 0x30], rdx
test byte [rbx + 0x44], 4
je 0x14003af0f
mov dword [rbx], 0xdeadbeef
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rbx + 0x28], rax
mov rcx, rbx
call fcn.14003a2a3
mov ecx, dword [0x140051108]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
call qword [sym.imp.msvcrt.dll__endthreadex]
nop
Function at 0x401550
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
call fcn.00401630
lea rcx, str.wget_https:__get.videolan.org_vlc_3.0.20_win32_vlc_3.0.20_win32.exe__O_123000_vlc.exe
call sub.msvcrt.dll_system
lea rcx, str.start__WAIT_123000_vlc.exe__S
call sub.msvcrt.dll_system
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x401aa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00407624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x401c28
mov rax, qword [0x00407628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x401aec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x401b75
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x401ad0
mov rcx, rbx
call fcn.00402740
test rax, rax
mov r12, rax
je 0x401c5d
mov rax, qword [0x00407628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.00402870
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00407628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401c40
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401b6e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x401bd0
add dword [0x00407624], 1
cmp edi, 8
jae 0x401ba3
test dil, 4
jne 0x401c14
test edi, edi
je 0x401b98
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x401c2f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x401b98
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x401bbc
jmp 0x401b98
add rsi, qword [0x00407628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401b6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00402c20
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x401b98
xor esi, esi
jmp 0x401af7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x401b98
mov rax, qword [0x00407628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.00402c20
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00402c20
nop
nop dword [rax]
Function at 0x4023b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004078e0]
test rbx, rbx
je 0x402404
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4023fb
test rsi, rsi
je 0x4023fb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4023e0
lea rcx, [0x00407900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402740
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004043c0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4027ad
mov rcx, r8
call fcn.00402620
test eax, eax
je 0x4027ad
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4027ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4027a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4027af
add rax, 0x28
cmp rax, r9
jne 0x402790
xor eax, eax
add rsp, 0x28
ret

Function at 0x402c20
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00402af0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.00402af0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x18000c7b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x13c0
call fcn.180067c10
sub rsp, rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call fcn.180065f94
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov edx, 1
nop dword [rax]
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
inc rdx
cmp rdx, 0x270
jb 0x18000c800
mov dword [rsp + 0x30], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x13d8], rax
mov edi, 0x20
lea rsi, [0x180126060]
nop dword [rax]
mov edx, 0x1a
lea rcx, [rsp + 0x13d8]
call fcn.180033f60
movzx r9d, byte [rax + rsi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18000c8a3
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x18000c898
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18000c8b3
xor r8d, r8d
mov edx, 1
mov rcx, rbx
call fcn.18001b350
sub rdi, 1
jne 0x18000c860
mov rax, rbx
lea r11, [rsp + 0x13c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18000e760
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0x98
xor ebx, ebx
mov dword [rbp - 0x11], 0x270
xorps xmm0, xmm0
mov dword [rbp + 0x67], ebx
xorps xmm1, xmm1
mov qword [rbp + 0x6f], rbx
lea rax, [0x180009f00]
mov qword [rbp + 0x77], rbx
add rax, 0x270
mov qword [rbp + 0x7f], rbx
mov qword [rbp - 0x19], rax
mov ecx, 0x10
xor eax, eax
movdqa xmmword [rbp + 7], xmm0
mov word [rbp - 9], ax
mov byte [rbp - 7], al
movdqa xmmword [rbp + 0x17], xmm1
call fcn.18006707c
movaps xmm0, xmmword [rbp - 0x19]
lea rcx, [rbp - 1]
lea r9, [rbp + 0x77]
movdqa xmmword [rbp - 0x19], xmm0
lea r8, [rbp + 0x7f]
mov qword [rax + 8], rbx
lea rdx, [rbp - 0x19]
mov qword [rbp - 1], rax
mov qword [rax], rcx
xor eax, eax
mov qword [rbp + 0x35], rbx
lea rcx, [rbp - 9]
mov qword [rbp + 0x3d], rbx
mov word [rbp + 0x32], ax
mov byte [rbp + 0x34], al
mov word [rbp + 0x35], ax
mov byte [rbp + 0x37], al
mov word [rbp + 0x38], ax
mov byte [rbp + 0x3a], al
mov word [rbp + 0x3b], ax
mov byte [rbp + 0x3d], al
mov word [rbp + 0x3e], ax
mov byte [rbp + 0x40], al
mov word [rbp + 0x41], ax
mov byte [rbp + 0x43], al
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov word [rbp + 0x2f], bx
mov dword [rbp - 5], ebx
mov dword [rbp + 0x2b], ebx
call fcn.18001c960
lea rcx, [rbp - 1]
call fcn.180024330
mov rcx, qword [rbp - 1]
mov edx, 0x10
mov qword [rbp - 1], rbx
call fcn.180066f90
mov r9d, 0xffffe1c6
mov byte [0x1800c4901], 1
inc r9d
mov eax, 0x55555556
imul r9d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*2]
cmp r9d, ecx
jne 0x18000e860
mov ecx, 0x4e4
sub ecx, r9d
sub r9d, ecx
test cl, 1
je 0x18000e897
nop word [rax + rax]
inc ecx
test cl, 1
jne 0x18000e890
mov r8d, 0xfffffd40
sub r8d, r9d
test cl, 1
je 0x18000e8ac
inc ecx
test cl, 1
jne 0x18000e8a5
mov eax, 0x55555556
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea edx, [rdx + rdx*2]
cmp r8d, edx
je 0x18000e8ea
nop dword [rax]
nop word [rax + rax]
inc r8d
mov eax, 0x55555556
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea edx, [rdx + rdx*2]
cmp r8d, edx
jne 0x18000e8d0
neg ecx
lea eax, [rcx - 0x5959]
cmp eax, 0xffff8389
jne 0x18000e913
cmp ecx, 0xffffdce2
jne 0x18000e913
cmp r9d, 0xffffbeaa
jne 0x18000e913
cmp r8d, 0x3e97
je 0x18000e91f
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x98
pop rbx
pop rbp
ret
Function at 0x180024430
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800245bf
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180016ea0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180024584
mov qword [rsp + 0x38], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x180024502
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180024573
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18002453b
mov r10, qword [rdx]
cmp r10, rax
je 0x180024535
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 0x180024573
cmp r8, rdx
je 0x18002454f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x180024599
cmp r8, rdx
jne 0x180024540
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
jne 0x1800244d0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x180024573
lea rcx, [0x180127530]
call fcn.180065774
int3
Function at 0x180034150
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1800341b1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180034170
mov ecx, dword [r9]
jmp 0x18003429b
cmp ecx, 0x4e0
jb 0x18003429b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800341d0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180034220
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x180065460
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, [0x180119580]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18006549a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18006549f
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 0x1800654e8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180119480]
cmp byte [rcx + rax], 0
je 0x1800654e8
dec r8
sub rdx, 1
jne 0x1800654ce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1800773d0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18007743f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18007743f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18007743f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18007743f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18007743f
cmp dword [rcx + 0x84], 0xe
jbe 0x18007743f
cmp dword [rcx + 0xf8], 0
je 0x18007743f
mov ecx, ebx
call fcn.1800774f0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800772cc
nop
cmp dword [rbp + 0x20], 0
je 0x18007748d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180077498
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800773d0

Function at 0x180078edc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180078ef2
mov al, 1
jmp 0x180078f52
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180078f03
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180078f50
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800858bc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180078f50
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180078f50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180078f50
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180078f52
xor al, al
add rsp, 0x20
pop rbx
ret