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

Disassembly:
push 0xffffffffffffffff
push 0x531ee80f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x78], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0xf0], ebx
call fcn.53135050
lea ecx, [esp + 0x94]
mov byte [esp + 0xf0], 1
call fcn.53135050
mov edi, dword [esp + 0xf8]
mov ecx, edi
mov byte [esp + 0xf0], 2
call dword [sym.imp.cxlibw_2_6.dll_public:_bool___thiscall_CXLib206::SString_t_unsigned_short_int__1_::isEmpty_void_const]
test al, al
mov ebp, dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
jne 0x531353d4
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call dword [sym.imp.cxlibw_2_6.dll_public:_class_CXLib206::SChar_t_unsigned_short_int__1____thiscall_CXLib206::SString_t_unsigned_short_int__1_::getAt_unsigned_int_]
cmp word [eax], 0x40
jne 0x531353d4
push edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x18]
call dword [sym.imp.cxlibw_2_6.dll_public:_class_CXLib206::SWCharString___thiscall_CXLib206::Registry::ReadValue_class_CXLib206::SWCharString_const__]
mov edx, dword [esp + 0xfc]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0xf4], 3
call dword [sym.imp.cxlibw_2_6.dll_public:_int___thiscall_CXLib206::SString_t_unsigned_short_int__1_::compareNoCase_class_CXLib206::SString_t_unsigned_short_int__1__const__const]
test eax, eax
lea ecx, [esp + 0x14]
jne 0x531353b8
mov byte [esp + 0xf0], 2
call ebp
lea ecx, [esp + 0x94]
mov byte [esp + 0xf0], 1
call fcn.53134f00
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], bl
call fcn.53134f00
push esi
jmp 0x53135847
lea eax, [esp + 0x78]
push eax
push ecx
call sym.libOCAHelperw_2_13.dll_public:_static_bool___cdecl_Ocalibhelper213::CAPSClusterCacheManager::ClusterListToSet_class_CXLib206::SWCharString_const___class_CXLib206::SISet_class_CXLib206::SWCharStringCI___
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 2
call ebp
mov eax, dword [esp + 0xfc]
lea edx, [esp + 0x94]
push edx
push eax
call sym.libOCAHelperw_2_13.dll_public:_static_bool___cdecl_Ocalibhelper213::CAPSClusterCacheManager::ClusterListToSet_class_CXLib206::SWCharString_const___class_CXLib206::SISet_class_CXLib206::SWCharStringCI___
add esp, 8
lea ecx, [esp + 0xcc]
call fcn.53135050
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf0], 4
call fcn.53135050
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xfc], 5
call fcn.53135150
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.53135150
mov esi, dword [esp + 0xec]
mov ecx, dword [esp + 0xf0]
mov eax, dword [esi]
add esp, 0x18
cmp ecx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
je 0x5313547f
lea ecx, [esp + 0x2c]
call fcn.53131b90
mov eax, dword [esp + 0x28]
cmp eax, esi
mov edi, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
je 0x531356f1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.53132880
lea ecx, [esp + 0x50]
mov byte [esp + 0xf0], 6
call fcn.53135050
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
add ecx, 0x18
mov byte [esp + 0xf4], 7
call dword [sym.imp.cxlibw_2_6.dll_public:_class_CXLib206::Registry::ValueIterator___thiscall_CXLib206::Registry::EnumValues_void_]
cmp dword [esp + 0x48], ebx
mov byte [esp + 0xf0], 8
je 0x53135661
lea esp, [esp]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
call dword [sym.imp.cxlibw_2_6.dll_public:_class_CXLib206::SWCharStringCI___thiscall_CXLib206::Registry::ValueIterator::GetName_void_]
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 9
call dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::setBuffer_struct_CXLib206::SString_t_unsigned_short_int__1_::SStringBuffer__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf0], 0xb
call ebp
lea ecx, [esp + 0x50]
call fcn.531345a0
lea ecx, [esp + 0x10]
call dword [sym.imp.cxlibw_2_6.dll_public:_bool___thiscall_CXLib206::SString_t_unsigned_short_int__1_::isEmpty_void_const]
test al, al
jne 0x5313563f
push ebx
lea edx, [esp + 0x72]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.cxlibw_2_6.dll_public:_class_CXLib206::SChar_t_unsigned_short_int__1____thiscall_CXLib206::SString_t_unsigned_short_int__1_::getAt_unsigned_int_]
cmp word [eax], 0x40
jne 0x5313563f
mov eax, dword [esp + 0xf8]
mov esi, dword [sym.imp.cxlibw_2_6.dll_public:_int___thiscall_CXLib206::SString_t_unsigned_short_int__1_::compareNoCase_class_CXLib206::SString_t_unsigned_short_int__1__const__const]
push eax
lea ecx, [esp + 0x14]
call esi
test eax, eax
je 0x5313563f
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x44]
call dword [sym.imp.cxlibw_2_6.dll_public:_class_CXLib206::SWCharString___thiscall_CXLib206::Registry::ValueIterator::GetValue_void_]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xf8], 0xc
call sym.libOCAHelperw_2_13.dll_public:_static_bool___cdecl_Ocalibhelper213::CAPSClusterCacheManager::ClusterListToSet_class_CXLib206::SWCharString_const___class_CXLib206::SISet_class_CXLib206::SWCharStringCI___
add esp, 8
test al, al
je 0x53135631
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x58]
call fcn.531323d0
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
je 0x531355c4
add eax, 0xc
push eax
lea ecx, [esp + 0x1c]
call esi
test eax, eax
jl 0x531355c4
lea eax, [esp + 0x38]
jmp 0x531355d0
mov edx, dword [esp + 0x58]
mov dword [esp + 0x20], edx
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x58]
cmp dword [eax], ecx
je 0x53135631
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x54]
call fcn.53134470
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
call sym.libOCAHelperw_2_13.dll_public:_static_void___cdecl_Ocalibhelper213::CAPSClusterCacheManager::ClusterSetToList_class_CXLib206::SISet_class_CXLib206::SWCharStringCI__const___class_CXLib206::SWCharString__
add esp, 8
lea ecx, [esp + 0x14]
call dword [sym.imp.cxlibw_2_6.dll_public:_bool___thiscall_CXLib206::SString_t_unsigned_short_int__1_::isEmpty_void_const]
test al, al
je 0x5313561a
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
add ecx, 0x18
call dword [sym.imp.cxlibw_2_6.dll_public:_bool___thiscall_CXLib206::Registry::DeleteValue_class_CXLib206::SWCharString_const__]
jmp 0x53135631
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
add ecx, 0x18
call dword [sym.imp.cxlibw_2_6.dll_public:_bool___thiscall_CXLib206::Registry::WriteValue_class_CXLib206::SWCharString_const___class_CXLib206::SWCharString_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 0xb
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], 8
call ebp
lea ecx, [esp + 0x40]
call dword [sym.imp.cxlibw_2_6.dll_public:_bool___thiscall_CXLib206::Registry::ValueIterator::NextValue_void_]
cmp dword [esp + 0x48], ebx
jne 0x531354e0
lea ecx, [esp + 0x40]
mov byte [esp + 0xf0], 7
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::Registry::ValueIterator::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0xf0], 6
call fcn.53134f00
lea ecx, [esp + 0x18]
mov byte [esp + 0xf0], 5
call ebp
mov al, byte [edi + 0x11]
test al, al
jne 0x531356e7
mov ecx, dword [edi + 8]
mov al, byte [ecx + 0x11]
test al, al
jne 0x531356bf
mov eax, dword [ecx]
mov dl, byte [eax + 0x11]
test dl, dl
jne 0x531356bb
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx]
mov dl, byte [eax + 0x11]
test dl, dl
je 0x531356b0
mov edi, ecx
jmp 0x531356e3
mov eax, dword [edi + 4]
mov cl, byte [eax + 0x11]
test cl, cl
jne 0x531356e1
lea esp, [esp]
cmp edi, dword [eax + 8]
jne 0x531356e1
mov edi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x11]
test cl, cl
je 0x531356d0
mov edi, eax
mov dword [esp + 0x30], edi
cmp edi, dword [esp + 0x34]
jne 0x53135491
mov esi, dword [esp + 0xf8]
mov ecx, esi
call dword [sym.imp.cxlibw_2_6.dll_public:_bool___thiscall_CXLib206::SString_t_unsigned_short_int__1_::isEmpty_void_const]
test al, al
jne 0x531357f5
push ebx
lea edx, [esp + 0x72]
push edx
mov ecx, esi
call dword [sym.imp.cxlibw_2_6.dll_public:_class_CXLib206::SChar_t_unsigned_short_int__1____thiscall_CXLib206::SString_t_unsigned_short_int__1_::getAt_unsigned_int_]
cmp word [eax], 0x40
jne 0x531357f5
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::setBuffer_struct_CXLib206::SString_t_unsigned_short_int__1_::SStringBuffer__]
mov al, byte [esp + 0x100]
test al, al
mov bl, 0xd
mov byte [esp + 0xf0], bl
je 0x5313579a
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x5313579a
mov edx, dword [sym.imp.cxlibw_2_6.dll_class_CXLib206::SString_t_unsigned_short_int__1_::_EmptyBuffer_CXLib206::SString_t_unsigned_short_int__1_::EmptyBuffer]
mov dword [esp + 0x18], edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov byte [esp + 0xf8], 0xe
call sym.libOCAHelperw_2_13.dll_public:_static_void___cdecl_Ocalibhelper213::CAPSClusterCacheManager::ClusterSetToList_class_CXLib206::SISet_class_CXLib206::SWCharStringCI__const___class_CXLib206::SWCharString__
add esp, 8
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.cxlibw_2_6.dll_public:_class_CXLib206::SString_t_unsigned_short_int__1_____thiscall_CXLib206::SString_t_unsigned_short_int__1_::operator_class_CXLib206::SString_t_unsigned_short_int__1__const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0xf0], bl
call ebp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.cxlibw_2_6.dll_public:_static_class_CXLib206::SWCharString___cdecl_CXLib206::SocksHelpers::CMSListToLower_class_CXLib206::SWCharString_const__]
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 0xf
call dword [0x532152ec]
lea ecx, [esp + 0x20]
mov byte [esp + 0xf0], bl
call ebp
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
add ecx, 0x18
call dword [sym.imp.cxlibw_2_6.dll_public:_bool___thiscall_CXLib206::Registry::WriteValue_class_CXLib206::SWCharString_const___class_CXLib206::SWCharString_const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], 5
call ebp
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf0], 4
call fcn.53134f00
lea ecx, [esp + 0xcc]
mov byte [esp + 0xf0], 2
call fcn.53134f00
lea ecx, [esp + 0x94]
mov byte [esp + 0xf0], 1
call fcn.53134f00
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 0
call fcn.53134f00
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret 0xc