joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038480
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x140038634
test rdx, rdx
je 0x140038634
mov edi, 7
lea rdx, str.http:__
mov r8d, edi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14003862d
lea r8d, [rdi + 1]
mov rcx, rbx
lea rdx, str.https:__
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14003862d
mov r8d, edi
lea rdx, str.file:__
mov rcx, rbx
xor esi, esi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x140038500
add rbx, 0xe
and qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x8000080
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140038556
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
lea ecx, [rbp + 0x58]
cmove eax, ecx
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
xor ebx, ebx
jmp 0x140038613
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140038588
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0x57
cmove eax, ecx
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1400385f9
mov rdx, rdi
mov ecx, 0x42
mov rbx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140038568
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140038568
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140038568
mov r8, r14
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
test eax, eax
js 0x1400385f9
mov rcx, qword [r14]
mov rdx, rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [0x14003f118]
mov edi, eax
mov rcx, rbp
mov rbx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140038613
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ecx, ecx
test rsi, rsi
cmove rcx, rbx
test edi, edi
jns 0x140038639
test rcx, rcx
je 0x140038639
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140038639
mov edi, 0x80004001
jmp 0x140038639
mov edi, 0x80004003
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140039120
Capabilities:
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ebx, ax
mov rax, qword [0x140051730]
test rax, rax
jne 0x140039172
lea rcx, str.KERNEL32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140039166
lea rdx, str.GetUserDefaultUILanguage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140051730], rax
jmp 0x14003916d
mov rax, qword [0x140051730]
test rax, rax
je 0x14003917b
call qword [0x14003f118]
movzx ebx, ax
movzx eax, bx
add rsp, 0x20
pop rbx
ret

Function at 0x14003918c
Capabilities:
Delete registry value

Disassembly:
push rsi
sub rsp, 0x30
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov rsi, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea rdx, str.SoftwareMicrosoftMultimediaWMPlayerDevicesDVD
mov r9d, 0x20006
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400391e3
mov rcx, qword [rsp + 0x40]
lea rdx, str.RequiredFile
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x40]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftMultimediaWMPlayerGroupsVideoDVD
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140039227
mov rcx, qword [rsp + 0x40]
lea rdx, str.RequiredFile
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x40]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftMultimediaWMPlayerGroupsVideoDVR_MS
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003926b
mov rcx, qword [rsp + 0x40]
lea rdx, str.RequiredFile
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rsi
ret

Function at 0x14003a4e4
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x150
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor esi, esi
mov rbx, rcx
cmp dword [0x140051750], esi
mov qword [rcx], rsi
mov dword [rcx + 8], esi
mov word [rcx + 0xc], si
jne 0x14003a57b
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x114
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [0x140051750], 1
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14003a57b
cmp dword [rsp + 0x24], 5
jb 0x14003a55b
cmp dword [rsp + 0x28], 1
jae 0x14003a562
cmp dword [rsp + 0x24], 6
jb 0x14003a57b
mov ecx, dword [0x14005033c]
mov eax, 0x7f
cmp dword [rsp + 0x30], 2
cmove ecx, eax
mov dword [0x14005033c], ecx
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14003c810
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rsi
ret
Function at 0x14003b004
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov esi, edx
mov r14, rcx
call fcn.14003aa74
xor r15d, r15d
test rdi, rdi
jne 0x14003b040
mov rax, qword [0x140050cb8]
mov rdi, qword [rax + 0x10]
test rdi, rdi
mov ebx, 0x80070057
mov rbp, r15
mov r12d, 0x8000ffff
cmovne ebx, r15d
mov r13d, 1
je 0x14003b099
mov eax, esi
lea r8d, [r13 + 5]
shr eax, 4
mov rcx, rdi
add ax, r13w
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x14003b099
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14003b10e
mov ebx, r12d
test ebx, ebx
js 0x14003b10e
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14003b0cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14003b10e
mov ebx, r12d
test ebx, ebx
js 0x14003b10e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdx, rax
cmove ebx, r12d
test ebx, ebx
js 0x14003b10e
and esi, 0xf
je 0x14003b0fc
movzx eax, word [rdx]
lea rdx, [rdx + rax*2]
lea rdx, [rdx + 2]
sub esi, r13d
jne 0x14003b0ec
movzx r8d, word [rdx]
mov rcx, r14
add rdx, 2
call fcn.14003a61c
mov ebx, eax
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14003b558
Capabilities:
Get file version info

Disassembly:
sub rsp, 0x28
and qword [rsp + 0x38], 0
lea r9, [0x140051dc0]
and dword [rsp + 0x30], 0
lea rcx, str.mfcore.dll
xor edx, edx
mov r8d, 0x200
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14003b5fe
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x140042140]
lea rcx, [0x140051dc0]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003b5fe
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + 0xa]
mov word [0x140050348], ax
movzx r8d, word [rcx + 8]
mov word [0x14005034a], r8w
movzx edx, word [rcx + 0xe]
mov word [0x14005034c], dx
movzx eax, word [rcx + 0xc]
mov ecx, 0xc
mov word [0x140050340], cx
mov word [0x14005034e], ax
mov word [0x140050342], r8w
mov word [0x140050344], dx
mov word [0x140050346], ax
mov byte [0x14005175c], 1
lea rax, [0x140050340]
add rsp, 0x28
ret

Function at 0x14003c044
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov r14d, r9d
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
call fcn.14003bff8
call qword [sym.imp.MFPlat.DLL_MFGetSystemTime]
inc dword [rbx + 0x900]
mov qword [rbx + 0x8f8], rax
cmp dword [rsi + 0x7c8], 0
je 0x14003c12b
cmp dword [rbx + 0x7c8], 0
je 0x14003c12b
mov eax, dword [rsi + 0x7c4]
xor edx, edx
mov ecx, dword [rsi + 0x7e8]
lea edi, [rdx + 0x7c]
cmp eax, edi
cmovb edi, eax
cmp edi, 0xa
jbe 0x14003c0c8
lea edx, [rdi - 0xa]
mov edi, 0xa
lea eax, [rdi - 5]
cmp ecx, eax
cmovb eax, ecx
jmp 0x14003c0ca
mov eax, ecx
mov r8d, edi
shl rdx, 4
shl r8d, 4
add rdx, rsi
mov rcx, rbx
mov dword [rbx + 0x7e8], eax
call sub.msvcrt.dll_memcpy
mov dword [rbx + 0x7c4], edi
movups xmm0, xmmword [rsi + 0x7d0]
movdqu xmmword [rbx + 0x7d0], xmm0
mov eax, dword [rsi + 0x7e0]
mov dword [rbx + 0x7e0], eax
mov eax, dword [rsi + 0x7e4]
mov dword [rbx + 0x7e4], eax
mov eax, dword [rsi + 0x7cc]
mov dword [rbx + 0x7cc], eax
mov eax, dword [rsi + 0x7c0]
mov dword [rbx + 0x7c0], eax
lea rdi, [rbx + 0x7f0]
test rbp, rbp
je 0x14003c15d
mov rdx, rdi
mov rcx, rbp
call fcn.14003c198
test al, al
jne 0x14003c160
or r9, 0xffffffffffffffff
mov r8, rbp
mov edx, 0x100
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_strncpy_s]
jmp 0x14003c160
mov byte [rdi], 0
lea rdx, [rbx + 0x905]
mov dword [rbx + 0x8f0], r14d
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14003c2d0
Function at 0x14003c198
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r14, rdx
mov r9, rcx
xor edx, edx
movabs rax, 0xcbf29ce484222325
test rcx, rcx
je 0x14003c2ae
test r14, r14
je 0x14003c2ae
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], dl
jne 0x14003c1d6
mov esi, ebx
mov edi, edx
test ebx, ebx
je 0x14003c2ae
inc edi
cmp byte [rcx], 0x3c
je 0x14003c1fd
inc rcx
cmp edi, ebx
jb 0x14003c1ea
jmp 0x14003c2ae
dec esi
mov r15d, esi
add r15, r9
cmp byte [r15], 0x3e
je 0x14003c20f
cmp esi, edi
ja 0x14003c1fd
mov r8d, esi
sub r8d, edi
cmp edi, esi
je 0x14003c2ae
cmp r8d, 0x10
jbe 0x14003c2ae
mov ecx, ebx
sub ecx, r8d
add ecx, 0x11
cmp ecx, 0x100
jae 0x14003c2ae
lea rbp, [rdi + r9]
mov r10d, r8d
lea rcx, [r8 + rbp]
mov r12d, edi
cmp rbp, rcx
mov r11, rbp
cmova r10, rdx
test r10, r10
je 0x14003c277
movzx ecx, byte [r11]
movabs rdx, 0x100000001b3
xor rax, rcx
inc r11
mov rcx, r11
sub rcx, rbp
imul rax, rdx
cmp rcx, r10
jb 0x14003c254
mov r8, r12
mov qword [rsp + 0x20], rax
mov rdx, r9
mov rcx, r14
call sub.msvcrt.dll_memcpy
lea rdx, [rdi + r14]
lea rcx, [rsp + 0x20]
call fcn.14003bf00
sub ebx, esi
lea ecx, [rdi + 0x10]
add rcx, r14
mov rdx, r15
lea r8d, [rbx + 1]
call sub.msvcrt.dll_memcpy
mov dl, 1
mov rbx, qword [rsp + 0x70]
mov al, dl
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor eax, eax
mov rsi, rdx
xor r12d, r12d
mov qword [rdx], rax
mov ebp, r12d
mov qword [rdx + 8], rax
mov r15, rcx
movabs rbx, 0xcbf29ce484222325
mov eax, dword [r15 + 0x7c4]
mov ecx, 0x7c
cmp eax, ecx
cmovb ecx, eax
cmp ebp, ecx
jae 0x14003c3a9
mov eax, ebp
lea r8, [rsp + 0x50]
add rax, rax
mov qword [rsp + 0x50], r12
mov ecx, 4
mov rdi, qword [r15 + rax*8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
lea r14, str.UNLOADED
mov edx, 0x100
test eax, eax
cmovne r14, rdi
mov rcx, r14
mov rdi, r14
call qword [sym.imp.msvcrt.dll_strnlen]
inc eax
mov ecx, eax
add rax, r14
cmp r14, rax
cmova rcx, r12
test rcx, rcx
je 0x14003c392
movzx eax, byte [rdi]
movabs rdx, 0x100000001b3
xor rbx, rax
inc rdi
mov rax, rdi
sub rax, r14
imul rbx, rdx
cmp rax, rcx
jb 0x14003c370
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003c3a2
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
inc ebp
jmp 0x14003c305
mov rbp, qword [rsp + 0x60]
movabs rax, 0xaa55aa55aa55aa55
mov qword [rsi], rbx
xor rbx, rax
mov qword [rsi + 8], rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14003c5b8
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.14003cd24
add rsp, 0x28
jmp 0x14003c5b8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x140051fd0], rbx
je 0x14003c602
cmp rax, rbx
jne 0x14003c617
mov edi, 1
mov eax, dword [0x140051fd8]
cmp eax, 1
jne 0x14003c624
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x14003c691
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14003c5eb
mov eax, dword [0x140051fd8]
test eax, eax
jne 0x14003c687
mov dword [0x140051fd8], 1
lea r14, [0x14003f1c0]
lea rbx, [0x14003f1a8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x14003c679
test eax, eax
jne 0x14003c67d
cmp qword [rbx], 0
je 0x14003c66e
mov rax, qword [rbx]
mov rcx, qword [0x14003f118]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14003c64f
test eax, eax
je 0x14003c691
mov eax, 0xff
jmp 0x14003c7e6
mov dword [0x140050584], 1
mov eax, dword [0x140051fd8]
cmp eax, 1
jne 0x14003c6b9
lea rdx, [0x14003f1a0]
lea rcx, [0x14003f120]
call sub.msvcrt.dll__initterm
mov dword [0x140051fd8], 2
test edi, edi
jne 0x14003c6c6
xor eax, eax
xchg qword [0x140051fd0], rax
cmp qword [0x140051fe0], 0
je 0x14003c6fa
lea rcx, [0x140051fe0]
call fcn.14003cc90
test eax, eax
je 0x14003c6fa
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140051fe0]
mov r9, qword [0x14003f118]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
mov cl, byte [rbx]
cmp cl, 0x20
ja 0x14003c785
test cl, cl
je 0x14003c71c
test edi, edi
jne 0x14003c785
dec cl
cmp cl, 0x1f
ja 0x14003c72f
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x14003c71c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140004c98
mov dword [0x140050580], eax
cmp dword [0x1400505a0], 0
jne 0x14003c76e
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140050584], 0
jne 0x14003c783
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140050580]
jmp 0x14003c7e6
cmp cl, 0x22
jne 0x14003c797
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14003c7ac
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14003c70d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x14003cb8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14003cbd8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003cbd0
cmp dword [rcx + 0x3c], edx
jl 0x14003cbd0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14003cbd0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14003cbd8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x180001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x180007088]
mov rdi, rcx
xor ebx, ebx
nop
test rax, rax
jne 0x180001090
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x72657375
mov dword [rbp - 0x2c], 0x642e3233
mov word [rbp - 0x28], 0x6c6c
mov byte [rbp - 0x26], al
mov dword [rbp - 0x20], 0x6e616843
mov dword [rbp - 0x1c], 0x69576567
mov dword [rbp - 0x18], 0x776f646e
mov dword [rbp - 0x14], 0x7373654d
mov dword [rbp - 0x10], 0x46656761
mov dword [rbp - 0xc], 0x65746c69
mov dword [rbp - 8], 0x784572
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180007088], rax
test rax, rax
je 0x1800010a5
xor r9d, r9d
mov edx, ebx
mov rcx, rdi
lea r8d, [r9 + 1]
call rax
mov rax, qword [0x180007088]
inc ebx
cmp ebx, 0xc000
jb 0x180001020
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x1800010d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rdi
lea rbp, [rax - 0x458]
sub rsp, 0x548
mov rdi, rcx
mov qword [0x180007090], rcx
dec edx
jne 0x180001290
test r8d, r8d
jne 0x18000128b
mov qword [rax - 0x20], rsi
xor esi, esi
lea r8, [rbp + 0x478]
lea rcx, [rbp + 0x30]
mov edx, 0x100
mov qword [rax - 0x28], r14
mov byte [rbp + 0x47e], sil
mov byte [rbp + 0x464], sil
mov dword [rbp + 0x478], 0x61636f4c
mov word [rbp + 0x47c], MultiByteToWideChar
mov dword [rbp + 0x460], 0x4e565354
mov dword [rbp + 0x468], 0x64255f
call qword [sym.imp.msvcrt.dll_strcpy_s]
lea r8, [rbp + 0x460]
lea rcx, [rbp + 0x30]
mov edx, 0x100
call qword [sym.imp.msvcrt.dll_strcat_s]
lea r8, [rbp + 0x468]
lea rcx, [rbp + 0x30]
mov edx, 0x100
call qword [sym.imp.msvcrt.dll_strcat_s]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rbp + 0x30]
xor eax, 0x2694
lea rcx, [rbp + 0x130]
mov r8d, eax
call fcn.180002380
lea rcx, [rbp + 0x232]
xor edx, edx
mov r8d, 0x1fe
mov word [rbp + 0x230], si
call sub.msvcrt.dll_memset
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x130]
call fcn.1800035a0
mov r14, rax
test rax, rax
je 0x18000127c
mov rcx, rax
mov qword [rsp + 0x540], rbx
call fcn.1800034e0
mov rbx, rax
test rax, rax
je 0x18000124f
mov ecx, dword [rax]
test ecx, ecx
jne 0x180001232
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0xff
mov byte [rsp + 0x30], sil
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x30]
mov r8d, 0x100
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x30]
mov dword [rbx], 1
call fcn.180004da0
jmp 0x180001247
cmp ecx, 0xa
jne 0x180001247
mov dword [rax], 1
call fcn.180002140
mov esi, 1
mov rcx, rbx
call fcn.180003540
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x540]
mov eax, esi
mov rsi, qword [rsp + 0x538]
mov r14, qword [rsp + 0x530]
add rsp, 0x548
pop rdi
pop rbp
ret
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x180001262
call fcn.180002140
mov eax, 1
add rsp, 0x548
pop rdi
pop rbp
ret
Function at 0x1800018b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rsi, rcx
mov dword [rbp - 0x20], 0x6463627a
mov dword [rbp - 0x1c], 0x50676665
mov dword [rbp - 0x18], 0x744c4b4a
mov dword [rbp - 0x14], 0x51504f6a
mov dword [rbp - 0x10], 0x75747372
mov dword [rbp - 0xc], 0x79787776
mov dword [rbp - 8], 0x4359415a
mov dword [rbp - 4], 0x47464544
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call qword [sym.imp.msvcrt.dll_srand]
call qword [sym.imp.msvcrt.dll_rand]
and eax, 0x80000007
jge 0x180001924
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
xor ebx, ebx
movsxd rdi, eax
test eax, eax
jle 0x180001960
call qword [sym.imp.msvcrt.dll_rand]
and eax, 0x8000001f
jge 0x180001944
dec eax
or eax, 0xffffffe0
inc eax
movsxd rcx, eax
inc rbx
movzx eax, byte [rbp + rcx - 0x20]
inc al
mov byte [rbx + rsi - 1], al
cmp rbx, rdi
jl 0x180001930
mov byte [rdi + rsi], 0
jmp 0x180001963
mov byte [rdi + rsi], bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
Function at 0x180002140
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x368]
sub rsp, 0x468
xor esi, esi
lea r8, [rbp + 0x3a8]
lea rcx, [rsp + 0x60]
mov edx, 0x100
mov dword [rbp + 0x3a8], 0x61636f4c
mov word [rbp + 0x3ac], MultiByteToWideChar
mov ebx, esi
mov byte [rbp + 0x3ae], sil
mov dword [rbp + 0x3a0], 0x4e565354
mov byte [rbp + 0x3a4], sil
mov dword [rbp + 0x390], 0x64255f
call qword [sym.imp.msvcrt.dll_strcpy_s]
lea r8, [rbp + 0x3a0]
lea rcx, [rsp + 0x60]
mov edx, 0x100
call qword [sym.imp.msvcrt.dll_strcat_s]
lea r8, [rbp + 0x390]
lea rcx, [rsp + 0x60]
mov edx, 0x100
call qword [sym.imp.msvcrt.dll_strcat_s]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x60]
xor eax, 0x2694
lea rcx, [rbp + 0x60]
mov r8d, eax
call fcn.180002380
lea rcx, [rbp + 0x162]
xor edx, edx
mov r8d, 0x1fe
mov word [rbp + 0x160], si
call sub.msvcrt.dll_memset
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x60]
call fcn.1800035a0
mov rdi, rax
test rax, rax
je 0x180002339
lea rax, [rsp + 0x58]
mov dword [rsp + 0x48], 4
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x398]
mov rcx, rdi
mov qword [rbp + 0x398], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x28], rax
call fcn.180002c70
test eax, eax
jns 0x18000226e
mov ecx, eax
call fcn.180003260
jmp 0x180002292
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180002292
mov eax, dword [rcx + 8]
mov ebx, dword [rcx + 4]
mov dword [0x180007050], eax
mov eax, dword [rcx + 0xc]
mov dword [0x180007054], eax
call fcn.180003540
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x180002339
mov qword [0x180007048], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowUnicode]
mov edx, 0xfffffffc
mov rcx, rbx
test eax, eax
je 0x1800022f7
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
lea r8, [0x180002090]
mov edx, 0xfffffffc
mov rcx, rbx
mov qword [0x180007068], rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
jmp 0x180002319
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
lea r8, [0x180002090]
mov edx, 0xfffffffc
mov rcx, rbx
mov qword [0x180007068], rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
add rsp, 0x468
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rax, [rbp + 0x398]
lea r8, [0x180001c00]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
mov dword [rbp + 0x398], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180002371
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x468
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180002430
Capabilities:
Create thread

Disassembly:
sub rsp, 0x98
test edx, edx
je 0x18000246d
xor eax, eax
lea r8, [0x1800039a0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x98
ret
mov qword [rsp + 0x90], rbx
or rax, 0xffffffffffffffff
lea rbx, [0x1800070b0]
inc rax
cmp byte [rbx + rax], 0
jne 0x180002480
test rax, rax
jne 0x18000251f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x30]
not eax
mov dword [rsp + 0xa8], 0x7825
mov r8d, eax
call fcn.180003970
xor eax, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x50], 0
mov qword [rsp + 0x51], rax
mov qword [rsp + 0x59], rax
mov qword [rsp + 0x61], rax
mov qword [rsp + 0x69], rax
mov qword [rsp + 0x71], rax
mov qword [rsp + 0x79], rax
mov qword [rsp + 0x81], rax
mov dword [rsp + 0x89], eax
mov word [rsp + 0x8d], ax
mov byte [rsp + 0x8f], al
call fcn.180004310
lea r8, [rsp + 0x50]
mov edx, 0x100
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_strcpy_s]
mov rbx, qword [rsp + 0x90]
xor eax, eax
add rsp, 0x98
ret