joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7bf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004f019a
mov esp, ebp
pop ebp
ret

Function at 0x4c7c50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
cmp eax, 6
ja 0x4c7cb6
jne 0x4c7ca6
cmp dword [ebp - 0x110], 0
ja 0x4c7cb6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f019a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.004f019a
mov esp, ebp
pop ebp
ret
Function at 0x4cb120
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [esp + 0x214]
test esi, esi
push edi
je 0x4cb1fb
mov edi, dword [esp + 0x21c]
test edi, edi
je 0x4cb1fb
push 0x206
lea eax, [esp + 0x12]
push 0
push eax
mov word [esp + 0x18], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esi + 0x58]
mov dword [esp + 0x14], 0x206
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
lea ecx, [esi + 0x3c]
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
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4cb1fb
add esi, 4
mov ecx, esi
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
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4cb1c5
mov ecx, esi
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
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cb1fb
mov ecx, dword [esp + 0x220]
add ecx, 0xffffffff
push ecx
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret 0xc
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret 0xc

Function at 0x4cb210
Capabilities:
Check if file exists
Query environment variable

Disassembly:
sub esp, 0x208
push esi
push edi
mov edi, dword [esp + 0x214]
test edi, edi
je 0x4cb2a1
mov esi, dword [esp + 0x218]
test esi, esi
je 0x4cb2a1
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x100
lea ecx, [edi + 0x74]
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
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [edi + 4]
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
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esp + 0x21c]
add eax, 0xffffffff
push eax
push esi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
add esp, 0x208
ret 0xc
pop edi
xor eax, eax
pop esi
add esp, 0x208
ret 0xc
Function at 0x4cb2b0
Capabilities:
Get file version info

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x90
push ebp
xor ebp, ebp
cmp eax, ebp
je 0x4cb3de
cmp dword [esp + 0x9c], ebp
je 0x4cb3de
push ebx
push esi
lea ecx, [esp + 0x18]
push ecx
push eax
xor esi, esi
mov dword [esp + 0x20], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, ebp
je 0x4cb3d0
push edi
push ebx
call sub.MFC80U.DLL_Ordinal_265
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x4cb3cf
push ebx
push ebp
push edi
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0xb0]
add esp, 0xc
push edi
push ebx
push ebp
push edx
call sub.VERSION.dll_GetFileVersionInfoW
mov esi, eax
cmp esi, ebp
je 0x4cb3c6
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.VarFileInfoTranslation
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
cmp esi, ebp
je 0x4cb3c6
cmp dword [esp + 0x10], 4
jb 0x4cb3c6
push 0x7e
lea edx, [esp + 0x26]
push ebp
push edx
mov word [esp + 0x2c], bp
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xFileDescription
lea eax, [esp + 0x38]
push 0x3c
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x20
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push edi
mov dword [esp + 0x24], ebp
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
cmp esi, ebp
je 0x4cb3c6
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xa8]
add ecx, 0xffffffff
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea esi, [ebp + 1]
push edi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
add esp, 0x90
ret 0xc
xor eax, eax
pop ebp
add esp, 0x90
ret 0xc

Function at 0x4cc290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5034f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
push 4
call sub.MFC80U.DLL_Ordinal_762
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
add esp, 4
lea edx, [esi + 0x44]
mov dword [eax], ecx
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
call fcn.00447b00
mov edi, dword [esi + 0x30]
mov ecx, dword [edi + 4]
add esi, 0x2c
lea eax, [esp + 0xc]
push eax
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x28], 0
call fcn.004cff10
push 1
mov ecx, esi
mov ebx, eax
call fcn.004cbc10
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x10]
mov dword [eax], ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.00447b20
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4cdc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ffa78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [esi + 0x28], eax
call fcn.004cda00
lea ecx, [esp + 0xc]
call fcn.004473d0
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x2c]
test eax, eax
mov dword [esp + 8], ecx
je 0x4cdce9
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 0x1e
lea ecx, [esp + 0x10]
push ecx
push 8
lea ecx, [esp + 0x10]
push ecx
push 0x526e
push str._1_0_0
push eax
call edx
test eax, eax
jge 0x4cdd11
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004473e0
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4cdd38
mov ecx, dword [eax]
push 0x1e
lea edx, [esp + 0x10]
push edx
push 8
lea edx, [esp + 0x10]
push edx
push 0x5280
push str._1_0_0
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x20], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0x24], 1
mov dword [esp + 0x30], 0xffffffff
call fcn.004473e0
mov ecx, dword [esp + 0x28]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10

Function at 0x4ce260
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ce2d6
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x4ce2a5
cmp eax, 2
jne 0x4ce2c1
test esi, esi
mov eax, dword [esp + 0x14]
je 0x4ce2d0
test eax, eax
je 0x4ce2cb
test al, 1
jne 0x4ce2c1
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x4ce2d0
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x4ce3f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
push eax
xor esi, esi
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4ce4bb
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x4ce4a6
cmp edi, 0xffffffff
je 0x4ce4a6
push edi
call sub.MFC80U.DLL_Ordinal_265
mov esi, eax
add esp, 4
test esi, esi
je 0x4ce4a6
push edi
push ebp
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ce4a6
cmp dword [esp + 0x10], edi
jne 0x4ce4a6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
push edi
push esi
push str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
call sub.MSVCR80.dll_strlen
add esp, 4
push eax
push str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
call fcn.004f5760
add esp, 0x18
test eax, eax
jne 0x4ce4ad
mov ecx, dword [esp + 0x1c]
push edi
push esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov ebp, 1
jmp 0x4ce4ad
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop edi
je 0x4ce4bb
push esi
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4d8060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ffe78
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
lea eax, [esi + 0xd4]
push eax
lea ecx, [esp + 0x18]
call fcn.00447b00
mov ecx, dword [esi + 0x30]
lea eax, [esi + 0x2c]
mov esi, dword [esp + 0x14]
push esi
push ecx
mov edx, ecx
mov edx, dword [edx]
mov ecx, dword [esp + 0x20]
push eax
push edx
push eax
mov dword [esp + 0x20], 0
call fcn.004d6760
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.00447b20
mov ecx, dword [esp + 4]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8

Function at 0x4dde60
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1210
call fcn.004f04f0
push edi
xor edi, edi
push 0xffc
lea eax, [esp + 0x21c]
push edi
push eax
mov dword [esp + 0x220], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x1000
lea edx, [esp + 0x21c]
push edx
mov dword [esp + 0x10], edi
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x4ddeb1
pop edi
add esp, 0x1210
ret
test dword [esp + 4], 0xfffffffc
mov dword [esp + 8], edi
jbe 0x4ddf6a
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
mov eax, dword [esp + edi*4 + 0x220]
push eax
push 0
push 0x410
call ebp
mov esi, eax
test esi, esi
je 0x4ddf38
push 0x206
lea ecx, [esp + 0x1e]
push 0
push ecx
mov word [esp + 0x24], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x103
lea edx, [esp + 0x1c]
push edx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x4ddf31
push str.explorer.exe
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x4ddf55
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
add edi, 1
shr ecx, 2
cmp edi, ecx
jb 0x4dded2
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x1210
ret
mov edx, dword [esp + edi*4 + 0x220]
push esi
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop ebx
mov eax, dword [esp + 8]
pop edi
add esp, 0x1210
ret
Function at 0x4deba0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5009d9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x564610]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x564610]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x40]
cmp ebx, 0x146a
mov edi, dword [esp + 0x48]
mov esi, ecx
jne 0x4dec40
test edi, edi
je 0x4debf3
push 3
mov ecx, edi
call fcn.004e3690
mov dword [esi + 0x20], eax
xor eax, eax
cmp dword [esi + 0x20], eax
mov dword [esi + 0x2c], 0
setne al
mov dword [esi + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x20]
push eax
push ecx
push 0x146a
push str.CBrowserView::OnExctueCommunication_dwMsg_d_m_hProxyWnd_08x_dwProcessId_d
push 0xd
push str..BrowserFactoryBrowserView.cpp
call fcn.004f3a00
mov edx, dword [esi + 0x20]
mov eax, dword [esi - 0x58]
add esp, 0x18
push edx
push 0
push 0x146a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4decb5
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_void_]
test edi, edi
mov dword [esp + 0x38], 0
je 0x4dec64
lea ecx, [esp + 0x10]
push ecx
push 8
mov ecx, edi
call fcn.004e36c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x14]
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
push ebx
push str.CBrowserView::OnExctueCommunication_dwMsg_d_strContext_s_dwProcessId_d
push 0xd
push str..BrowserFactoryBrowserView.cpp
call fcn.004f3a00
add esp, 0x18
lea ecx, [esp + 0x10]
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]
mov edx, dword [esi - 0x58]
push eax
push 0
push ebx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
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, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004f019a
add esp, 0x2c
ret 0xc
Function at 0x4dee10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x500a58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x564610]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x30]
xor eax, eax
test edi, edi
setg al
lea ecx, [esp + 0xc]
mov dword [esi + 0x114], eax
call fcn.004e0f30
push edi
push 7
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004e3b80
push 2
call fcn.004de7b0
add esp, 4
test eax, eax
lea ecx, [esp + 0xc]
je 0x4deeb4
mov edx, dword [esi + 0xf4]
push ecx
push 0x146e
push edx
mov ecx, eax
call fcn.004df700
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004e0f50
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
mov dword [esp + 0x28], 0xffffffff
call fcn.004e0f50
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x4e17a0
Capabilities:
Create thread

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
push esi
mov esi, ecx
je 0x4e17d0
mov eax, edx
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e17b1
sub eax, edi
sar eax, 1
pop edi
je 0x4e17d0
push edx
lea ecx, [esi + 0x98]
call dword [sym.imp.MSVCP80.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_wchar_t_const__]
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x84], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x88], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], edx
je 0x4e1841
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x4e1690
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x78], eax
mov eax, 1
pop esi
ret 0x24
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004e1530
mov eax, 1
pop esi
ret 0x24
Function at 0x4e49e0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x4e4910
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
mov edx, dword [esi + 0xc]
add esp, 0x18
push 0xffffffffffffffff
push edx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
add eax, 1
pop esi
pop ecx
ret

Function at 0x4e4a60
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
mov dword [esi + 4], 1
je 0x4e4ab6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.CMonitorThread::DestroyMonitor_1_GetCurrentProcessId_d
push 0xd
push str..CommunicationMonitorThread.cpp
call fcn.004f3a00
mov eax, dword [esi]
add esp, 0x10
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4e4aa7
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, 1
pop esi
ret

Function at 0x4e4bf0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0
mov esi, ecx
push esi
push 0x4e4ba0
push 0
push 0
mov dword [esi + 4], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.CMonitorThread::CreateMonitor___GetCurrentProcessId_d
push 0xd
push str..CommunicationMonitorThread.cpp
call fcn.004f3a00
xor eax, eax
add esp, 0x10
cmp dword [esi], eax
pop esi
setne al
pop ecx
ret
Function at 0x4e4cd0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4e4dca
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4e4dca
push ebx
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push edi
push esi
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4e4d7e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.CRequestCommunicationer::CreateExtProcess__FAIDL_1_dwProcessId_d
push 0xd
push str..CommunicationRequestCommunication.cpp
call fcn.004f3a00
mov eax, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebx
push esi
call sub.MFC80U.DLL_Ordinal_764
push edi
call sub.MFC80U.DLL_Ordinal_764
add esp, 8
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 8
mov edx, dword [esp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebx
push esi
call sub.MFC80U.DLL_Ordinal_764
push edi
call sub.MFC80U.DLL_Ordinal_764
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x51cf58
push 0xd
push str..CommunicationRequestCommunication.cpp
call fcn.004f3a00
add esp, 0x10
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x54
ret 8
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 8
Function at 0x4e5450
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5011eb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x564610]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x4e55ea
push 0x14
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x38], 0
je 0x4e54a9
mov ecx, eax
call fcn.004e0de0
mov esi, eax
jmp 0x4e54ab
xor esi, esi
mov eax, dword [edi + 8]
cdq
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 0
mov ecx, esi
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x20], edx
call fcn.004e3c10
mov eax, dword [edi + 4]
lea ecx, [esp + 0x1c]
cdq
push ecx
push 1
mov ecx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call fcn.004e3c10
mov edx, dword [edi + 0xc]
push edx
push 2
mov ecx, esi
call fcn.004e3b80
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
mov dword [esp + 0x14], 0
call edx
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4e552d
push eax
push 3
mov ecx, esi
call fcn.004e3b80
mov eax, dword [esp + 0x10]
push eax
push ebx
push 4
mov ecx, esi
call fcn.004e3ac0
mov dword [esp + 0x40], 0
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call edx
test eax, eax
je 0x4e55e0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4e55e0
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
call ebx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [edi + 4]
push eax
push ecx
push str.CCopyDataMode::SendData_Before_datalen_d_hSendWnd_08x_dwProcessId_d
push 0xd
push str..Communicationcopydata_modeCopyDataMode.cpp
call fcn.004f3a00
mov eax, dword [edi + 4]
add esp, 0x18
lea edx, [esp + 0x24]
push edx
push 0
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push edi
call ebx
mov ecx, dword [esp + 0x44]
push eax
push ecx
push 0x51d4a8
push 0xd
push str..Communicationcopydata_modeCopyDataMode.cpp
call fcn.004f3a00
add esp, 0x18
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4