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

Disassembly:
push 0xffffffffffffffff
push 0x53207ff2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
xor ebp, ebp
push esi
mov ebx, ecx
mov eax, vtable.CXLib206::SIArray_class_CXLib206::CSmartRefCountPtr_class_Ocalibhelper213::ManagedService__.0
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov esi, dword [ebx + 0x30]
cmp dword [ebx + 0x34], ebp
mov edi, dword [esi]
mov byte [esp + 0x74], 1
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
je 0x531b2bf9
lea ecx, [esp + 0x28]
call fcn.531ae2c0
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x34]
lea ecx, [ebx + 0x28]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
call fcn.531b0550
cmp edi, dword [esp + 0x3c]
je 0x531b2db2
lea edi, [ebx + 0x1c]
jmp 0x531b2c20
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.531af980
mov esi, dword [esp + 0x10]
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x78], 2
call dword [edx + 0x10]
mov ecx, dword [esp + 0x14]
push edi
mov byte [esp + 0x78], 3
call sym.libOCAHelperw_2_13.dll_public:_void___thiscall_Ocalibhelper213::ServerSpec::setCMS_class_CXLib206::SWCharString_const__
mov ecx, dword [sym.libOCAHelperw_2_13.dll_unsigned_short_int_const__const_Ocalibhelper213::ServerKinds::CMS]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::constructor_unsigned_short_int_const__]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x78], 4
call sym.libOCAHelperw_2_13.dll_public:_class_CXLib206::SWCharString___thiscall_Ocalibhelper213::ServerSpec::getKind_void_
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x78], 5
call dword [sym.imp.cxlibw_2_6.dll_public:_int___thiscall_CXLib206::SString_t_unsigned_short_int__1_::compare_class_CXLib206::SString_t_unsigned_short_int__1__const__const]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x20]
inc bl
mov byte [esp + 0x74], 4
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 3
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::destructor_void_]
test bl, bl
je 0x531b2d68
mov edx, dword [esp + 0x4c]
test edx, edx
mov ebx, dword [esp + 0x50]
je 0x531b2cf9
mov ecx, dword [esp + 0x54]
mov eax, ebx
sub eax, edx
sub ecx, edx
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x531b2cf9
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
call fcn.531b0390
add esp, 0x14
add ebx, 4
mov dword [esp + 0x50], ebx
jmp 0x531b2d0a
lea edx, [esp + 0x10]
push edx
push 1
push ebx
lea ecx, [esp + 0x54]
call fcn.531b15d0
mov ecx, dword [esp + 0x14]
push edi
call sym.libOCAHelperw_2_13.dll_public:_void___thiscall_Ocalibhelper213::ServerSpec::setName_class_CXLib206::SWCharString_const__
mov edx, dword [esp + 0x60]
test edx, edx
je 0x531b2d53
mov ecx, dword [esp + 0x68]
mov eax, ebp
sub eax, edx
sub ecx, edx
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x531b2d53
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x18]
push edx
push 1
push ebp
call fcn.531b0390
add esp, 0x14
add ebp, 4
mov dword [esp + 0x64], ebp
jmp 0x531b2d68
lea eax, [esp + 0x10]
push eax
push 1
push ebp
lea ecx, [esp + 0x68]
call fcn.531b15d0
mov ebp, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov byte [esp + 0x74], 2
je 0x531b2d7a
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x74], 1
call dword [eax + 4]
lea ecx, [esp + 0x2c]
call fcn.531ae320
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
add ecx, 0x28
call fcn.531b0550
mov edx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x3c]
jne 0x531b2c20
mov ebx, dword [esp + 0x1c]
xor esi, esi
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x531b2e0c
mov eax, dword [esp + 0x50]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x531b2e0c
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
call fcn.531afea0
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
mov byte [esp + 0x7c], 6
call fcn.531b1b60
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x531b2df7
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov byte [esp + 0x74], 1
je 0x531b2e09
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
jmp 0x531b2db4
xor esi, esi
mov edi, edi
mov edi, dword [esp + 0x60]
test edi, edi
je 0x531b2e58
mov eax, ebp
sub eax, edi
sar eax, 2
cmp esi, eax
jae 0x531b2e58
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x60]
call fcn.531afea0
push eax
mov ecx, ebx
mov byte [esp + 0x78], 7
call fcn.531b1870
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov byte [esp + 0x74], 1
je 0x531b2e51
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [esp + 0x4c]
inc esi
jmp 0x531b2e10
mov ebx, vtable.CXLib206::SIArray_class_CXLib206::CSmartRefCountPtr_class_Ocalibhelper213::ManagedService__.0
mov dword [esp + 0x58], ebx
cmp edi, ebp
mov byte [esp + 0x74], 8
je 0x531b2e9e
mov eax, dword [esp + 0x20]
push eax
push edi
push ebp
push ebp
call fcn.531ae720
mov edi, eax
add esp, 0x10
cmp edi, ebp
mov esi, edi
je 0x531b2e94
mov ecx, dword [esi]
test ecx, ecx
je 0x531b2e8d
mov edx, dword [ecx]
call dword [edx + 4]
add esi, 4
cmp esi, ebp
jne 0x531b2e82
mov edx, dword [esp + 0x4c]
mov ebp, edi
mov edi, dword [esp + 0x60]
test edi, edi
mov byte [esp + 0x74], 0
je 0x531b2ecf
cmp edi, ebp
mov esi, edi
je 0x531b2ec2
lea ecx, [ecx]
mov ecx, dword [esi]
test ecx, ecx
je 0x531b2ebb
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, ebp
jne 0x531b2eb0
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x50]
add esp, 4
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x50]
cmp edx, eax
mov dword [esp + 0x74], 9
je 0x531b2f1a
mov ecx, dword [esp + 0x20]
push ecx
push edx
push eax
push eax
call fcn.531ae720
mov ebx, dword [esp + 0x60]
mov edi, eax
add esp, 0x10
cmp edi, ebx
mov esi, edi
je 0x531b2f12
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x531b2f0b
mov edx, dword [ecx]
call dword [edx + 4]
add esi, 4
cmp esi, ebx
jne 0x531b2f00
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x50], edi
test edx, edx
mov dword [esp + 0x74], 0xffffffff
je 0x531b2f53
cmp edx, dword [esp + 0x50]
mov esi, edx
je 0x531b2f4a
mov edi, edi
mov ecx, dword [esi]
test ecx, ecx
je 0x531b2f3f
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
add esi, 4
cmp esi, eax
jne 0x531b2f30
push edx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret