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

Disassembly:
push 0xffffffffffffffff
push 0x435a61
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4508cc]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4508cc]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
push str.NeroScoutOptions_SingleInstance_8E1650EF_E394_4ec3_B2B3_BDFA0BE7E450
lea ecx, [esp + 0x18]
xor ebx, ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [edi + 0xa8], eax
je 0x40beb9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40beb7
lea ecx, [esp + 0x10]
call fcn.004131e0
push 0x8b
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call fcn.004131f0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, ebx
je 0x40be98
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [edi + 0xa8], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x40beb9
mov bl, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00412bbe
add esp, 0x30
ret

Function at 0x40bff0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareAheadNero_Scout
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [edi], 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40c091
push esi
mov esi, dword [esp + 0x1c]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x43d45c
push esi
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c063
cmp dword [esp + 0xc], 4
je 0x40c085
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push 0x43d45c
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [edi], 1
test esi, esi
je 0x40c090
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
add esp, 0x10
ret
Function at 0x40c0a0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x210
mov eax, dword [0x4508cc]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp byte [esp + 0x214], 0
mov al, byte [esp + 0x218]
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 4]
mov byte [esi], 0
mov byte [esi + 1], al
mov dword [ebp], 0
je 0x40c14f
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x40c14f
push ebx
push edi
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0
mov byte [esi], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov edi, dword [sym.imp.MSVCR80.dll___iob_func]
call edi
mov ebx, dword [sym.imp.MSVCR80.dll_freopen_s]
add eax, 0x20
push eax
push 0x43d4b8
lea eax, [esp + 0x18]
push 0x43d4b4
push eax
call ebx
call edi
add eax, 0x40
push eax
push 0x43d4b8
lea ecx, [esp + 0x28]
push 0x43d4b4
push ecx
call ebx
push str.___Debug_console_started___
call dword [sym.imp.MSVCR80.dll_puts]
add esp, 0x24
pop edi
pop ebx
push ebp
push 0x43b008
push 0x17
push 0
push 0x43b02c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x40c176
cmp byte [esi], 0
je 0x40c176
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov byte [esi], 0
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.00412bbe
add esp, 0x210
ret 8

Function at 0x40dd80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x435e6a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4508cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi], vtable.COptions.0
mov dword [esi + 4], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 4
call fcn.004121c0
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 5
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x7c]
mov byte [esp + 0x18], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov ecx, esi
mov byte [esp + 0x18], 7
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
call fcn.0040dab0
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40e280
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x435f38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4508cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x38]
xor ebp, ebp
cmp ecx, ebp
je 0x40e2b8
cmp dword [esi + 8], ebp
jne 0x40e2c2
mov eax, 0x80004003
jmp 0x40e3ad
call fcn.00411a80
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x1c], esi
jl 0x40e3ab
xor ebx, ebx
cmp dword [esp + 0x18], ebp
jle 0x40e3a0
mov dword [esp + 0x20], vtable.CAutoDestructor_class_CNMFUri___class_CObjectDeleter_class_CNMFUri___0_.0
mov edi, edi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + ebx*8 + 4]
xor edi, edi
test al, 1
je 0x40e313
mov edi, 1
test al, 0x10
je 0x40e321
or edi, 2
test al, 0x20
je 0x40e321
or edi, 4
mov ecx, dword [ecx + ebx*8]
push ebp
push ecx
call fcn.00433360
add esp, 4
push eax
call fcn.00432fe0
mov esi, eax
add esp, 8
mov dword [esp + 0x24], esi
cmp esi, ebp
mov dword [esp + 0x30], ebp
je 0x40e367
lea ecx, [esi + 0xa0]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e367
mov ecx, dword [esp + 0x38]
push edi
push esi
call fcn.00411ea0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ebx*8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebp
mov dword [esp + 0x30], 0xffffffff
je 0x40e38f
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x24], ebp
add ebx, 1
cmp ebx, dword [esp + 0x18]
jl 0x40e300
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x40fe60
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x4508cc]
xor eax, esp
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x168]
push 0x4009
push 0x160
lea ecx, [esp + 8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 4]
xor ecx, esp
call fcn.00412bbe
add esp, 0x164
ret 4

Function at 0x412090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43633b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4508cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CWatchedUrisManager.0
mov eax, dword [ecx + 8]
lea esi, [ecx + 4]
mov ecx, dword [eax + 4]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.00411010
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.00411980
mov eax, dword [esi + 4]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x412bbe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4508cc]
jne 0x412bc8
repz ret
jmp fcn.00413091
Function at 0x414c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436661
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4508cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0x43affc
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0xc]
push eax
push 0
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.0041a3d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x4189d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x436d83
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4508cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x45f8e4
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.tinyxml::TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x45f8e4
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x43e944
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0041cf50
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x41a600
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x41a611
call fcn.0041a590
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x41a620
mov eax, dword [eax + 4]
jmp 0x41a623
add eax, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push 0
push edx
push 0
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
pop esi
je 0x41a65f
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.0041a030
push 0x448e60
lea ecx, [esp + 4]
push ecx
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x14
ret 0xc

Function at 0x41a670
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x41a681
call fcn.0041a590
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x41a690
mov eax, dword [eax + 4]
jmp 0x41a693
add eax, 4
mov edx, dword [esi + 0x1c]
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
je 0x41a6cc
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.0041a030
push 0x448e60
lea eax, [esp + 4]
push eax
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x14
ret 8

Function at 0x41a6e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0041a600
cmp dword [esp + 8], 4
je 0x41a736
push 0x50000
push 0x65d
lea ecx, [esp + 0x18]
call fcn.0041a030
push 0x448e60
lea edx, [esp + 0x14]
push edx
call sub.MSVCR80.dll__CxxThrowException
cmp dword [esi + 0x18], 8
mov dword [esp + 0x28], 0
jb 0x41a749
mov esi, dword [esi + 4]
jmp 0x41a74c
add esi, 4
mov edx, dword [edi + 0x1c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41a787
push 0x50000
push eax
lea ecx, [esp + 0x18]
call fcn.0041a030
push 0x448e60
lea eax, [esp + 0x14]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x28]
pop edi
pop esi
add esp, 0x1c
ret 4
Function at 0x41a7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4370f2
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4508cc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.0041a600
cmp dword [esp + 0x14], 1
je 0x41a815
push 0x50000
push 0x65d
lea ecx, [esp + 0x34]
call fcn.0041a030
push 0x448e60
lea edx, [esp + 0x30]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
push ecx
add eax, 1
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], ebx
call fcn.004140c0
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x48], 1
je 0x41a849
mov edx, dword [esp + 0x24]
sub edx, eax
sar edx, 1
jne 0x41a853
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
cmp dword [edi + 0x18], 8
jb 0x41a85e
mov ecx, dword [edi + 4]
jmp 0x41a861
lea ecx, [edi + 4]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esi + 0x1c]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x41a896
push 0x50000
push eax
lea ecx, [esp + 0x34]
call fcn.0041a030
push 0x448e60
lea ecx, [esp + 0x30]
push ecx
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41a8a8
mov edx, dword [esp + 0x24]
sub edx, eax
sar edx, 1
jne 0x41a8b2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x50]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x18], 1
mov byte [esp + 0x48], bl
je 0x41a8e7
mov ecx, dword [esp + 0x28]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 8
Function at 0x41b680
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4373b5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4508cc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push str.mailto:
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [esp + 0x2c], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx - 0xc]
push ebx
push 0x40
lea ecx, [esp + 0x1c]
mov edi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
cmp eax, 0xffffffff
je 0x41b727
push esi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov ecx, dword [esp + 0x18]
push ecx
mov ebx, 1
mov ecx, eax
mov byte [esp + 0x30], 2
mov dword [esp + 0x20], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
mov byte [esp + 0x13], bl
jne 0x41b72c
mov byte [esp + 0x13], 0
test bl, 1
mov dword [esp + 0x2c], 1
je 0x41b743
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp byte [esp + 0x13], 0
je 0x41b77b
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00407220
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0x14]
push 5
push 0x43affc
push 0
push edx
push 0x43f408
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x41ba20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp]
push eax
push 1
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41bb03
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esi + 1]
lea eax, [esi + esi]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
call fcn.004140c0
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
je 0x41ba8b
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 1
jne 0x41ba91
call ebp
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41bab8
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 1
jne 0x41babe
call ebp
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
push esi
push eax
push esi
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0xc], 0
je 0x41bafe
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x41bb10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x8ac
mov eax, dword [0x4508cc]
xor eax, esp
mov dword [esp + 0x8a8], eax
push ebx
mov ebx, dword [esp + 0x8b4]
push esi
xor esi, esi
cmp ebx, esi
je 0x41bc89
cmp dword [esp + 0x8c0], esi
je 0x41bb60
push ebx
call fcn.0041b680
add esp, 4
pop esi
pop ebx
mov ecx, dword [esp + 0x8a8]
xor ecx, esp
call fcn.00412bbe
add esp, 0x8ac
ret
push 0x820
lea eax, [esp + 0x92]
push esi
push eax
mov word [esp + 0x98], si
call sub.MSVCR80.dll_memset
push 0x410
lea ecx, [esp + 0x9c]
push ecx
push str..htm
push SysReAllocStringLen
call fcn.0041ba20
add esp, 0x1c
test eax, eax
jne 0x41bca2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea edx, [esp + 0x94]
push edx
call edi
push 0x410
lea eax, [esp + 0x94]
push eax
mov ecx, eax
push ecx
push SysReAllocStringLen
call fcn.0041ba20
add esp, 0x10
test eax, eax
jne 0x41bc88
push ebp
mov ebp, dword [sym.imp.MSVCR80.dll_wcsstr]
lea edx, [esp + 0x94]
push str.__1_
push edx
call ebp
mov esi, eax
add esp, 8
test esi, esi
jne 0x41bc2b
lea eax, [esp + 0x94]
push 0x43f438
push eax
call ebp
mov esi, eax
add esp, 8
test esi, esi
jne 0x41bc2b
lea ecx, [esp + 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esp + eax*2 + 0x92]
jmp 0x41bc30
mov word [esi], 0
push 0x43f434
push esi
call edi
push ebx
push esi
call edi
lea edx, [esp + 0x14]
mov dword [esp + 0x10], edx
call dword [0x45ec4c]
push eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x18]
call fcn.0041b7c0
mov ecx, dword [esp + 0x8c4]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
pop ebp
je 0x41bc88
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x8a8]
xor ecx, esp
call fcn.00412bbe
add esp, 0x8ac
ret
mov edx, dword [esp + 0x8bc]
push edx
push esi
push esi
push ebx
push str.explore
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x8b0]
pop esi
pop ebx
xor ecx, esp
call fcn.00412bbe
add esp, 0x8ac
ret
Function at 0x41bcd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
cmp dword [0x45f6cc], 0
mov dword [0x45f6c8], 0
je 0x41bcec
xor eax, eax
add esp, 0xc
ret
mov eax, 0x45f6d8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41bcf4
sub eax, edx
sar eax, 1
push esi
jne 0x41bd71
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.CLSIDc6f7158b_a330_474c_b76e_ecf14355aabaInprocServer32
push SysReAllocStringLen
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41bd85
lea ecx, [esp + 0xc]
push ecx
push 0x45f6d8
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41bd62
cmp dword [esp + 8], 1
jne 0x41bd62
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41bd85
push 0x45f6d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x45f6cc], eax
jne 0x41bda1
cmp dword [0x45f6c8], 0
jle 0x41bd97
mov word [0x45f6ca], 0x8007
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
xor eax, eax
pop esi
add esp, 0xc
ret