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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14012e8a5
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x50], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x14012e8f0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x14012e952
mov rsi, r15
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 [rbx + 8]
call qword [rbp + 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 [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x14012e910
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x14012e993
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140155c80]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140155c81]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14012e960
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
Function at 0x14012e9b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.1400ae200
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14012eb56
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x14012ea40
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x14012eaa2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x14012ea60
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x14012eae3
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140155c80]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140155c81]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14012eab0
mov rcx, qword [rsp + 0x70]
call fcn.1400ae200
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x14012eb12
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [fcn.140131890]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, 0x1b
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x14012ec80
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140365f00]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14012eccc
mov eax, 0x1b
jmp 0x14012ed9e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14012ed10
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x14012ed9e
mov rcx, rbp
call fcn.1400ae200
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x14012ed7a
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012ed8a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14012ed9c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401304e0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x14012fb50
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x14012fbb5
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x14012fb60
ret

Function at 0x14012fd0c
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, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14012fd46
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14012fd4b
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 0x14012fd94
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14012fd94
dec r8
sub rdx, 1
jne 0x14012fd7a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14013148c
Capabilities:
Parse pe header

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

Function at 0x13a489c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x13a48a6
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x13a48cf
pop rbp
sub rbp, 0x33
sub rbp, 0xfa489c
sub rsp, 0x20
jmp 0x13a48ee
mov rax, 0xfa489c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x25eafa3
xor byte [rax], dl
inc rax
dec rcx
jne 0x13a490d
jmp 0x13a4924
jmp 0x13a4950
movabs dword [0xbf1bebf3f34ba2eb], eax
mov byte fs:[rbx - 0x5c5c5c5d], ah
jmp 0x13a497c
mov bpl, 0xa3
movabs dword [0x22ebb292a14b62a3], eax
invalid
Function at 0x140001bc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rbx, [rcx + 0x10]
mov byte [rcx], 0
xor r15d, r15d
mov r14, rcx
mov qword [rcx + 8], r15
xor edx, edx
add rcx, 0x18
mov qword [rbx], r15
mov r8d, 0x7f0
call sub.VCRUNTIME140.dll_memset
mov ecx, 0xc
mov qword [r14 + 0x808], r15
mov qword [r14 + 0x810], r15
mov qword [r14 + 0x818], r15
call fcn.140019d28
mov qword [rsp + 0x60], rax
lea rdi, [0x140022d00]
mov rdx, rax
mov esi, 0xff
mov ecx, esi
mov qword [0x140022ce0], rdx
mov qword [rax], r15
mov dword [rax + 8], r15d
movzx eax, r15w
rep stosw word [rdi], ax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, edi
lea r8, [0x1400017d0]
cvtdq2ps xmm0, xmm0
xor r9d, r9d
mov qword [r14 + 0x808], r15
xor edx, edx
xor ecx, ecx
movd xmm1, eax
lea rax, [0x140022cd8]
cvtdq2ps xmm1, xmm1
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
movss dword [r14 + 0x810], xmm0
movss dword [r14 + 0x814], xmm1
movss xmm1, dword [r14 + 0x814]
movss dword [r14 + 0x81c], xmm1
movss dword [r14 + 0x818], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x140022ca8], 0xf
mov qword [0x1400220d0], rax
je 0x140001cf6
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140022ca8], 0xf
jne 0x140001ce2
lea rax, [0x140022c6c]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x140001740]
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdi, [0x140022d00]
mov dword [rsp + 0x60], r15d
mov qword [0x1400220d8], rax
mov rcx, rsi
mov rax, qword [0x140022ce0]
mov qword [rax], r15
mov dword [rax + 8], r15d
movzx eax, r15w
rep stosw word [rdi], ax
lea rcx, str.ntdll.dll
mov rdi, r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x14001c6f0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
je 0x140001d98
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x30
lea r8, [rsp + 0x30]
mov rcx, rax
xor edx, edx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call rbp
test eax, eax
cmovns rdi, qword [rsp + 0x38]
mov ecx, 0x10
mov byte [rdi + 2], 1
call fcn.140019d28
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], r15
mov dword [rax + 8], r15d
mov word [rax + 0xc], r15w
mov qword [r14 + 8], rax
mov ecx, 3
call fcn.140019d28
lea rbx, [rbx + 8]
mov word [rax], r15w
mov byte [rax + 2], r15b
mov qword [rbx - 8], rax
sub rsi, 1
jne 0x140001dc1
mov rax, r14
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140019d00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140014a20
Capabilities:
Check mutex on windows
Set console window title
Terminate thread

Disassembly:
sub rsp, 0x28
lea r8, str.LocalLKJFA49P
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140014c69
cmp qword [0x140022c80], 0
jne 0x140014a67
mov ecx, 4
call fcn.140019d28
mov qword [0x140022c80], rax
mov dword [rax], 0
call fcn.1400011b0
test al, al
je 0x140014c69
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 1
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x14001d9c0]
mov rcx, rax
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x14001d9c0]
mov rcx, rax
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.Debug_Console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0x820
call fcn.140019d28
xor edx, edx
mov r8d, 0x820
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.140001bc0
mov ecx, 0x30
mov rsi, rax
call fcn.140019d28
xorps xmm0, xmm0
mov rdx, rsi
mov rcx, rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
call fcn.1400126b0
lea rcx, str.Debug_Console_initialized.
mov rbx, rax
call fcn.140014980
mov rcx, rbx
call fcn.140012ac0
mov edx, 0x30
mov rcx, rbx
call fcn.140019d20
test rsi, rsi
je 0x140014c59
mov rcx, qword [0x140022cf0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov edx, 0x10
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x1400220d0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400220d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140022c90]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rcx, qword [0x140022cd0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rcx, qword [0x1400220d8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x1400220d8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400220d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x140022ce0]
mov edx, 0xc
mov rcx, rbx
call fcn.140019d20
test rbx, rbx
je 0x140014c17
mov qword [0x140022ce0], 0x8123
mov rcx, qword [rsi + 8]
mov edx, 0x10
call fcn.140019d20
lea rbx, [rsi + 0x10]
mov edi, 0xff
nop
mov rcx, qword [rbx]
mov edx, 3
call fcn.140019d20
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x140014c30
mov rdi, qword [rsp + 0x20]
mov edx, 0x820
mov rcx, rsi
call fcn.140019d20
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x28
ret
Function at 0x140015060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
mov rbx, qword [rsp + 0x60]
mov r12, r9
mov rcx, qword [rsp + 0x50]
mov r13, r8
mov rbp, qword [rsp + 0x58]
mov r15, rdx
mov qword [rsi], r8
mov qword [rbx], rcx
mov rax, qword [rsi]
cmp rax, r9
je 0x1400151f5
cmp rcx, rbp
je 0x1400151f5
mov r9d, 1
movzx edx, word [r15]
xor dil, dil
movzx ecx, word [rax]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp r9w, dx
jae 0x1400150fc
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x14001521c
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140015113
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x140015113
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140015126
movzx r8d, al
mov r10d, r14d
mov r11d, r14d
jmp 0x140015173
mov r8d, eax
cmp eax, 0x800
jae 0x140015140
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x140015173
cmp eax, 0x10000
jae 0x14001515a
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x140015173
shr r8d, 0x12
mov r10d, 3
movzx r11d, dil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, rbp
sub rdx, qword [rbx]
mov ecx, r9d
cmp rdx, rcx
jl 0x1400151f5
add qword [rsi], 2
test dil, dil
jne 0x140015194
cmp r10d, 3
jae 0x1400151a0
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jle 0x1400151ce
lea ecx, [r10 + r10*2]
add ecx, ecx
nop
sub ecx, 6
mov edx, eax
shr edx, cl
dec r9d
and dl, 0x3f
or dl, 0x80
mov byte [r8], dl
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jg 0x1400151b0
shr eax, 0xa
mov r9d, 1
test dil, dil
mov ecx, r9d
cmovne ecx, eax
mov word [r15], cx
mov rax, qword [rsi]
cmp rax, r12
je 0x1400151f5
cmp qword [rbx], rbp
jne 0x1400150bd
cmp r13, qword [rsi]
sete r14b
mov eax, r14d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x1400151ff

Function at 0x14001a950
Capabilities:
Parse pe header

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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [0x140047850]
movzx eax, word [0x140047860]
xor ebx, ebx
cmp byte [0x140047861], bl
mov rdi, rcx
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x60], ax
je 0x140001431
cmp dword [0x140055018], 2
mov r8d, ebx
jl 0x1400013ef
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [r11 - 0x54]
movdqa xmm5, xmmword [0x14004de90]
mov eax, 4
movdqa xmm4, xmmword [0x14004e320]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x14004deb0]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movaps xmmword [r11 - 0x38], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14004def0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004def0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400012d0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp r8d, 0x12
jge 0x140001431
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x140001400
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rcx, [rsp + 0x50]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov qword [rdi], rax
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140044c60
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
Function at 0x140003100
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x140055c50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140055dd8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140055cc0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140055dd0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x140047b00]
xor ecx, ecx
cmp dword [0x140055018], 2
movups xmm0, xmmword [str.tVTQ__VIOOhRNh._]
mov dword [rsp + 0x40], eax
movzx eax, word [0x140047b04]
mov word [rsp + 0x44], ax
movzx eax, byte [0x140047b06]
mov byte [rsp + 0x46], al
movups xmmword [rsp + 0x30], xmm0
jl 0x1400032f6
movdqa xmm0, xmmword [str.1111111111111111]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x14004de90]
mov eax, 4
movdqa xmm4, xmmword [0x14004e320]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x14004deb0]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm8
movd xmm8, eax
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14004def0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004def0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400031e0
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x17
jge 0x14000333d
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x17
jl 0x140003310
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140044c60
add rsp, 0x88
ret