Function at 0x53185c10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53203a24
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0xc
cmp eax, 3
push esi
push edi
jge 0x53185cae
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.cxlibw_2_6.dll_public:_static_class_CXLib206::SDecodedString___cdecl_CXLib206::CNameValuePairs::URLStrDecode_class_CXLib206::SString_t_char__1_::iterator_const___class_CXLib206::SString_t_char__1_::iterator_const__]
add esp, 0xc
mov dword [esp + 0x2c], 0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0
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 + 0x2c]
push ecx
mov byte [esp + 0x20], 1
call sym.libOCAHelperw_2_13.dll_public:_static_long_int___cdecl_Ocalibhelper213::CWireObject::LookupProperty_class_CXLib206::SWCharStringCI_const__
mov edi, dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
add esp, 4
lea ecx, [esp + 0x2c]
mov esi, eax
mov byte [esp + 0x1c], 0
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call edi
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
mov cl, byte [esi]
cmp cl, 0x5f
jne 0x53185d35
mov eax, dword [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x18]
inc esi
push ecx
mov dword [edx], esi
call dword [sym.imp.cxlibw_2_6.dll_public:_static_class_CXLib206::SDecodedString___cdecl_CXLib206::CNameValuePairs::URLStrDecode_class_CXLib206::SString_t_char__1_::iterator_const___class_CXLib206::SString_t_char__1_::iterator_const__]
add esp, 0xc
mov dword [esp + 8], 0
mov edx, dword [eax]
push edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 2
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 eax, [esp + 8]
push eax
mov byte [esp + 0x20], 3
call sym.libOCAHelperw_2_13.dll_public:_static_long_int___cdecl_Ocalibhelper213::CWireObject::LookupProperty_class_CXLib206::SWCharStringCI_const__
mov edi, dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x1c], 2
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call edi
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
xor eax, eax
xor edi, edi
cmp cl, 0x2e
push ebp
mov ebp, dword [esp + 0x2c]
jne 0x53185d5c
lea eax, [esi + 1]
mov dword [edx], eax
sub eax, dword [ebp]
add eax, 4
lea ecx, [eax + eax*2]
shl ecx, 1
mov eax, 1
shl eax, cl
jmp 0x53185d71
cmp cl, 0x30
jne 0x53185d71
lea ecx, [esi + 1]
mov dword [edx], ecx
sub ecx, dword [ebp]
add ecx, 5
lea edi, [ecx + ecx*2]
shl edi, 1
mov ecx, dword [edx]
cmp ecx, dword [ebp]
je 0x53185daf
mov esi, dword [edx]
mov cl, byte [esi]
cmp cl, 0x61
jl 0x53185d86
add cl, 0xc5
jmp 0x53185d93
cmp cl, 0x3f
jl 0x53185d90
add cl, 0xcb
jmp 0x53185d93
add cl, 0xd0
movsx ecx, cl
shl eax, 6
add eax, ecx
test edi, edi
jle 0x53185da5
mov ecx, edi
shl eax, cl
xor edi, edi
inc esi
mov ecx, esi
mov dword [edx], esi
cmp ecx, dword [ebp]
jne 0x53185d78
mov ecx, dword [esp + 0x18]
pop ebp
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret