joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140129db0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140129df2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140129e39
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140129e92
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140129e50
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140129ed3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140140ada]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140140adb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140129ea0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14012b030
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400d2514
xor r8d, r8d
xor edx, edx
jmp 0x1400d21f8

Function at 0x140001d3e
Capabilities:
Print debug messages

Disassembly:
jmp 0x14011a940
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne sil
test eax, eax
je 0x14011a98c
test rbx, rbx
je 0x14011a97b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140001f91
cmp eax, 1
je 0x14011a98c
mov eax, 4
jmp 0x14011a9cf
call fcn.140006023
cmp eax, 2
jne 0x14011a9c8
call fcn.14000202c
test al, al
je 0x14011a9c8
call fcn.140004417
test al, al
jne 0x14011a9be
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.140006082
jmp 0x14011a9cf
call fcn.140005df8
mov rcx, rax
jmp 0x14011a9ae
movzx eax, sil
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002e8c
Capabilities:
Get geographical location

Disassembly:
jmp 0x14009ab1c
sub rsp, 0x28
and dword [rsp + 0x30], 0
call fcn.140004255
mov r9d, 2
lea r8, [rsp + 0x30]
mov rcx, qword [rax + 0x28]
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14009ab69
sub ecx, 1
je 0x14009ab62
cmp ecx, 1
je 0x14009ab5b
xor eax, eax
jmp 0x14009ab6e
mov eax, 3
jmp 0x14009ab6e
mov eax, 1
jmp 0x14009ab6e
mov eax, 2
add rsp, 0x28
ret

Function at 0x1400030e9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140135424
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140175898]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x140187638]
xor r11d, r11d
lea rdi, [0x140149ba7]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x140135494
mov rax, 0xfffffffffffffffe
jmp 0x1401355e1
cmp word [r10 + 6], r11w
jne 0x140135503
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1401354be
test r14, r14
je 0x1401354af
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1401355e1
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1401354cc
mov r8b, 2
jmp 0x1401354ea
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1401354da
mov r8b, 3
jmp 0x1401354ea
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1401355d6
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x14013552c
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1401355d6
cmp bl, bpl
jb 0x1401355d6
cmp bl, r8b
jae 0x1401355d6
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x140135559
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1401355d6
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x14013553b
cmp r9, rbp
jae 0x140135585
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140135488
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1401355d6
cmp edx, 0x110000
jae 0x1401355d6
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1401355d6
test r14, r14
je 0x1401355c4
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.14000607d
jmp 0x1401355e1
mov rdx, rsi
mov rcx, r10
call fcn.140006d84
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400039d1
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003175
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140055ea8
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140055f35
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140055f35
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140055f35
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140055f1c
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140055f16
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140055f1e
add rdx, 0x28
jmp 0x140055efb
xor edx, edx
test rdx, rdx
jne 0x140055f27
xor al, al
jmp 0x140055f3b
cmp dword [rdx + 0x24], 0
jge 0x140055f31
xor al, al
jmp 0x140055f3b
mov al, 1
jmp 0x140055f3b
xor al, al
jmp 0x140055f3b
add rsp, 0x18
ret

Function at 0x1400036d4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400b2af0
mov rax, rcx
neg rcx
test rax, 7
je 0x1400b2b0d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400b2b68
test al, 7
jne 0x1400b2b00
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400b2b21
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400b2b92
test dh, dh
je 0x1400b2b8c
shr rdx, 0x10
test dl, dl
je 0x1400b2b86
test dh, dh
je 0x1400b2b80
shr rdx, 0x10
test dl, dl
je 0x1400b2b7a
test dh, dh
je 0x1400b2b74
shr edx, 0x10
test dl, dl
je 0x1400b2b6e
test dh, dh
jne 0x1400b2b21
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x14000371a
Capabilities:
Query environment variable

Disassembly:
jmp 0x140121790
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140121817
mov rsi, rbx
cmp word [rax], bp
je 0x1401217d6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401217c0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401217bc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000105f
mov rdi, rax
test rax, rax
je 0x140121804
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400039ef
mov rbp, rdi
xor ecx, ecx
call fcn.14000128a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140003a12
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x140091fcc
jmp 0x14009940c
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x140091ffc
movzx eax, byte [r9 + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x140091fde
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x140002595
Function at 0x140003c47
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400aefd8
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14014ee28]
mov ecx, 2
lea r8, [0x14014ee20]
lea rdx, str.FlsGetValue
call fcn.1400aeaa8
mov ecx, ebx
test rax, rax
je 0x1400af012
add rsp, 0x20
pop rbx
jmp qword [0x140197020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140003ed1
Capabilities:
Query environment variable

Disassembly:
jmp 0x14012163c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14012166c
xor eax, eax
jmp 0x14012172f
mov rbp, rbx
cmp word [rax], si
je 0x140121691
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140121678
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140121674
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000512d
movsxd r14, eax
test eax, eax
jne 0x1401216cf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140121665
mov rcx, r14
call fcn.14000105f
mov rdi, rax
test rax, rax
jne 0x1401216e8
xor ecx, ecx
call fcn.14000128a
jmp 0x1401216c4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000512d
test eax, eax
jne 0x140121719
mov rcx, rdi
call fcn.14000128a
jmp 0x140121723
xor ecx, ecx
call fcn.14000128a
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140003ee5
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400aef28
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14014ede8]
xor ecx, ecx
lea r8, [0x14014ede0]
lea rdx, str.FlsAlloc
call fcn.1400aeaa8
test rax, rax
je 0x1400aef61
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140197020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003fb2
Capabilities:
Get geographical location

Disassembly:
jmp 0x140113710
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x140154a68]
mov rbp, rcx
lea r8, [0x140154a60]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.140112c2c
test rax, rax
je 0x140113770
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140197030]
jmp 0x14011378a
xor edx, edx
mov rcx, rbp
call fcn.1400031ed
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140003fc1
Capabilities:
Terminate process

Disassembly:
jmp 0x140138200
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140004282
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400d24ac
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400d21f8

Function at 0x140004a7a
Capabilities:
Clear file content

Disassembly:
jmp 0x140135e18
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
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140001e74
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140001e74
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140135f68
cmp rax, 0xffffffffffffffff
je 0x140135f68
xor edi, edi
test rbp, rbp
jle 0x140135f13
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140005e2f
mov rbx, rax
test rax, rax
jne 0x140135ea0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140135f09
mov edx, 0x8000
mov ecx, r14d
call fcn.140004db8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400058f3
cmp eax, 0xffffffff
je 0x140135ee9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140135eb0
mov edx, r15d
mov ecx, r14d
call fcn.140004db8
jmp 0x140135f09
cmp byte [rsi + 0x38], dil
je 0x140135f00
cmp dword [rsi + 0x34], 5
jne 0x140135f00
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140135f09
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14000128a
jmp 0x140135f7c
jns 0x140135f7c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140001e74
cmp rax, 0xffffffffffffffff
jne 0x140135f34
cmp byte [rsi + 0x30], dil
je 0x140135f7c
mov edi, dword [rsi + 0x2c]
jmp 0x140135f7c
mov ecx, r14d
call fcn.140006a64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140135f7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140135f7c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140135f75
mov eax, dword [rsi + 0x2c]
jmp 0x140135f7a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140001e74
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140004b2e
Capabilities:
Parse pe header

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

Function at 0x140004c37
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14006c5a4
jmp 0x14008c018
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14006c5d6
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14006c5b9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000118b

Function at 0x1400053fd
Capabilities:
Terminate process

Disassembly:
jmp 0x1400afc54
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400afc6e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400060a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1400062ad
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400af030
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14014ee48]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14014ee40]
call fcn.1400aeaa8
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400af070
call qword [0x140197020]
jmp 0x1400af076
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400063ca
Capabilities:
Set environment variable

Disassembly:
jmp 0x14013016c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140003076
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401301f6
cmp byte [rbp - 0x21], r15b
je 0x1401301f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14013022c
call fcn.140006aff
test eax, eax
jne 0x140130218
cmp byte [rbp - 0x21], r15b
je 0x140130210
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14013022c
cmp byte [rbp - 0x21], r15b
je 0x140130229
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140006ed8
test eax, eax
jne 0x1401302cc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140003076
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14013026b
cmp byte [rbp - 0x21], r15b
je 0x1401302a0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401302a0
call fcn.140006aff
test eax, eax
jne 0x14013028c
cmp byte [rbp - 0x21], r15b
je 0x140130285
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401302a0
cmp byte [rbp - 0x21], r15b
je 0x14013029d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140006ed8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401302cc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401302cf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401302dd
mov rcx, rdi
call fcn.14000128a
cmp byte [rbp + 0x3f], r15b
je 0x1401302ec
mov rcx, qword [rbp + 0x27]
call fcn.14000128a
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140006587
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400d249c
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 0x1400d2267
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d2267
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d2267
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d2267
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d2267
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d2267
cmp dword [rcx + 0xf8], 0
je 0x1400d2267
mov ecx, ebx
call fcn.1400d23e0
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.1400d1f58
nop
cmp dword [rbp + 0x20], 0
je 0x1400d22b5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400d22f0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400d21f8

Function at 0x140006659
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14006c560
jmp 0x14008c000
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14006c592
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14006c575
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400046a6
Function at 0x14002d260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x4848], 0
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x484c], 0xffffffff
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x4828], 0xff
mov rcx, qword [rsp + 0x28]
call fcn.1400342c0
movzx eax, al
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xd8
je 0x14002d2cb
lea rcx, str.no_SOI
call fcn.14001a4b0
mov dword [rsp + 0x34], eax
jmp 0x14002d48f
cmp dword [rsp + 0x30], 1
jne 0x14002d2e3
mov dword [rsp + 0x34], 1
jmp 0x14002d48f
mov rcx, qword [rsp + 0x28]
call fcn.1400342c0
movzx eax, al
mov dword [rsp + 0x24], eax
mov al, 1
cmp dword [rsp + 0x24], 0xc0
mov byte [rsp + 0x23], al
je 0x14002d32b
mov al, 1
cmp dword [rsp + 0x24], 0xc1
mov byte [rsp + 0x23], al
je 0x14002d32b
cmp dword [rsp + 0x24], 0xc2
sete al
mov byte [rsp + 0x23], al
mov al, byte [rsp + 0x23]
xor al, 0xff
test al, 1
jne 0x14002d33e
jmp 0x14002d448
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
call fcn.140034490
cmp eax, 0
jne 0x14002d362
mov dword [rsp + 0x34], 0
jmp 0x14002d48f
mov rcx, qword [rsp + 0x28]
call fcn.1400342c0
movzx eax, al
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xff
jne 0x14002d443
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x10], 0
je 0x14002d3e9
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x28]
call rax
cmp eax, 0
jne 0x14002d3c8
mov dword [rsp + 0x44], 0
jmp 0x14002d40d
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x30], 0
jne 0x14002d3e4
mov dword [rsp + 0x44], 1
jmp 0x14002d40d
jmp 0x14002d3e9
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0xc0]
mov rcx, qword [rsp + 0x38]
cmp rax, qword [rcx + 0xc8]
setae al
and al, 1
movzx eax, al
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14002d42d
lea rcx, str.no_SOF
call fcn.14001a4b0
mov dword [rsp + 0x34], eax
jmp 0x14002d48f
mov rcx, qword [rsp + 0x28]
call fcn.1400342c0
movzx eax, al
mov dword [rsp + 0x24], eax
jmp 0x14002d373
jmp 0x14002d2f4
cmp dword [rsp + 0x24], 0xc2
sete al
and al, 1
movzx ecx, al
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x4830], ecx
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.1400352a0
cmp eax, 0
jne 0x14002d487
mov dword [rsp + 0x34], 0
jmp 0x14002d48f
mov dword [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret