joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bab50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52c7f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b339c]
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.COPCReadStream.0
mov dword [esp + 0x14], 0
mov ecx, dword [0x5b6bb0]
push str..OPCReadStream.cpp
push 0x4c
push str.COPCReadStream::COPCReadStream
call fcn.00402490
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
push 0x57ef93
push str..OPCReadStream.cpp
push 0x55
mov dword [esi + 0x30], 0
mov ecx, dword [0x5b6bb0]
push str.COPCReadStream::COPCReadStream
call fcn.00402520
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.004ba9b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4bab91
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52c7f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b339c]
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.COPCReadStream.0
mov dword [esp + 0x14], 0
mov ecx, dword [0x5b6bb0]
push str..OPCReadStream.cpp
push 0x4c
push str.COPCReadStream::COPCReadStream
call fcn.00402490
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
push 0x57ef93
push str..OPCReadStream.cpp
push 0x55
mov dword [esi + 0x30], 0
mov ecx, dword [0x5b6bb0]
push str.COPCReadStream::COPCReadStream
call fcn.00402520
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.004ba9b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4bbfb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52c7c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004ba950
mov dword [esp + 0x18], 0
push str..OPCWriteStream.cpp
push 8
mov dword [esi], vtable.COPCWriteStream.0
mov ecx, dword [0x5b6bb0]
push str.COPCWriteStream::COPCWriteStream
call fcn.00402490
mov edi, dword [esp + 0x20]
lea eax, [edi*8 + 0x10]
push eax
push 0x40
mov dword [esi + 0x24], 1
mov dword [esi + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x28], eax
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
push 0
mov dword [eax], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
push 0x57ef93
push str..OPCWriteStream.cpp
add eax, 0x10
push 0x1d
mov dword [esi + 0x38], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], edi
mov ecx, dword [0x5b6bb0]
push str.COPCWriteStream::COPCWriteStream
call fcn.00402520
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x10

Function at 0x4bc200
Capabilities:
Access peb ldr_data
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x52c989
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str..ServerToolkitNodeHandler.cpp
push 0x26b
push str.ServerToolkit::CNodeHandler::UnRegServer
mov esi, ecx
call fcn.004c6a00
mov ecx, eax
call fcn.00402490
add esi, 0x28
push esi
lea eax, [esp + 0xc]
push str.SOFTWAREMatrikonMarshalServers_
push eax
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___wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], 0
jae 0x4bc27a
lea eax, [esp + 0xc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0
push 0x57ef93
push str..ServerToolkitNodeHandler.cpp
push 0x271
push str.ServerToolkit::CNodeHandler::UnRegServer
call fcn.004c6a00
mov ecx, eax
call fcn.00402520
lea ecx, [esp + 8]
mov dword [esp + 0x30], 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 + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0051973e
add esp, 0x2c
ret
Function at 0x4bc350
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x52ca0b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push str..ServerToolkitNodeHandler.cpp
push 0x472
push 0x5668c8
mov dword [esp + 0x20], 2
call fcn.004c6a00
mov ecx, eax
call fcn.00402490
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
mov dword [esp + 8], 0
jae 0x4bc3b0
lea eax, [esp + 0x24]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0x57ea28
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4bc448
cmp dword [esp + 0x70], 8
mov ecx, dword [esp + 0x5c]
jae 0x4bc3e2
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x4bc3f1
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x6c]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x14
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x4bc448
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x4bc448
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x4bc448
mov ecx, dword [esp + 8]
push esi
push 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x57ef93
push str..ServerToolkitNodeHandler.cpp
push 0x4a2
push 0x5668c8
call fcn.004c6a00
mov ecx, eax
call fcn.00402520
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 1
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_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x14], 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_]
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], 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 + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x58
Function at 0x4c6c60
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x52dd9c
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, dword [esp + 0x74]
push str..ServerToolkitTCPConnection.cpp
xor ebx, ebx
push 0x1b6
push str.ServerToolkit::CTCPConnection::SocketToLocalIPAddressString
mov dword [esp + 0x78], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
call fcn.004c6a00
mov ecx, eax
call fcn.00402490
push str.Unknown.IP.Address
mov ecx, esi
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__]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x10
call sub.WS2_32.dll_getsockname
test eax, eax
jne 0x4c6d50
mov eax, dword [esp + 0x54]
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x74], 1
call fcn.00518000
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x70], 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 + 0x34]
mov byte [esp + 0x6c], 1
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_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esi + 0x14]
push eax
push str.wsIPAddress.length__
push str..ServerToolkitTCPConnection.cpp
push 0x1c3
push str.ServerToolkit::CTCPConnection::SocketToLocalIPAddressString
call fcn.004c6a00
mov ecx, eax
call fcn.00402520
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0051973e
add esp, 0x64
ret
Function at 0x4c7e50
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x52e13a
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov esi, dword [esp + 0x164]
push str..ServerToolkitTCPConnection.cpp
xor ebx, ebx
push 0x1e0
push str.ServerToolkit::CTCPConnection::GetServerIPs
mov dword [esp + 0x168], ebx
mov edi, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebx
call fcn.004c6a00
mov ecx, eax
call fcn.00402490
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
mov ecx, esi
call fcn.0050f9a0
mov eax, dword [edi + 0x64]
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x18], 1
cmp eax, ebx
je 0x4c7f30
cmp eax, 0xffffffff
je 0x4c7f30
mov edx, eax
push edx
call sub.WS2_32.dll_inet_ntoa
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004c79f0
add esp, 8
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esp + 0x164], 2
call fcn.00429c70
lea ecx, [esp + 0x30]
mov byte [esp + 0x15c], bl
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_]
jmp 0x4c7fae
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 0x4c]
push ecx
call sub.WS2_32.dll_gethostbyname
mov ebp, eax
cmp ebp, ebx
je 0x4c7fae
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp dword [eax], ebx
je 0x4c7fae
mov edx, dword [eax]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004c79f0
add esp, 8
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esp + 0x164], 1
call fcn.00429c70
lea ecx, [esp + 0x30]
mov byte [esp + 0x15c], bl
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 edx, dword [ebp + 0xc]
inc edi
cmp dword [edx + edi*4], ebx
lea eax, [edx + edi*4]
jne 0x4c7f61
mov eax, dword [esi + 0x1c]
push eax
push str.ServerIPs.size__
push str..ServerToolkitTCPConnection.cpp
push 0x200
push str.ServerToolkit::CTCPConnection::GetServerIPs
call fcn.004c6a00
mov ecx, eax
call fcn.00402520
mov eax, esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.0051973e
add esp, 0x14c
ret 4
Function at 0x4d1bb0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
push str..ServerToolkitConnection.cpp
push 0x170
push str.ServerToolkit::CConnection::Stop
mov esi, ecx
call fcn.004c6a00
mov ecx, eax
call fcn.00402490
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp dword [esi + 0x20], 0
je 0x4d1c34
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4d1c34
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x20]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4d1c34
call fcn.004c6a00
mov ecx, dword [eax]
mov edx, dword [ecx]
push str.ERROR:_Timed_out_waiting_for_thread_to_finish._Killing_thread...
push str.ServerToolkit::CConnection::Stop
push 1
push eax
call edx
mov eax, dword [esi + 0x20]
add esp, 0x10
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4d1c44
push eax
call ebx
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4d1c4e
push eax
call ebx
push edi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x57ef93
push str..ServerToolkitConnection.cpp
push 0x199
push str.ServerToolkit::CConnection::Stop
call fcn.004c6a00
mov ecx, eax
call fcn.00402520
pop edi
pop esi
pop ebx
ret

Function at 0x4d1d90
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov bl, al
test bl, bl
je 0x4d1ded
cmp byte [esp + 0x10], 1
jne 0x4d1ded
cmp dword [esi + 0x20], 0
jne 0x4d1ded
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x24], eax
test eax, eax
je 0x4d1deb
push 0
push 0
push esi
push 0x4d1c90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x4d1ded
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
ret 4
Function at 0x4d4460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52fe97
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
sub esp, 0x1c
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x58], 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__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x30]
push ecx
call fcn.004c6a90
add esp, 0x20
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x38], 1
jb 0x4d44c8
mov edx, dword [eax + 4]
mov dword [esp + 0xc], edx
jmp 0x4d44cf
add eax, 4
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esi], vtable.ServerToolkit::EBase.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__::constructor_void_]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
mov byte [esp + 0x3c], 4
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 + 0x40]
mov dword [esp + 0x38], 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 eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x1c
Function at 0x4e2b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51d379
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [0x5b6bb0]
push str..DevItem.cpp
push 0x3c1
push str.bil::CDevItem::ClientAddRef
call fcn.00402490
lea esi, [edi + 0xac]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.0050cc10
mov dword [esp + 0x30], 0
mov ecx, dword [0x5b6bb0]
mov edx, dword [esi]
mov edi, dword [ecx]
push edx
mov ecx, eax
call dword [sym.imp.MSVCP90.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]
mov ecx, dword [edi]
push eax
mov eax, dword [0x5b6bb0]
push str.Client_ref_added_for_DevItem__ls__now__d
push str.bil::CDevItem::ClientAddRef
push 8
push eax
call ecx
add esp, 0x18
mov dword [esp + 0x30], 0xffffffff
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_]
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret

Function at 0x4e2c50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51d379
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [0x5b6bb0]
push str..DevItem.cpp
push 0x3d9
push str.bil::CDevItem::ClientRelease
call fcn.00402490
lea esi, [edi + 0xac]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.0050cc10
mov dword [esp + 0x30], 0
mov ecx, dword [0x5b6bb0]
mov edx, dword [esi]
mov edi, dword [ecx]
push edx
mov ecx, eax
call dword [sym.imp.MSVCP90.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]
mov ecx, dword [edi]
push eax
mov eax, dword [0x5b6bb0]
push str.Client_ref_released_for_DevItem__ls__now__d
push str.bil::CDevItem::ClientRelease
push 8
push eax
call ecx
add esp, 0x18
mov dword [esp + 0x30], 0xffffffff
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_]
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x4e50e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x532331
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0x57ea28
lea ecx, [esp + 0x10]
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__]
xor ecx, ecx
mov dword [esp + 0x30], ecx
push ecx
push ecx
lea edx, [esp + 0x14]
push edx
push ecx
xor eax, eax
push eax
push ecx
mov ecx, esi
call fcn.004e5d10
mov byte [esp + 0x30], 2
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_]
mov dword [esi], vtable.bil::CEvent.0
mov dword [esp + 0x30], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x4e5d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5324bf
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004309d0
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push ecx
lea ecx, [esi + 0x28]
mov dword [esi], vtable.bil::CSimpleEvent.0
mov dword [esi + 0x24], eax
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x14], 1
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x4c], ecx
lea ecx, [esi + 0x54]
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], edx
call fcn.004e57e0
mov byte [esp + 0x14], 2
mov ecx, dword [0x5b6bb0]
push str..SimpleEvent.cpp
push 0x21
push 0x5707e8
call fcn.00402490
mov ecx, dword [0x5b6bb0]
push 0
push 0x57ef93
push str..SimpleEvent.cpp
push 0x23
push 0x5707e8
call fcn.00402520
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18