joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50b490
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x53c4fa
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
cmp dword [esi + 0x20], 0
je 0x50b50c
push 0x5c6e04
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5c6e04
mov dword [0x5c6f84], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x20]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x50b502
mov ecx, dword [esi + 0x20]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0050b540
mov dword [esp + 0x10], 0xffffffff
push esi
call fcn.0050cd00
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x50f210
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push esi
push 0x50f2b0
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xbb8], eax
pop ecx
ret

Function at 0x50f240
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov esi, eax
lea edi, [esi + 0xb9c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0xbb8], 0
je 0x50f29d
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0xbb8]
push 0x7530
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x50f286
mov ecx, dword [esi + 0xbb8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0xbb8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xbb8], 0
add esi, 4
push esi
call dword [sym.imp.libSock.module_FreeUPNPUrls]
add esp, 4
pop edi
pop esi
ret
Function at 0x511220
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x54ae39
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [0x5c7008]
lea eax, [esp + 0x14]
push eax
push 1
push str.IF_CH_LinkInfoImages
call fcn.00514350
cmp dword [esp + 0x14], 0
jne 0x5112a7
lea eax, [esp + 0x58]
call fcn.00413720
test dword [eax + 0x18], 0x100000
jne 0x5112a7
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push ecx
push edx
push 0
push 0
push esi
mov esi, 2
call fcn.0050f800
lea eax, [esi - 1]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret 8
lea ecx, [esp + 0x10]
call dword [0x55a6c4]
mov dword [esp + 0x50], 0
push 0x400
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 0x56152c
lea ecx, [esp + 0x14]
call dword [0x55a294]
push str.wtw_temp_image.image
lea ecx, [esp + 0x14]
call dword [0x55a294]
push 0x30
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x58]
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x3c], 0x50fc90
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], ecx
call fcn.00413720
mov edx, dword [eax + 8]
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], 5
call fcn.00413720
mov ecx, dword [0x5c6f5c]
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x1c]
push 0
push edx
mov dword [esp + 0x2c], eax
call fcn.004ef370
add esp, 0xc
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret 8
Function at 0x516750
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x553fc5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
mov eax, edi
call fcn.004a6e70
xor ebx, ebx
mov dword [esp + 0x24], ebx
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.CNetLib.0
call fcn.004d3aa0
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x5c6ed0]
lea ebp, [edi + 0x24]
push str.SELECT_COUNT___FROM_sqlite_master_WHERE_namecertCache_
mov dword [ebp], ebx
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CConnection::executeAndRead_wchar_t_const___int__]
cmp dword [esp + 0x18], ebx
jne 0x5167de
mov ecx, dword [0x5c6ed0]
mov esi, dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CConnection::executeNoRead_wchar_t_const__]
push str.CREATE_TABLE_certCache____guid__VARCHAR_64_____status__INT___
call esi
mov ecx, dword [0x5c6ed0]
push str.CREATE_UNIQUE_INDEX_certCacheUnique_ON_certCache___guid___
call esi
push ebx
push edi
push 0x515780
push str.NetLib_Create
push ebx
mov dword [edi + 0x38], ebx
call fcn.004b3880
push ebx
push edi
push 0x515a90
push str.NetLib_Destroy
push ebx
call fcn.004b3880
push ebx
push edi
push 0x515bf0
push str.NetLib_Connect
push ebx
call fcn.004b3880
push ebx
push edi
push 0x515d30
push str.NetLib_Close
push ebx
call fcn.004b3880
push ebx
push edi
push 0x515e10
push str.NetLib_Send
push ebx
call fcn.004b3880
push ebx
push edi
push 0x515f60
push str.NetLib_InitSSL
push ebx
call fcn.004b3880
push ebx
push edi
push 0x516240
push str.NetLib_InitSRVSSL
push ebx
call fcn.004b3880
push ebx
push edi
push 0x515c90
push str.NetLib_ConnectService
push ebx
call fcn.004b3880
push str.Iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x34], eax
cmp eax, ebx
je 0x516908
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FreeMibTable
push eax
call esi
mov edx, dword [edi + 0x34]
push str.NotifyStableUnicastIpAddressTable
push edx
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x34]
push str.CancelMibChangeNotify2
push eax
call esi
mov dword [edi + 0x30], eax
cmp dword [edi + 0x2c], ebx
je 0x5168f2
mov ecx, dword [edi + 0x28]
cmp ecx, ebx
je 0x5168f2
cmp eax, ebx
je 0x5168f2
push ebp
push edi
push 0x516b10
lea edx, [esp + 0x20]
push edx
push 0x17
mov dword [esp + 0x28], ebx
call ecx
cmp eax, ebx
jne 0x516908
mov eax, dword [esp + 0x14]
push eax
call fcn.005169f0
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x2c]
push ecx
call edx
jmp 0x516908
mov eax, dword [edi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 0x34], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x30], ebx
call fcn.00516b30
mov dword [esp + 0x24], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x516e20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x533b39
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x5c6ed0]
push str.INSERT_OR_REPLACE_INTO_certCache_VALUES_______
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
push 0xffffffffffffffff
push eax
push 1
lea ecx, [esp + 0x10]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
lea edx, [esp + 0x28]
push edx
push 2
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 1
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__int_const__]
lea ecx, [esp + 4]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::executeNoRead_void_]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 4]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
add esp, 0x20
ret 4
Function at 0x5178b0
Capabilities:
Access peb ldr_data
Get ntdll base address
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x534279
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x5c6ed0]
push str.SELECT_status_FROM_certCache_WHERE_guid__
xor esi, esi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
push 0xffffffffffffffff
push eax
push 1
lea ecx, [esp + 0x18]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::executeAndRead_int__]
mov esi, dword [esp + 8]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4
Function at 0x51b150
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5377db
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call dword [0x55a6c4]
mov dword [esp + 0x1c], 0
lea ecx, [esp + 8]
call dword [0x55a6c4]
mov byte [esp + 0x1c], 1
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea eax, [esp + 0x10]
push esi
push eax
mov edi, str..bak
call fcn.0040f2b0
add esp, 8
mov byte [esp + 0x1c], 2
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov byte [esp + 0x1c], 1
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [esp + 0x1c], 0
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x18
ret

Function at 0x51c3b0
Capabilities:
Find taskbar

Disassembly:
sub esp, 8
push 0
push str.Shell_TrayWnd
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x51c41d
push esi
mov esi, dword [sym.imp.USER32.dll_EnumChildWindows]
lea ecx, [esp + 4]
push ecx
push 0x51c270
push eax
call esi
mov eax, dword [esp + 4]
test eax, eax
je 0x51c418
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x51c414
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x51c310
push eax
mov dword [esp + 0x14], 0
call esi
mov eax, dword [esp + 8]
test eax, eax
jne 0x51c418
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x51c770
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x54bb09
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xc]
call dword [0x55a520]
mov dword [esp + 0x14], 0
push 0x58eeb4
push 0x58eeb8
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
mov ecx, dword [esp + 8]
cmp dword [ecx - 0xc], 0
je 0x51c822
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x51c822
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [esp + 8]
mov eax, dword [edx - 0xc]
lea eax, [eax + eax + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 8]
mov edx, dword [ecx - 0xc]
push edx
push ecx
push eax
call dword [sym.imp.MSVCR90.dll_wcsncpy]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x51c850
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x51c8a6
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push 0xd
call esi
test eax, eax
je 0x51c87e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push esi
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
jmp 0x51c898
push 1
call esi
test eax, eax
je 0x51c89f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push esi
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
ret
Function at 0x51cae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x537642
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5c403c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.0051ca00
mov dword [esp + 0x30], 0
lea ecx, [esp + 8]
push ebx
push ecx
mov ecx, eax
call fcn.0040e540
add esp, 8
mov byte [esp + 0x30], 2
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x10]
push edx
add ecx, ecx
push ecx
push eax
call dword [sym.imp.libCryptoWtw.module_int___cdecl_wtwCryptoHashMD5Bin_char_const___int__unsigned_char__]
mov edx, dword [esp + 0x1c]
mov ax, word [esp + 0x20]
mov cx, word [esp + 0x22]
mov dword [edi], edx
mov edx, dword [esp + 0x24]
mov word [edi + 4], ax
mov eax, dword [esp + 0x28]
add esp, 0xc
mov word [edi + 6], cx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00532776
add esp, 0x2c
ret

Function at 0x51dba0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push esi
push 0x3c
lea eax, [esp + 0x38]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor eax, eax
push 0x2c
lea edx, [esp + 8]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xc], 0x2c
call esi
push eax
call sub.PSAPI.DLL_GetProcessMemoryInfo
mov eax, dword [esp + 0x2c]
lea eax, [eax + eax*2]
push eax
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x51dce0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x55a9c0
push 1
push 0
push 0x55aa60
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x51dd62
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [esp]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
push ecx
call eax
test eax, eax
jl 0x51dd62
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x55aa70
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x51dd62
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x51df90
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x533972
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c403c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call dword [0x55a6c4]
xor ebx, ebx
mov dword [esp + 0x40], ebx
push 2
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
mov byte [esp + 0x40], 1
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push str.._s
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x14]
push ebx
push ebx
push 3
push ebx
push 3
push Ordinal_4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, ebx
je 0x51e0f2
cmp esi, 0xffffffff
je 0x51e0f2
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 8
lea edx, [esp + 0x2c]
push edx
push 0xc
lea eax, [esp + 0x3c]
push eax
push 0x2d1400
push esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x51e0d5
mov eax, dword [esp + 0x24]
push eax
mov ebp, eax
call sub.mfc90u.dll_new__
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x51e089
push ebp
push ebx
push edi
call sub.MSVCR90.dll_memset
add esp, 0xc
jmp 0x51e08b
xor edi, edi
mov edx, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
push 0xc
lea eax, [esp + 0x3c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je case.0x51e0c0.5
mov eax, dword [edi + 0x1c]
add eax, 0xfffffffc
cmp eax, 9
ja case.0x51e0c0.5
movzx ecx, byte [eax + 0x51e130]
jmp dword [ecx*4 + 0x51e128]
mov ebx, 1
push edi
call sub.mfc90u.dll_delete__
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
jmp 0x51e106
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00532776
add esp, 0x30
ret
Function at 0x51e140
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0x58f04c
push 1
push 0
push 0x58f03c
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x51e1a7
mov eax, dword [esp + 4]
test eax, eax
je 0x51e1ab
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x51e1a7
mov eax, dword [esp + 8]
test eax, eax
je 0x51e1bb
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x51e1bf
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x51e1cb
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, esi
pop esi
add esp, 8
ret