Function at 0x53181620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53202f9a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
xor ebx, ebx
mov eax, ecx
cmp eax, ebx
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov byte [esp + 0x1c], bl
je 0x53181661
add eax, 8
mov dword [esp + 0x18], eax
jmp 0x53181667
mov dword [esp + 0x18], ebx
mov eax, ebx
push eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.._servantobmgr.cpp
push ebx
mov dword [esp + 0xa4], ebx
call dword [sym.imp.cxlibw_2_6.dll_bool___cdecl_CXLib206::ShouldTrace_int__char_const__]
mov esi, dword [ebp + 8]
add esp, 8
test al, al
mov edi, 7
je 0x5318188b
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_unsigned_long_int_]
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x9c], 1
mov dword [esp + 0x10], 1
call dword [eax + 0x18]
push eax
lea ecx, [esp + 0x74]
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_char_const__]
mov ebx, 3
push esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0xa0], 2
mov dword [esp + 0x14], ebx
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_int_]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
add edx, 0xc
push edx
lea ecx, [esp + 0x64]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x14], edi
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_unsigned_short_int_const__]
lea ecx, [esp + 0x58]
mov dword [esp + 0x9c], 4
mov dword [esp + 0x10], 0xf
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x5c], 1
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 5
mov dword [esp + 0x10], 0x1f
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x54], 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x9c], 6
mov dword [esp + 0x10], 0x3f
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x4c], 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x10], 0x7f
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x44], 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x9c], 8
mov dword [esp + 0x10], 0xff
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x9c], 9
mov dword [esp + 0x10], 0x1ff
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x34], 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], 0xa
mov dword [esp + 0x10], 0x3ff
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x2c], 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x9c], 0xb
mov dword [esp + 0x10], 0x7ff
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x24], 1
mov ebx, 0xfff
mov dword [esp + 0x9c], 0xc
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x8c]
push edx
push str.ServantObMgr::remove_service__s__before:_service_0x_x__of___s__has_refcount_of__d_n
call dword [sym.imp.cxlibw_2_6.dll_void___cdecl_CXLib206::STrace_char_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const__]
add esp, 0x34
test bh, 8
mov dword [esp + 0x9c], 0xb
je 0x531818af
and ebx, 0xfffff7ff
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], ebx
call dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
test bh, 4
mov dword [esp + 0x9c], 0xa
je 0x531818d3
and ebx, 0xfffffbff
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
test bh, 2
mov dword [esp + 0x9c], 9
je 0x531818f7
and ebx, 0xfffffdff
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
call dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
test bh, 1
mov dword [esp + 0x9c], 8
je 0x5318191b
and ebx, 0xfffffeff
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ebx
call dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
test bl, bl
mov dword [esp + 0x9c], edi
mov edi, dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
jns 0x5318193c
and ebx, 0xffffff7f
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], ebx
call edi
test bl, 0x40
mov dword [esp + 0x9c], 6
je 0x53181959
and ebx, 0xffffffbf
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ebx
call edi
test bl, 0x20
mov dword [esp + 0x9c], 5
je 0x53181976
and ebx, 0xffffffdf
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], ebx
call edi
test bl, 0x10
mov dword [esp + 0x9c], 4
je 0x53181993
and ebx, 0xffffffef
lea ecx, [esp + 0x58]
mov dword [esp + 0x10], ebx
call edi
test bl, 8
mov dword [esp + 0x9c], 3
je 0x531819b0
and ebx, 0xfffffff7
lea ecx, [esp + 0x60]
mov dword [esp + 0x10], ebx
call edi
test bl, 4
mov dword [esp + 0x9c], 2
je 0x531819cd
and ebx, 0xfffffffb
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], ebx
call edi
test bl, 2
mov dword [esp + 0x9c], 1
je 0x531819ea
and ebx, 0xfffffffd
lea ecx, [esp + 0x70]
mov dword [esp + 0x10], ebx
call edi
test bl, 1
mov dword [esp + 0x9c], 0
je 0x53181a03
lea ecx, [esp + 0x78]
and ebx, 0xfffffffe
call edi
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x34]
mov edi, dword [eax]
cmp edi, eax
je 0x53181a59
cmp dword [edi + 8], esi
je 0x53181a1b
mov edi, dword [edi]
cmp edi, eax
jne 0x53181a10
cmp edi, eax
je 0x53181a59
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 0x34]
je 0x53181a54
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [eax], edx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov edx, dword [edi + 8]
push edx
call sub.ebus_3_3_2_4.dll_void___cdecl_OBRelease_class_CORBA_Object__
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x38]
add esp, 8
dec ecx
mov dword [eax + 0x38], ecx
mov byte [esp + 0x1c], 1
push str.._servantobmgr.cpp
push 0
call dword [sym.imp.cxlibw_2_6.dll_bool___cdecl_CXLib206::ShouldTrace_int__char_const__]
add esp, 8
test al, al
mov edi, 0xe
je 0x53181beb
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_bool_]
mov eax, dword [esi + 4]
or ebx, 0x1000
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], 0xd
mov dword [esp + 0x14], ebx
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_unsigned_long_int_]
mov edx, dword [esi]
or ebx, 0x2000
mov ecx, esi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x10], ebx
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x6c]
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_char_const__]
or ebx, 0x4000
push esi
lea ecx, [esp + 0x74]
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x14], ebx
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_unsigned_int_]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x24]
add ecx, 0xc
push ecx
or ebx, 0x8000
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa0], 0x10
mov dword [esp + 0x14], ebx
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_unsigned_short_int_const__]
mov eax, dword [sym.imp.cxlibw_2_6.dll_class_CXLib206::SString_t_unsigned_short_int__1_::_EmptyBuffer_CXLib206::SString_t_unsigned_short_int__1_::EmptyBuffer]
or ebx, 0x10000
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], 1
or ebx, 0x20000
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], 1
or ebx, 0x40000
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], 1
or ebx, 0x80000
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 1
or ebx, 0x100000
mov dword [esp + 0x48], eax
mov byte [esp + 0x4c], 1
or ebx, 0x200000
mov dword [esp + 0x50], eax
mov byte [esp + 0x54], 1
or ebx, 0x400000
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], 1
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
or ebx, 0x800000
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0xa8], 0x18
mov dword [esp + 0x1c], ebx
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xa4]
push ecx
push str.ServantObMgr::remove_service__s__after:_service_0x_x__of___s__has_refcount_of__d._cleanup_succeeded_d_n
call dword [sym.imp.cxlibw_2_6.dll_void___cdecl_CXLib206::STrace_char_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const__]
add esp, 0x34
test ebx, 0x800000
mov esi, dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
mov dword [esp + 0x9c], 0x17
je 0x53181c14
and ebx, 0xff7fffff
lea ecx, [esp + 0x58]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x400000
mov dword [esp + 0x9c], 0x16
je 0x53181c37
and ebx, 0xffbfffff
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x200000
mov dword [esp + 0x9c], 0x15
je 0x53181c5a
and ebx, 0xffdfffff
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x100000
mov dword [esp + 0x9c], 0x14
je 0x53181c7d
and ebx, 0xffefffff
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x80000
mov dword [esp + 0x9c], 0x13
je 0x53181ca0
and ebx, 0xfff7ffff
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x40000
mov dword [esp + 0x9c], 0x12
je 0x53181cc3
and ebx, 0xfffbffff
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x20000
mov dword [esp + 0x9c], 0x11
je 0x53181ce6
and ebx, 0xfffdffff
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x10000
mov dword [esp + 0x9c], 0x10
je 0x53181d09
and ebx, 0xfffeffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x10], ebx
call esi
test bh, bh
mov dword [esp + 0x9c], 0xf
jns 0x53181d28
and ebx, 0xffff7fff
lea ecx, [esp + 0x70]
mov dword [esp + 0x10], ebx
call esi
test bh, 0x40
mov dword [esp + 0x9c], edi
je 0x53181d44
and ebx, 0xffffbfff
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], ebx
call esi
test bh, 0x20
mov dword [esp + 0x9c], 0xd
je 0x53181d64
and ebx, 0xffffdfff
lea ecx, [esp + 0x60]
mov dword [esp + 0x10], ebx
call esi
test bh, 0x10
mov dword [esp + 0x9c], 0
je 0x53181d7a
lea ecx, [esp + 0x20]
call esi
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x94]
mov al, byte [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4