joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406937
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x40b138
call fcn.00406c3c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x40dbfc
push 0
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
test eax, eax
je 0x4066d6
cmp eax, esi
jne 0x4066c9
xor esi, esi
inc esi
mov ebx, esi
jmp 0x4066d9
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x4066b0
xor esi, esi
inc esi
mov eax, dword [0x40dbf8]
cmp eax, esi
jne 0x4066ec
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x40671b
mov eax, dword [0x40dbf8]
test eax, eax
jne 0x406715
mov dword [0x40dbf8], esi
push 0x4072cc
push 0x4072c4
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40671b
jmp 0x406843
mov dword [0x40c2cc], esi
mov eax, dword [0x40dbf8]
cmp eax, esi
jne 0x40673f
push 0x4072c0
push 0x4072b8
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x40dbf8], 2
test ebx, ebx
jne 0x40674b
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x40dc08], 0
je 0x40676f
push 0x40dc08
call fcn.00406bc2
pop ecx
test eax, eax
je 0x40676f
push 0
push 2
push 0
call dword [0x40dc08]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4067cb
test al, al
je 0x406789
cmp dword [ebp - 0x1c], 0
jne 0x4067cb
mov al, byte [esi]
test al, al
je 0x406799
cmp al, 0x20
ja 0x406799
inc esi
mov dword [ebp - 0x20], esi
jmp 0x406789
test byte [ebp - 0x3c], 1
je 0x4067a5
movzx eax, word [ebp - 0x38]
jmp 0x4067a8
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x40c2c8], eax
cmp dword [0x40c2bc], 0
jne 0x40681f
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x4067da
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x4067ed
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x406776
cmp dword [0x40c2cc], 0
jne 0x40682e
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x40c2c8]
jmp 0x40684f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00406c81
ret
call fcn.0040610d
jmp 0x406676

Function at 0x414df2
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], esi
add edx, 4
dec ebx
cmp edx, edi
jne fcn.00414df2
ret
Function at 0x403000
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x40d65f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call dword [sym.imp.Awl.dll_public:_void___thiscall_AWL::CWinApp::constructor_void_]
mov dword [esp + 0x10], 0
mov dword [esi], vtable.CRegistratorApp.0
mov dword [esi + 4], vtable.CRegistratorApp.1.0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 8]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_wchar_t_const__]
lea eax, [esp + 4]
push eax
lea ecx, [esi + 0x3c]
push ecx
mov byte [esp + 0x18], 1
call fcn.00401050
lea ecx, [esp + 4]
mov byte [esp + 0x10], 3
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x403fe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40ccfa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push str.UserSendStatistics
lea ecx, [esp + 4]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_wchar_t_const__]
push 0
push 2
lea eax, [esp + 8]
push eax
push 0x415994
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call dword [sym.imp.FineObj.dll_protected:_void___thiscall_FObj::CSetupBase::constructor_class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const___enum_FObj::TSetupType__enum_FObj::TSetupRegistryView_]
mov dword [esp + 8], vtable.FObj::CSetup_bool_.0
mov byte [esp + 0x1c], 1
lea ecx, [esp]
mov byte [esp + 0x2c], 2
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x10]
call edx
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CSetupBase::SetString_class_FObj::CUnicodeString_const__]
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 2
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 8]
mov dword [esp + 8], vtable.FObj::CSetup_bool_.0
call dword [sym.imp.FineObj.dll_protected_virtual:_void___thiscall_FObj::CSetupBase::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x404910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40d5ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x30]
push 0xa
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x30], 1
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::UnicodeStr_unsigned_long_int__int_]
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.00405520
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov edx, dword [esp + 0x34]
push edx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::UnicodeStr_bool_]
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.00405520
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
cmp dword [esp + 0x10], 2
je 0x4049cf
push ebx
push 0x18
push str.D:Build11.0.13Product0ShellProductsFineReaderComponentsFRIntegrationDll.FRIntegrationIncFRIntegrationDefs.h
push 0x40f0a8
push 0x40f0a8
push ebx
call dword [sym.imp.FineObj.dll_bool___cdecl_FObj::GenerateInternalError_enum_FObj::TInternalErrorType__wchar_t_const___wchar_t_const___wchar_t_const___long_int__unsigned_long_int_]
add esp, 0x18
push 0x40f7d0
lea ecx, [esp + 0xc]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_wchar_t_const__]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
mov byte [esp + 0x30], 4
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::JoinStrings_class_FObj::CArray_class_FObj::CUnicodeString__class_FObj::CurrentMemoryManager__const___class_FObj::CUnicodeString_const__]
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0xc], 1
mov byte [esp + 0x24], 1
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00402da0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x404a37
push eax
call dword [sym.imp.FineObj.dll_void___cdecl_FObj::doFree_void__]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4086e0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x40c2db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::GetEXEFileName_void_]
mov esi, eax
mov dword [esp + 0x2c], 0
call fcn.00406670
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::GetModuleFileNameW_struct_HINSTANCE____]
add esp, 0xc
mov edi, eax
push 0x40e42c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x34], 1
call dword [sym.imp.FineObj.dll_public:_static_class_FObj::CTime___cdecl_FObj::CTime::GetTickCount_void_]
add esp, 4
mov ecx, eax
call dword [sym.imp.FineObj.dll_public:_class_FObj::CUnicodeString___thiscall_FObj::CTime::UnicodeFormat_wchar_t_const__]
mov ebp, eax
mov ecx, esi
mov byte [esp + 0x28], 2
call dword [sym.imp.FineObj.dll_public:_wchar_t_const____thiscall_FObj::CUnicodeString::Ptr_void_const]
push eax
mov ecx, edi
call dword [sym.imp.FineObj.dll_public:_wchar_t_const____thiscall_FObj::CUnicodeString::Ptr_void_const]
push eax
mov ecx, ebp
call dword [sym.imp.FineObj.dll_public:_wchar_t_const____thiscall_FObj::CUnicodeString::Ptr_void_const]
mov esi, dword [esp + 0x38]
push eax
push str._r_nStarted_at_:__s._Application___s__module___s._r_n
push esi
call fcn.004086c0
add esp, 0x14
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x40e458
push esi
call fcn.004086c0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x40aa60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x40c648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 8], ebx
push edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x40], ebx
je 0x40aaaa
mov dword [esi + 4], 0x40e820
mov dword [esi + 0x44], vtable.FObj::IObject.0
mov dword [esi + 0x48], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc], 1
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x3c]
mov dword [esi], vtable.DebugTools::IApplicationDebug.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.DebugTools::IApplicationDebug.0
mov edx, dword [esi + 4]
mov dword [esi], vtable.DebugTools::CApplicationDebugImpl.1.0
mov eax, dword [edx + 4]
lea ecx, [esp + 0x40]
push edi
push ecx
mov dword [eax + esi + 4], vtable.DebugTools::CApplicationDebugImpl.0
call fcn.0040a050
push eax
lea edx, [esi + 8]
push edx
mov dword [esp + 0x44], 1
call fcn.0040a220
add esp, 0x10
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 3
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], ebx
lea ecx, [esi + 0x14]
mov byte [esp + 0x34], 4
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_void_]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0x1f
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0x80
push str.SaveFullDumps
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 7
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_wchar_t_const__]
lea eax, [esp + 0x3c]
push edi
push eax
mov byte [esp + 0x3c], 8
call fcn.0040a0e0
add esp, 8
push ebx
push 2
lea ecx, [esp + 0x48]
push ecx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 9
call dword [sym.imp.FineObj.dll_protected:_void___thiscall_FObj::CSetupBase::constructor_class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const___enum_FObj::TSetupType__enum_FObj::TSetupRegistryView_]
mov edi, vtable.FObj::CSetup_bool_.0
mov dword [esp + 0x14], edi
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xa
call dword [0x40e750]
xor edx, edx
test al, al
sete dl
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 9
mov dword [esp + 0x14], edi
mov dword [esi + 0xc], edx
call dword [sym.imp.FineObj.dll_protected_virtual:_void___thiscall_FObj::CSetupBase::destructor_void_]
mov byte [esp + 0x34], 8
lea ecx, [esp + 0x3c]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 7
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x4177e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x417805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x417878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x41783a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x41786d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x41786b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x417831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4177fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x412004]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push 0x80000002
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401051
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040136e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.Release
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401041
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0x5cbf5
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0040136e
mov esp, ebp
pop ebp
ret
Function at 0x407a60
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x34], 0
jne 0x407b30
push ebx
push esi
push str.mapi32.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push 0xc
mov dword [edi + 0x18], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x407ad0
xorps xmm0, xmm0
movq qword [ebx], xmm0
push str.MAPIFreeBuffer
mov dword [ebx + 8], 0
push dword [edi + 0x18]
call esi
push str.MAPIAllocateBuffer
push dword [edi + 0x18]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebx + 8], esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebx], vtable.MapiAllocator.0
mov dword [ebx + 4], eax
jmp 0x407ad2
xor ebx, ebx
push str.MAPIInitialize
push dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
call esi
push str.MAPIUninitialize
push dword [edi + 0x18]
mov dword [edi + 0x24], eax
call esi
push str.MAPILogonEx
push dword [edi + 0x18]
mov dword [edi + 0x28], eax
call esi
push str.MAPIAdminProfiles
push dword [edi + 0x18]
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x24]
pop esi
pop ebx
test eax, eax
je 0x407b30
cmp dword [edi + 0x28], 0
je 0x407b30
cmp dword [edi + 0x2c], 0
je 0x407b30
push 0
call eax
mov dword [edi + 0x14], eax
test eax, eax
js 0x407b30
mov dword [edi + 0x34], 1
pop edi
ret

Function at 0x408810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40881f
pop dword [ebp - 0x4c]
mov eax, 0x2d695aaa
sub eax, 0x2d28d28b
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x5704d599
sub dword [ebp - 0x5c], 0x8b2904e
mov dword [ebp - 0x58], 0x5a3daa97
add dword [ebp - 0x58], 0xd7f5a1ae
mov dword [ebp - 0x54], 0x93405fe3
sub dword [ebp - 0x54], 0x46f41bb5
mov dword [ebp - 0x50], 0x31193992
add dword [ebp - 0x50], 0xcee6c66e
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xfcc61511
sub eax, 0xfc84e479
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x48b45ce1
add dword [ebp - 0x5c], 0x2bbe0c75
mov dword [ebp - 0x58], 0x4aa5ffd9
add dword [ebp - 0x58], 0xf6c6619c
mov dword [ebp - 0x54], 0xbe5b670b
sub dword [ebp - 0x54], 0x5aebfa9f
mov dword [ebp - 0x50], 0x6aca214d
sub dword [ebp - 0x50], 0x6aca214d
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x17358ead
sub eax, 0x16f45e75
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3980f
push 0
call eax
mov ecx, 0xbb651f8f
sub ecx, 0xbb64d935
xor edx, edx
add edx, eax
mov esi, 0x41a400
add esi, dword [ebp - 0x4c]
mov ebx, 0xd7a74af0
mov edi, dword [esi]
sub dword [ebp - 0xc], edi
xor edi, ebx
mov dword [edx], edi
xor dword [ebp - 0x44], 0xde760080
add edx, 0x7240dfcb
add edx, 0x8dbf2039
add esi, 0x56e47497
sub esi, 0x56e47493
loop 0x408937
add eax, 0x10c3b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x10003830
Capabilities:
Create directory
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x10023490]
xor eax, ebp
mov dword [ebp - 4], eax
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x214], 0
push 0x10020528
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1000389e
push str.Folder_created_successfully._n
call fcn.100094c7
add esp, 4
jmp 0x100038d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0xb7
jne 0x100038c5
push str.The_folder_already_exists._n
call fcn.100094c7
add esp, 4
jmp 0x100038d9
mov eax, dword [ebp - 0x274]
push eax
push str.Failed_to_create_folder._Error_code:__ld_n
call fcn.100094c7
add esp, 8
push str.client.exe
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 2
push 4
push 0
push 2
push 0x40000000
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0xffffffff
jne 0x10003923
push 0x10020588
call fcn.1000956e
add esp, 4
push 0
lea eax, [ebp - 0x214]
push eax
push 0x165388
push 0x10024738
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x44
push 0
lea eax, [ebp - 0x270]
push eax
call fcn.1000c4e0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x270], 0x44
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x270]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100039ec
push 0xffffffffffffffff
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x210]
push edx
call fcn.1000945c
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100086e1
mov esp, ebp
pop ebp
ret
Function at 0x10006010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c448
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10023490]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x44], 0
je 0x10006050
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x1000605c
mov al, 1
jmp 0x100061ff
mov dword [ebp - 0x10], 8
call fcn.10001160
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.10001160
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10001110
add esp, 8
movzx eax, al
test eax, eax
je 0x1000609f
xor al, al
jmp 0x100061ff
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.10005460
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.100055f0
mov ecx, eax
call fcn.10006540
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.10003aa0
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.100055f0
mov ecx, eax
call fcn.10006540
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x4c
push ecx
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x44]
call fcn.10006d20
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x1000611a
cmp dword [ebp - 0x5c], 1
je 0x10006121
cmp dword [ebp - 0x5c], 3
je 0x100061bb
jmp 0x100061d3
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x49], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.100055f0
mov ecx, eax
call fcn.10006540
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x10006184
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.100055f0
mov ecx, eax
call fcn.10006540
push eax
call fcn.10009874
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x10006184
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003a80
mov al, byte [ebp - 0x51]
jmp 0x100061ff
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x100061a7
mov byte [ebp - 0x52], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003a80
mov al, byte [ebp - 0x52]
jmp 0x100061ff
cmp dword [ebp - 0x38], 0
jne 0x100061b9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.100054e0
jmp 0x100061eb
mov byte [ebp - 0x53], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003a80
mov al, byte [ebp - 0x53]
jmp 0x100061ff
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003a80
mov al, byte [ebp - 0x54]
jmp 0x100061ff
jmp 0x100060b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100086e1
mov esp, ebp
pop ebp
ret

Function at 0x100086e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10023490]
jne 0x100086eb
repz ret
jmp fcn.1000c58c