joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402500
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x40f01c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call fcn.00402890
push 0x40b700
lea ecx, [esp + 0x2c]
xor edi, edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push str.IconTips
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x40257c
lea eax, [esp + 0x2c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4025d1
mov edx, dword [ebp + 0x14]
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x40f344
push 0x67
push esi
mov dword [0x40f33c], esi
mov dword [0x40f340], edx
call edi
push 0x64
push 0x40f40c
push 0x6d
push esi
call edi
mov eax, esi
call fcn.00402610
call fcn.00401e10
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.004027f0
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00408c54
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403ac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x403ad0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x403ae0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x403ff0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x40f01c]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x40406a
xor eax, eax
cmp ecx, ebp
je 0x404052
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x404078
cmp ecx, ebp
je 0x40410b
push ecx
jmp 0x404105
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x4040da
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00403ff0
mov ebx, eax
cmp ebx, ebp
jne 0x404128
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x4040a0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4040ed
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.004041a0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40410b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408c54
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x404137
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x40410d
Function at 0x404c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x409eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x40f01c]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x404c9f
call fcn.004033d0
mov esi, eax
jmp 0x404d81
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x404cbb
call fcn.004033d0
jmp 0x404d78
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x404cd4
call fcn.004033d0
jmp 0x404d78
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x404d08
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x404cf6
lea eax, [ebp]
call fcn.00403380
lea esi, [ebp - 0x1c]
call fcn.00403b10
mov eax, 0x8007000e
jmp 0x404d93
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00403390
mov dword [ebp - 4], 1
jmp 0x404d31
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x404d3f
mov esi, 0x8007000e
jmp 0x404d7a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x404d5d
call fcn.004033d0
jmp 0x404d78
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00404ad0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x404d91
lea eax, [ebp]
call fcn.00403380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00408c54
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405460
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x409a4b
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x40f01c]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
mov eax, dword [0x40f01c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
call fcn.00405100
push 0x40b700
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x58], 0
mov esi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push edx
call esi
add esp, 0x10
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 1
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 8]
mov byte [esp + 0x4c], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x40bf38
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
call esi
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 2
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 8]
mov byte [esp + 0x4c], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x28]
mov esi, 8
cmp dword [esp + 0x3c], esi
jae 0x405520
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40554a
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], esi
jae 0x405539
lea eax, [esp + 0x28]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00408c54
add esp, 0x48
ret
Function at 0x4062e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0x70], 0
jne 0x4062f5
xor al, al
pop esi
add esp, 0x20
ret 4
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi + 0x70]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
push 0x41
add eax, dword [esp + 0x24]
push 0
cdq
sub eax, edx
sar eax, 1
push 0
push eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0x70]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x70]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
pop esi
add esp, 0x20
ret 4
Function at 0x4080b0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
push esi
lea eax, [esp + 4]
push eax
push 0x20
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40811c
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push esi
mov dword [esp + 0x14], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 4]
push esi
push esi
push 0x10
lea edx, [esp + 0x14]
push edx
push esi
push eax
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x14
ret
Function at 0x4082f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [ebx + 0x58]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
jmp 0x408310
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x40831e
cmp edi, eax
je 0x408324
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0xc], esi
je 0x408454
test edi, edi
jne 0x408449
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x40834d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x408369
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 8]
lea esi, [edi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x4083aa
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408399
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x4083bf
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x4083fd
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4083ec
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x40840b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00408550
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x408450
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x40843a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x408310
mov eax, dword [edi]
jmp 0x40833e
mov eax, dword [eax]
jmp 0x40842b
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebx + 0x6c]
mov dword [ecx + 4], ecx
xor ecx, ecx
mov dword [ebx + 0x70], ecx
cmp eax, dword [ebx + 0x6c]
je 0x40848f
jmp 0x408470
mov esi, dword [eax]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x408470
mov dword [ebx + 0x50], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0x50], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408550
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x409b7b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x40f01c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CThreadHolder.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x4085c1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4085b0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
cmp dword [esi + 0x14], 0
jne 0x4085d2
push esi
call fcn.004086a0
call fcn.00408720
mov eax, dword [esi + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x40f084
je 0x4085fd
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4085fd
mov eax, dword [esi + 0x18]
sub eax, 0xc
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x408c54
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40f01c]
jne 0x408c5e
repz ret
jmp fcn.004091e6
Function at 0x100093e4
Capabilities:
Get file size
Hide graphical window
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x100095de
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.10008d4c
lea eax, [ebp - 4]
mov edx, 0x100095f0
call fcn.100037d0
cmp dword [0x1000f688], 0
jne 0x10009436
push 0x10008568
mov eax, dword [ebp - 4]
call fcn.1000390c
mov ecx, eax
mov dl, 1
mov eax, dword [0x1000649c]
call fcn.10006510
mov dword [0x1000f688], eax
push 0
mov eax, dword [0x1000f688]
call fcn.1000662c
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x1000f6d0
mov edx, 0x10009614
call fcn.100037ac
push 0x80
mov eax, dword [0x1000f684]
call fcn.1000390c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 4
push 0
push 3
push 0xc0000000
mov eax, dword [0x1000f684]
call fcn.1000390c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [0x1000e0b8], eax
cmp dword [0x1000e0b8], 0xffffffff
je 0x100095c3
cmp byte [0x1000f6c1], 1
jne 0x10009547
call fcn.10006788
mov dword [0x1000f6c4], eax
mov dword [0x1000f6c8], edx
push 0
mov eax, dword [0x1000e0b8]
push eax
call sub.kernel32.dll_GetFileSize
xor edx, edx
push edx
push eax
push 0
push 2
mov eax, dword [0x1000f6c4]
mov edx, dword [0x1000f6c8]
call fcn.10003fb0
cmp edx, dword [esp + 4]
jne 0x100094f0
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x10009508
jmp 0x100094f4
pop edx
pop eax
jle 0x10009508
mov dword [0x1000f6c4], 0
mov dword [0x1000f6c8], 0
push dword [0x1000f6c8]
push dword [0x1000f6c4]
lea eax, [ebp - 8]
call fcn.10006710
mov eax, dword [ebp - 8]
push eax
push 2
lea eax, [ebp - 0xc]
mov ecx, dword [0x1000f6b4]
mov edx, 0x10009640
call fcn.10003988
mov edx, dword [ebp - 0xc]
mov ecx, 0x10009658
mov eax, 0x80000001
call fcn.1000577c
push 7
mov eax, dword [0x1000f684]
call fcn.1000390c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 2
push 0
push 0
mov eax, dword [0x1000e0b8]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
push 0
mov eax, dword [0x1000f698]
push eax
mov eax, dword [0x1000f688]
call fcn.1000662c
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x1000f688]
call fcn.1000662c
push eax
call sub.user32.dll_SetClipboardViewer
cmp byte [0x1000f6c1], 1
jne 0x100095c3
cmp dword [0x1000e0b0], 0
je 0x100095b0
mov eax, dword [0x1000e0b0]
call fcn.10006768
mov eax, 0x10009204
xor ecx, ecx
xor edx, edx
call fcn.10006744
mov dword [0x1000e0b0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100095e5
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.10003788
ret
Function at 0x100098a8
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebx, eax
xor eax, eax
mov dword [esp + 8], eax
push 0
call sub.kernel32.dll_GetModuleHandleA_1
mov ecx, eax
mov eax, ecx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov esi, dword [eax + 0x50]
mov edi, dword [eax + 0x34]
push 0x8000
push 0
push edi
push ebx
call sub.kernel32.dll_VirtualFreeEx
push 0x40
push 0x3000
push esi
push edi
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov ebp, eax
test ebp, ebp
je 0x10009944
lea eax, [esp + 0xc]
push eax
push esi
push 0
call sub.kernel32.dll_GetModuleHandleA_1
push eax
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
cmp esi, dword [esp + 0xc]
ja 0x10009944
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
push ebx
call sub.kernel32.dll_CloseHandle
mov dword [esp + 8], ebp
mov eax, dword [esp + 8]
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x10009950
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffda0
mov esi, eax
lea edi, [esp]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ebx, ebx
lea eax, [esp + 0x21c]
mov edx, 0x44
call fcn.100050d8
lea eax, [esp + 0x20c]
push eax
lea eax, [esp + 0x220]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x100099b4
mov ebx, dword [esp + 0x20c]
push 0x64
call sub.kernel32.dll_Sleep
mov eax, ebx
add esp, 0x260
pop edi
pop esi
pop ebx
ret
Function at 0x10009e74
Capabilities:
Persist via active setup registry key
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x288
push 0
push 0
dec ecx
jne 0x10009e7c
push ecx
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x13a0]
mov ecx, 0x4e4
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.10003c28
xor eax, eax
push ebp
push 0x1000a113
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 0x754], 0
je 0x1000a0cd
cmp byte [ebp - 0x5e4], 1
jne 0x10009ef6
mov eax, dword [ebp - 4]
push eax
push 2
lea eax, [ebp - 0x13a4]
lea edx, [ebp - 0x752]
mov ecx, 0x3d
call fcn.100038e0
mov ecx, dword [ebp - 0x13a4]
mov edx, 0x1000a128
mov eax, 0x80000002
call fcn.1000577c
cmp byte [ebp - 0x5e3], 1
jne 0x10009f30
mov eax, dword [ebp - 4]
push eax
push 2
lea eax, [ebp - 0x13a8]
lea edx, [ebp - 0x6d8]
mov ecx, 0x3d
call fcn.100038e0
mov ecx, dword [ebp - 0x13a8]
mov edx, 0x1000a128
mov eax, 0x80000001
call fcn.1000577c
cmp byte [ebp - 0x5e2], 1
jne 0x10009fd6
lea eax, [ebp - 0x13b0]
lea edx, [ebp - 0x65e]
mov ecx, 0x3d
call fcn.100038e0
mov ecx, dword [ebp - 0x13b0]
lea eax, [ebp - 0x13ac]
mov edx, 0x1000a188
call fcn.10003988
mov edx, dword [ebp - 0x13ac]
mov eax, 0x80000001
call fcn.100059e8
lea eax, [ebp - 0x13b4]
mov ecx, 0x1000a1f8
mov edx, dword [ebp - 4]
call fcn.10003988
mov eax, dword [ebp - 0x13b4]
push eax
push 2
lea eax, [ebp - 0x13bc]
lea edx, [ebp - 0x65e]
mov ecx, 0x3d
call fcn.100038e0
mov ecx, dword [ebp - 0x13bc]
lea eax, [ebp - 0x13b8]
mov edx, 0x1000a188
call fcn.10003988
mov edx, dword [ebp - 0x13b8]
mov ecx, 0x1000a210
mov eax, 0x80000002
call fcn.1000577c
cmp byte [ebp - 0x5e1], 1
jne 0x1000a0cd
lea eax, [ebp - 0x13c0]
lea edx, [ebp - 0x4ec]
mov ecx, 0x3d
call fcn.100034b0
mov eax, dword [ebp - 0x13c0]
mov edx, 0x1000a22c
call fcn.1000362c
jne 0x1000a02e
lea edx, [ebp - 0x143c]
mov eax, dword [ebp - 4]
call fcn.10005240
lea esi, [ebp - 0x143c]
lea edi, [ebp - 0x4ec]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x5e0]
mov ecx, 0x3d
call fcn.100038e0
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x1000a23c
call fcn.10003b94
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.10003ab8
mov edx, dword [ebp - 0xc]
mov eax, 0x1000a23c
call fcn.10003b94
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.10003b04
mov eax, dword [ebp - 8]
call fcn.10005a94
mov ebx, eax
lea eax, [ebp - 0x1440]
lea edx, [ebp - 0x4ec]
mov ecx, 0x3d
call fcn.100038e0
mov eax, dword [ebp - 0x1440]
push eax
push 2
lea eax, [ebp - 0x1444]
lea edx, [ebp - 0x566]
mov ecx, 0x3d
call fcn.100038e0
mov ecx, dword [ebp - 0x1444]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.1000577c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000a11a
lea eax, [ebp - 0x1444]
mov edx, 2
call fcn.10003788
lea eax, [ebp - 0x13c0]
call fcn.100032cc
lea eax, [ebp - 0x13bc]
mov edx, 7
call fcn.10003788
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.10003788
ret
Function at 0x1000a480
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
dec eax
jne 0x1000a493
mov byte [ebx + 0xe], 0
pop ebx
ret