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

Disassembly:
push ecx
push ecx
mov eax, dword [0x564610]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
test eax, eax
push edi
mov dword [esp + 0x10], 0x80004005
je 0x4364ca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xc], 0
mov ebx, dword [sym.imp.MSVCR80.dll_wcsncat_s]
lea edi, [esi + 0x21c]
cmp word [edi], 0
mov ebp, 0x104
jne 0x4364f2
push 0x103
push str.GlobalC8CA5A2E_89F9_49e2_AA24_7868C090DDA4
push ebp
push edi
call ebx
add esp, 0x10
push edi
push 0
call fcn.00443d80
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x436513
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x436544
lea edi, [esi + 0x14]
cmp word [edi], 0
jne 0x436535
push edi
call fcn.004f6310
mov dword [esp], 0x103
push str.QMConfig.dat
push ebp
push edi
call ebx
add esp, 0x10
and dword [esp + 0x10], 0
mov dword [esi + 0x424], 1
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f019a
pop ecx
pop ecx
ret 8

Function at 0x4365ce
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edi, [esi + 0x14]
push edi
call fcn.004f6840
test eax, eax
pop ecx
je 0x4365f4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
mov eax, 0x80004005
pop esi
ret 4

Function at 0x436940
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push esi
mov esi, eax
add dword [esi + 0xc], 1
cmp dword [esi + 0xc], 1
jbe 0x436834
cmp dword [esi + 4], 0
je 0x436830
cmp dword [esi + 8], 0
je 0x436830
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
push ebx
push str.GlobalA4F31C01_A8C8_40ba_BC77_7E8BF6049F58
push 0x100000
xor ebx, ebx
push ebx
push 4
call fcn.00436780
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 4], eax
je 0x4368c8
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x43687e
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], ebx
pop ebx
xor eax, eax
pop esi
ret
push edi
push str.Global388F581B_10BF_4918_8A80_565FDC0D6D2D
push 0
call fcn.00436780
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
je 0x4368c7
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [esi + 8]
cmp dword [esi + 4], ebx
je 0x4368ae
cmp dword [esi], 1
je 0x4368bb
mov dword [esi], 1
mov dword [esi + 4], 0xfffe0
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ebx, 1
pop edi
mov eax, ebx
pop ebx
pop esi
ret
call fcn.00436cf0
jmp 0x436810
Function at 0x436f60
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
cmp dword [esp + 0x14], 0
push ebx
push ebp
push esi
push edi
mov ebx, eax
mov esi, ecx
je 0x436fa6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, 4
push ebx
mov ecx, esi
mov edi, eax
xor ebp, ebp
call fcn.00437060
mov dword [eax], edi
push ebx
mov ecx, esi
mov dword [eax + 4], ebp
call fcn.00437060
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ebp, dword [esi + 8]
lea eax, [esp + 0x10]
add esi, 4
push eax
call fcn.00437130
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x436fc2
cmp eax, esi
je 0x436fc8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [edi + 4], ebp
je 0x437048
cmp dword [esp + 0x1c], 0
jne 0x437008
push ebx
mov ecx, esi
call fcn.00437060
push ebx
mov ecx, esi
lea edi, [eax + 8]
call fcn.00437060
mov ebp, dword [edi]
sub ebp, dword [eax]
mov ecx, dword [edi + 4]
sbb ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
add eax, ebp
adc ecx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ecx, esi
xor ebp, ebp
mov edi, eax
call fcn.00437060
cmp dword [esp + 0x20], ebp
mov dword [eax], edi
mov dword [eax + 4], ebp
je 0x437048
push ebp
push ecx
push ebx
mov ecx, esi
call fcn.00437060
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add esp, 4
push edx
push eax
push ebp
push 0x1b5a
call fcn.00436b20
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x438070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x10]
lea esi, [edi + 0x74]
push eax
call fcn.00438880
mov esi, dword [esp + 0x10]
test esi, esi
mov ecx, dword [edi + 0x78]
lea ebx, [edi + 0x74]
mov dword [esp + 0x1c], ecx
je 0x4380a4
cmp esi, ebx
je 0x4380aa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1c]
je 0x43816f
test esi, esi
jne 0x4380c2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 4]
jne 0x4380d1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x64]
add esi, 0x28
cmp eax, 1
je 0x438146
cmp eax, 2
je 0x438146
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x14]
push 0x3c
push eax
call edx
lea eax, [edi + 8]
test eax, eax
mov dword [esi + 0x3c], 1
je 0x438108
lea eax, [edi + 0xc]
jmp 0x43810a
xor eax, eax
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x40], eax
cmp edi, dword [ecx + 4]
jne 0x438120
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
movzx eax, byte [esi + 0x38]
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
and eax, 0xffffff01
push eax
lea eax, [esi + 0x1c]
push eax
add edi, 0xc
push edi
push esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00438590
mov edi, dword [edi + 0x70]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
push ecx
push edx
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x439180
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 8], 0
jne 0x43920f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [esi + 4], eax
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x10], eax
call edi
lea ecx, [esi + 0x18]
push ecx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push esi
push 0x4393b0
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0xc], eax
pop edi
je 0x4391ea
cmp dword [esi + 0x10], 0
je 0x4391ea
cmp dword [esi + 0x14], 0
je 0x4391ea
mov dword [esi + 8], 1
cmp dword [esi + 8], 0
mov eax, 0x52a43c
jne 0x4391fa
mov eax, 0x52a444
push eax
push str.CPluginInstaller::Init
push 0x29
push str..PluginInstaller.cpp
call fcn.004f3a00
add esp, 0x10
mov eax, dword [esi + 8]
ret
Function at 0x4398b0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x502c1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
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_]
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], edi
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_]
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 1
call dword [0x5096b8]
lea eax, [esi + 0x18]
push eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
lea edi, [esi + 0x30]
mov esi, dword [eax]
lea esp, [esp]
cmp edi, edi
mov ebx, dword [edi + 4]
je 0x43992d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x439964
cmp esi, dword [edi + 4]
jne 0x43993c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [esi + 8]
push eax
push ebp
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test al, al
jne 0x43995d
cmp esi, dword [edi + 4]
jne 0x439959
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
jmp 0x439920
mov esi, 1
jmp 0x439968
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 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_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 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 ecx, dword [esp + 0x50]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret 4
Function at 0x43bb80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x505ab8
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 4], vtable.QMPluginUtils::IPluginDownloader.0
mov dword [esi], vtable.QMPluginUtils::CPluginQQDownloader.0
mov dword [esi + 4], vtable.QMPluginUtils::CPluginQQDownloader.1.0
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0xea60
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call fcn.0043e360
mov dword [esi + 0x20], eax
mov byte [eax + 0x5d], 1
mov eax, dword [esi + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x20]
mov dword [eax], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 8], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x34], bl
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x30], vtable.TTimerUtil_class_QMPluginUtils::CPluginQQDownloader_.0
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x441ef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x503838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push edi
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x3c], 0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edx
call dword [0x5096b0]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
add eax, 0x14
lea edi, [esp + 8]
mov dword [esp + 0x30], ecx
call fcn.00442070
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 ecx, dword [esp + 0x34]
xor al, al
mov dword fs:[0], ecx
pop edi
add esp, 0x3c
ret 0xc

Function at 0x443cd0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x501919
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x1c
push eax
lea ecx, [esp + 4]
push ecx
call fcn.00443c40
add esp, 8
cmp dword [esp + 0x18], 8
mov eax, dword [esp + 4]
jae 0x443d09
lea eax, [esp + 4]
push esi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x443d5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
push esi
jne 0x443d56
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
mov dword [esp + 0x28], 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
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
mov dword [esp + 0x28], 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 ecx, dword [esp + 0x20]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x445780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
test eax, eax
push ebx
push esi
push edi
mov ebx, ecx
je 0x445834
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc], esp
push eax
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, [ebp - 0x30]
push eax
call fcn.004438e0
add esp, 0x20
cmp dword [eax + 0x18], 0x10
jb 0x4457bc
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
jmp 0x4457c2
add eax, 4
mov dword [ebp - 4], eax
xor edx, edx
xor eax, eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
dec esi
xor cl, cl
xor edx, eax
inc esi
and cl, 0x1f
movzx eax, byte [esi]
add cl, 5
test al, al
rol eax, cl
jne 0x4457ce
xor eax, edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea esi, [ebx + 0x2c]
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x14]
push eax
lea edi, [ebx + 4]
call fcn.00446110
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xc]
add ebx, 8
test edi, edi
mov dword [ebp - 4], ecx
je 0x44581f
cmp edi, ebx
je 0x445825
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp - 0x10]
cmp ebx, dword [ebp - 4]
jne 0x445842
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, SysReAllocString
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test edi, edi
jne 0x44584c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [edi + 4]
jne 0x445857
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x8c]
mov esi, dword [eax + 0x88]
mov edi, dword [eax + 0x90]
mov ebx, dword [eax + 0x94]
mov eax, dword [ebp - 0xc]
push eax
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
add eax, 0xffffffff
cmp eax, 3
ja case.default.0x44588a
jmp dword [eax*4 + 0x4458ec]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push ecx
push edx
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x445970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.framework_RegisterTCom
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, [ebp - 0x30]
push eax
call fcn.004438e0
add esp, 0x20
cmp dword [eax + 0x18], 0x10
jb 0x4459bb
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x4459c1
add eax, 4
mov dword [ebp - 0x10], eax
xor edx, edx
xor eax, eax
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
dec esi
xor cl, cl
xor edx, eax
inc esi
and cl, 0x1f
movzx eax, byte [esi]
add cl, 5
test al, al
rol eax, cl
jne 0x4459cd
xor eax, edx
mov ebx, eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], ebx
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 edi, dword [ebp + 8]
push ebx
mov eax, edi
call fcn.00445900
test eax, eax
je 0x445a13
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x98
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov esi, eax
push 0x3f
lea edx, [esi + 4]
push str.framework_RegisterTCom
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy]
xor eax, eax
add esp, 0xc
add edi, 0x2c
push edi
mov dword [esi], ebx
mov dword [esi + 0x88], fcn.00446880
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], 1
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 4], 0
call fcn.00445ac0
push edi
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x446ba0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x503719
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 4], vtable.utils::CThread.0
mov dword [esi + 8], 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0xc]
push eax
mov dword [esi], vtable.IPC::CIpcClient.0
mov dword [esi + 4], vtable.IPC::CIpcClient.1.0
call ebx
lea eax, [esi + 0x3c]
push eax
call ebx
mov byte [esp + 0x18], 3
push edi
mov dword [esi + 0x58], vtable.utils::CEvent.0
call fcn.00447740
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], vtable.utils::CManualResetEvent.0
add esp, 4
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x38], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x446ff0
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x1c
push esi
push edi
mov esi, ecx
push str.CIpcClient::Stop____BEGIN
lea ecx, [esp + 0xc]
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 ecx, [esp + 8]
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_]
lea eax, [esi + 0x58]
push eax
call fcn.004476c0
lea edi, [esi + 4]
push 0x1388
mov ecx, edi
call fcn.004479d0
test al, al
jne 0x447041
mov eax, dword [edi + 4]
test eax, eax
je 0x447041
cmp eax, 0xffffffff
je 0x447041
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push str.CIpcClient::Stop____monitoring_thread_is_stopped
lea ecx, [esp + 0xc]
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 ecx, [esp + 8]
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_]
call fcn.00447340
mov dword [eax + 0x94], 0
mov edi, dword [esi + 0x28]
test edi, edi
je 0x447095
lea ecx, [edi + 8]
push ecx
call fcn.004476c0
push 0x7530
mov ecx, edi
call fcn.004479d0
test al, al
jne 0x44708e
call fcn.00451110
mov ecx, edi
call fcn.00447940
mov esi, dword [esi + 0x24]
test esi, esi
je 0x4470b8
push esi
call fcn.0044e960
mov ecx, esi
call fcn.00447940
mov ecx, esi
call fcn.0044e900
add esi, 8
call fcn.004525f0
push str.CIpcClient::Stop____END
lea ecx, [esp + 0xc]
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 ecx, [esp + 8]
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_]
push 1
push 0x572d48
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret