joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019d3c
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x200
call fcn.14001ffd0
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100
lea rdx, [rsp + 0x30]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
xor ebx, ebx
test eax, eax
je 0x140019da9
lea rdx, str..google.com
lea rcx, [rsp + 0x30]
call fcn.140006944
test al, al
je 0x140019da9
mov al, 1
jmp 0x140019def
lea r8, [rsp + 0x28]
mov qword [rsp + 0x28], rbx
mov edx, 0x64
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov rdi, qword [rsp + 0x28]
test eax, eax
jne 0x140019de4
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140019de4
lea rdx, str.google
call fcn.14002e494
test eax, eax
jne 0x140019de4
mov bl, 1
mov rcx, rdi
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001f3c0
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x14001a960
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x30], 0
mov r14b, cl
xorps xmm0, xmm0
lea rcx, [rbp - 0x30]
movdqu xmmword [rbp - 0x28], xmm0
call fcn.14001a22c
test eax, eax
js 0x14001ab00
mov rax, qword [rbp - 0x28]
cmp qword [rbp - 0x30], rax
je 0x14001ab00
call fcn.140019930
lea rax, str.HKCUSoftwareGoogleUpdate_
test r14b, r14b
lea rdx, str.HKLMSoftwareGoogleUpdate_
cmove rdx, rax
lea rcx, [rbp + 0x38]
call fcn.1400052f4
lea rdx, [0x14004b568]
lea rcx, [rbp + 0x40]
call fcn.1400052f4
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x48]
call fcn.140004c90
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140001838
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001aa10
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001aa2e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x38]
mov rcx, rbx
call fcn.14000a288
test al, al
jne 0x14001aa4f
mov dl, 1
mov cl, r14b
call fcn.14001ab24
mov edi, eax
jmp 0x14001aae0
and qword [rbp - 0x10], 0
lea rax, [0x140048bd0]
mov r8d, 1
mov qword [rbp - 0x18], rax
mov rdx, rbx
mov dword [rbp - 8], 0x200
lea rcx, [rbp - 0x18]
call fcn.140009aec
mov edi, eax
test eax, eax
js 0x14001aacc
mov rdi, qword [rbp - 0x28]
xor esi, esi
mov r15, qword [rbp - 0x30]
sub rdi, r15
sar rdi, 3
test rdi, rdi
je 0x14001aac0
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rdx, qword [r15 + rsi*8]
xor r8d, r8d
mov rcx, qword [rbp - 0x10]
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14001aafc
inc rsi
cmp rsi, rdi
jb 0x14001aa94
xor edx, edx
mov cl, r14b
call fcn.14001ab24
mov edi, eax
lea rax, [0x140048bd0]
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], rax
call fcn.1400098a4
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ab05
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14001ab05
xor edi, edi
jmp 0x14001aacc
mov edi, 1
lea rcx, [rbp - 0x30]
call fcn.1400065a8
mov rbx, qword [rsp + 0x90]
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001ab24
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x20], 0
lea rax, [0x140049900]
mov sil, dl
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x28]
mov dil, cl
call fcn.14001a640
mov rax, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call qword [rax + 8]
and qword [rbp - 0x10], 0
lea r12, [0x140048bd0]
mov qword [rbp - 0x18], r12
mov dword [rbp - 8], 0x200
call fcn.140019930
lea rax, str.HKCUSoftwareGoogleUpdate_
test dil, dil
lea rdx, str.HKLMSoftwareGoogleUpdate_
mov r8d, 0xf003f
cmove rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140009aec
mov rcx, qword [rbp - 0x10]
lea rdx, str.old_uid
and qword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x14004b568]
test eax, eax
jne 0x14001abd9
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x14001ace1
and qword [rbp + 0x40], 0
lea rax, [rbp - 0x30]
and qword [rbp - 0x30], 0
lea r9, [rbp + 0x40]
and dword [rbp + 0x30], 0
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x20], rax
call fcn.140009d68
test eax, eax
jns 0x14001ac0b
mov rcx, qword [rbp + 0x40]
jmp 0x14001ac45
mov eax, dword [rbp + 0x30]
lea rdx, str.old_uid
mov rbx, qword [rbp + 0x40]
lea rcx, [rbp - 0x18]
mov r9, qword [rbp - 0x30]
mov r8, rbx
mov dword [rsp + 0x20], eax
call fcn.14000a240
test eax, eax
js 0x14001ac42
mov rcx, qword [rbp - 0x10]
lea rdx, [0x14004b568]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, rbx
mov edx, 1
call fcn.14001f66c
test sil, sil
je 0x14001ace1
call fcn.1400014bc
mov rcx, rax
test rax, rax
je 0x14001ad19
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea r8, [rbp + 0x48]
lea rdx, str.old_uid
mov qword [rbp + 0x48], rax
lea rcx, [rbp - 0x18]
call fcn.140009f54
lea rcx, str.__legacy
call fcn.1400337b4
mov r8d, eax
lea rdx, str.__legacy
lea rcx, [rbp + 0x48]
call fcn.140005558
mov rbx, qword [rbp + 0x48]
lea rdx, str.old_uid
mov r8, rbx
lea rcx, [rbp - 0x18]
mov r9d, 1
call fcn.14000a1d0
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ace1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov cl, dil
call fcn.14001ad24
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], r12
mov ebx, eax
call fcn.1400098a4
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call qword [rdx + 0x10]
lea rcx, [rbp - 0x28]
call fcn.1400096f4
mov eax, ebx
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001814
int3
Function at 0x14001afe4
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov bl, cl
test cl, cl
je 0x14001b009
call fcn.14000b2a8
test al, al
je 0x14001b0c6
and qword [rbp - 0x28], 0
lea rax, [0x140049900]
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], rax
mov cl, bl
call fcn.14001a640
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call qword [rax + 8]
and qword [rbp - 0x18], 0
lea rdi, [0x140048bd0]
mov qword [rbp - 0x20], rdi
mov dword [rbp - 0x10], 0x200
call fcn.140019930
lea rax, str.HKCUSoftwareGoogleUpdate_
test bl, bl
lea rdx, str.HKLMSoftwareGoogleUpdate_
mov r8d, 0xf003f
cmove rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140009aec
test eax, eax
js 0x14001b0a5
mov rcx, qword [rbp - 0x18]
lea rdx, [0x14004b568]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x18]
lea rdx, str.old_uid
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x18]
lea rdx, [0x14004b568]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], rdi
call fcn.1400098a4
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call qword [rax + 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400096f4
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x14001b2dc
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
test dl, dl
je 0x14001b2f7
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14001b2fd
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, 0x409
lea r10, [0x1400475c0]
movzx edx, ax
mov r8, rdi
mov eax, ecx
cmp dx, ax
je 0x14001b32a
inc r8
imul rax, r8, 0x1a
movzx eax, word [rax + r10]
test ax, ax
jne 0x14001b311
movzx edx, cx
mov r9, rdi
mov r8d, edi
cmp cx, dx
je 0x14001b352
inc r9
inc r8d
imul rax, r9, 0x1a
movzx ecx, word [rax + r10]
test cx, cx
jne 0x14001b330
lea rdx, [0x140045b28]
jmp 0x14001b363
movsxd rax, r8d
imul rdx, rax, 0x1a
lea rax, [0x1400475c2]
add rdx, rax
mov rcx, rbx
call fcn.1400052f4
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001cd84
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
mov rsi, rdx
lea rcx, [0x140051cb8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r14, qword [rsi + 0x28]
lea rcx, [0x140051cb8]
and qword [rsi + 0x28], 0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x14001ce8d
lea rdi, [rbx + 0x38]
cmp qword [rdi], 0
jne 0x14001cde9
mov rdx, qword [rbx + 0x20]
lea r8, str.Counts
mov rcx, rdi
call fcn.14001cb0c
test eax, eax
jne 0x14001ce8d
mov rdx, qword [rsi + 8]
lea rcx, [rbp - 0x10]
call fcn.140006f08
mov rbx, qword [rbp - 0x10]
lea rax, [rbp + 0x38]
mov rcx, qword [rdi]
lea r9, [rbp + 0x40]
and qword [rbp + 0x48], 0
mov esi, 8
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x48]
mov dword [rbp + 0x38], esi
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001ce3f
cmp dword [rbp + 0x40], 3
jne 0x14001ce3f
test eax, eax
jne 0x14001ce3f
cmp dword [rbp + 0x38], esi
je 0x14001ce4d
mov r8, rsi
lea rcx, [rbp + 0x48]
xor edx, edx
call fcn.14001ffd0
mov rcx, qword [rdi]
lea rax, [rbp + 0x48]
add qword [rbp + 0x48], r14
mov r9d, 3
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ce8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14001d034
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
lea rcx, [0x140051cb8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [rsi + 0x28]
lea rcx, [0x140051cb8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x58], rbx
test rbx, rbx
je 0x14001d0e6
lea rbx, [rdi + 0x68]
cmp qword [rbx], 0
jne 0x14001d092
mov rdx, qword [rdi + 0x20]
lea r8, str.Integers
mov rcx, rbx
call fcn.14001cb0c
test eax, eax
jne 0x14001d0e6
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x60]
call fcn.140006f08
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rcx
mov r9d, 3
mov rcx, qword [rbx]
xor r8d, r8d
mov rdx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001d0e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14001d0f8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
lea rcx, [0x140051cb8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [rsi + 0x28]
lea rcx, [0x140051cb8]
or dword [rsi + 0x28], 0xffffffff
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x58], ebx
cmp ebx, 0xffffffff
je 0x14001d1af
lea rbx, [rdi + 0x80]
cmp qword [rbx], 0
jne 0x14001d15b
mov rdx, qword [rdi + 0x20]
lea r8, str.Booleans
mov rcx, rbx
call fcn.14001cb0c
test eax, eax
jne 0x14001d1af
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x60]
call fcn.140006f08
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
mov r9d, 3
mov rcx, qword [rbx]
xor r8d, r8d
mov rdx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001d1af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14001e898
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov ebx, dword [rcx + 0x38]
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rdi + 0x28]
mov dword [rbp - 0x6c], eax
lea r9, [rsp + 0x40]
lea rax, [rdi + 0x5c]
mov dword [rbp - 0x68], ebx
xor ebx, ebx
mov qword [rbp - 0x60], rax
lea rax, [rdi + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x70]
lea rax, [rdi + 0x68]
mov dword [rbp - 0x70], 1
mov qword [rbp - 0x50], rax
lea r8d, [rbx + 0x50]
lea rax, [rbp + 0x40]
mov qword [rbp - 0x38], rbx
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rsp + 0x28], rax
mov rcx, rsi
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x50
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
movups xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], rbx
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rbp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x14001e9ea
cmp dword [rsp + 0x40], 2
jne 0x14001e9ea
cmp dword [rsp + 0x44], ebx
je 0x14001e9ea
cmp qword [rsp + 0x78], rbx
je 0x14001e9ea
cmp qword [rbp - 0x80], rbx
je 0x14001e9ea
cmp qword [rbp - 0x78], rbx
je 0x14001e9ea
xorps xmm0, xmm0
mov qword [rbp - 0x1c], rbx
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm0
xor eax, eax
movaps xmmword [rbp], xmm1
lea r9, [rbp + 0x40]
mov qword [rbp + 0x10], rax
lea r8d, [rbx + 0x50]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp - 0x20]
mov qword [rbp + 0x18], rbx
mov rcx, rsi
mov dword [rbp - 0x20], 3
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001e9ea
mov rcx, qword [rsp + 0x78]
mov al, 1
mov qword [rdi + 0x40], rcx
mov rcx, qword [rbp - 0x80]
mov qword [rdi + 0x48], rcx
mov rcx, qword [rbp - 0x78]
mov qword [rdi + 0x50], rcx
mov ecx, dword [rsp + 0x44]
mov dword [rdi + 0x58], ecx
jmp 0x14001e9ec
xor al, al
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001eae8
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r10d, dword [rcx + 8]
mov r11, r8
add qword [rcx + 8], r8
and r10d, 0x3f
mov rbx, rdx
mov r9, rcx
test r8, r8
je 0x14001ec7e
mov al, byte [rbx]
dec r11
mov byte [r10 + r9 + 0x10], al
inc rbx
inc r10d
cmp r10d, 0x40
jne 0x14001ec75
lea rdx, [r9 + 0x10]
xor r8d, r8d
movzx ecx, byte [rdx]
movzx eax, byte [rdx + 1]
lea rdx, [rdx + 4]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [rdx - 2]
shl eax, 8
or ecx, eax
movzx eax, byte [rdx - 1]
or ecx, eax
mov dword [rsp + r8*4], ecx
inc r8
cmp r8, 0x10
jl 0x14001eb58
cmp r8, 0x50
jge 0x14001ebb4
mov edx, 0x50
lea rcx, [rsp + r8*4 - 0x38]
sub rdx, r8
mov eax, dword [rcx + 0x2c]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [rcx + 0x34], eax
sub rdx, 1
jne 0x14001eb9a
mov r15d, dword [r9 + 0x50]
xor r10d, r10d
mov r12d, dword [r9 + 0x54]
mov r14d, r15d
mov r13d, dword [r9 + 0x58]
mov esi, r12d
mov edi, dword [r9 + 0x5c]
mov r8d, r13d
mov ebp, dword [r9 + 0x60]
mov edx, r14d
rol edx, 5
add edx, dword [rsp + r10*4]
add edx, ebp
cmp r10, 0x14
jge 0x14001ebf7
mov ecx, edi
xor ecx, r8d
and ecx, esi
xor ecx, edi
add ecx, 0x5a827999
jmp 0x14001ec35
cmp r10, 0x28
jge 0x14001ec0c
mov ecx, edi
xor ecx, r8d
xor ecx, esi
add ecx, 0x6ed9eba1
jmp 0x14001ec35
cmp r10, 0x3c
jge 0x14001ec28
mov ecx, r8d
mov eax, r8d
or ecx, esi
and eax, esi
and ecx, edi
or ecx, eax
add ecx, 0x8f1bbcdc
jmp 0x14001ec35
mov ecx, edi
xor ecx, r8d
xor ecx, esi
add ecx, 0xca62c1d6
add ecx, edx
mov ebp, edi
mov edi, r8d
inc r10
mov r8d, esi
mov esi, r14d
ror r8d, 2
mov r14d, ecx
cmp r10, 0x50
jl 0x14001ebd4
add dword [r9 + 0x5c], edi
lea eax, [r15 + rcx]
add dword [r9 + 0x60], ebp
mov dword [r9 + 0x50], eax
xor r10d, r10d
lea eax, [r12 + rsi]
mov dword [r9 + 0x54], eax
lea eax, [r8 + r13]
mov dword [r9 + 0x58], eax
test r11, r11
jne 0x14001eb37
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001f3c0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001ee20
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rsp + 0x120], rax
xor ebx, ebx
lea r8, [rcx + 0x10]
mov r9, rcx
mov ecx, ebx
movzx edx, byte [r8]
movzx eax, byte [r8 + 1]
lea r8, [r8 + 4]
shl eax, 0x10
shl edx, 0x18
or edx, eax
movzx eax, byte [r8 - 2]
shl eax, 8
or edx, eax
movzx eax, byte [r8 - 1]
or edx, eax
mov dword [rsp + rcx*4 + 0x20], edx
inc rcx
cmp rcx, 0x10
jl 0x14001ee5c
lea r10, [rsp + 0x58]
mov r11d, 0x30
mov ecx, dword [r10 - 0x34]
mov r8d, ecx
mov edx, dword [r10]
mov eax, ecx
rol r8d, 0xe
lea r10, [r10 + 4]
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 - 0x3c]
add r8d, dword [r10 - 0x18]
mov dword [r10 + 4], r8d
sub r11, 1
jne 0x14001ee9a
mov esi, dword [r9 + 0x5c]
mov ebp, dword [r9 + 0x6c]
mov r12d, ebp
mov r13d, dword [r9 + 0x50]
mov r11d, dword [r9 + 0x54]
mov edi, dword [r9 + 0x58]
mov r10d, dword [r9 + 0x60]
mov r14d, dword [r9 + 0x68]
mov dword [rsp + 8], esi
mov r15d, dword [rsp + 8]
mov esi, dword [r9 + 0x64]
mov eax, r13d
mov r8d, r13d
rol eax, 0xa
mov ecx, r11d
xor ecx, r13d
ror r8d, 0xd
xor r8d, eax
and ecx, edi
mov eax, r13d
mov edx, r10d
ror eax, 2
xor r8d, eax
ror edx, 0xb
mov eax, r11d
and eax, r13d
xor ecx, eax
mov eax, r10d
rol eax, 7
add r8d, ecx
xor edx, eax
mov ecx, r10d
mov eax, r10d
not ecx
ror eax, 6
and ecx, r14d
xor edx, eax
mov eax, esi
and eax, r10d
xor ecx, eax
lea rax, [0x140048840]
add edx, ecx
add edx, dword [rbx + rax]
add edx, dword [rsp + rbx + 0x20]
add rbx, 4
add edx, r12d
mov r12d, r14d
mov r14d, esi
mov esi, r10d
lea r10d, [rdx + r15]
mov r15d, edi
mov edi, r11d
mov r11d, r13d
lea r13d, [rdx + r8]
cmp rbx, 0x100
jl 0x14001ef0c
add dword [r9 + 0x50], r13d
lea eax, [r12 + rbp]
add dword [r9 + 0x54], r11d
add dword [r9 + 0x58], edi
add dword [r9 + 0x5c], r15d
add dword [r9 + 0x60], r10d
add dword [r9 + 0x64], esi
add dword [r9 + 0x68], r14d
mov dword [r9 + 0x6c], eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14001f3c0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400236a0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140023474
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140023474
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140023474
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140023474
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140023474
cmp dword [rcx + 0x84], 0xe
jbe 0x140023474
cmp dword [rcx + 0xf8], esi
je 0x140023474
mov ecx, r14d
call fcn.1400235bc
mov ecx, 2
call fcn.140029078
nop
cmp byte [0x140052710], 0
jne 0x14002353e
mov r15d, 1
mov eax, r15d
xchg dword [0x140052700], eax
test ebx, ebx
jne 0x1400234e7
mov rdi, qword [0x140051010]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140052708]
cmp rcx, rax
je 0x1400234de
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400024b4]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140052950]
jmp 0x1400234f3
cmp ebx, r15d
jne 0x1400234f9
lea rcx, [0x140052968]
call fcn.14002400c
nop
test ebx, ebx
jne 0x140023510
lea rdx, [0x140037928]
lea rcx, [0x140037908]
call fcn.140024380
lea rdx, [0x140037938]
lea rcx, [0x140037930]
call fcn.140024380
movzx eax, byte [0x140052710]
test esi, esi
cmove eax, r15d
mov byte [0x140052710], al
jmp 0x14002353e
mov ecx, 2
call fcn.1400290cc
test esi, esi
jne 0x140023555
mov ecx, r14d
call fcn.140023570
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140023404
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
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]
invalid
mov ebx, 0xdb7b149e
sbb byte [rdx - 0x239c3a4b], ch
xchg dword [rbp + 0x68216133], edi
add ah, ah
pop rbx
xor bh, byte [rcx + 0x40652582]
mov dword [rdi + riz*8 - 0x6e], edx
jnp 0x14001ad18
out dx, eax
or dword [rdx + rdx*4 + 0x334b8a0c], edi
jp 0x14001acdd
movsd dword [rdi], dword [rsi]
xor eax, ebp
int1
push rsp
mov ch, 0x7f
cmp dword [rax + 0x685187ee], edi
test al, 0xae
pop rdi
call qword [rsi]
je 0x14001ad26
adc eax, 0x8c3f4e97
retf