Function at 0x100520b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10232237
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x102d2008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0x24
mov dword [ebp - 0x74], esi
mov byte [ebp - 0x6d], 0
movlpd qword [ebp - 0x54], xmm0
call fcn.1010eec0
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10052430
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.10053a00
mov edx, esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.10059510
cmp byte [ebp + 0xc], 0
mov byte [ebp - 4], 2
je 0x100521b9
mov dword [ebp - 0x20], 0x64777026
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x43775a3d
mov edi, 0xd
mov dword [ebp - 0x18], 0x7430724c
mov byte [ebp - 0x14], 0x4b
mov al, byte [esi]
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 0x40], al
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x1005219d
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
lea edx, [eax + ecx]
movsx ecx, byte [ebp - 0x40]
movzx eax, cl
shl cx, 8
or cx, ax
mov byte [edx], cl
mov byte [edx + 1], 0
jmp 0x100521b3
push dword [ebp - 0x40]
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x6c]
push 1
push dword [ebp - 0x48]
push 1
call fcn.10054910
inc esi
sub edi, 1
jne 0x10052160
mov edi, dword [ebp - 0x50]
push 0
test edi, edi
je 0x1005240b
lea ecx, [edi + 8]
call fcn.10112210
push 8
call fcn.1010eec0
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
movq qword [esi], xmm0
push 6
push str.SQLITE
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1004d850
push 1
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 1
push eax
mov ecx, esi
call fcn.10171fd0
mov dword [ebp - 4], 5
cmp dword [edi + 4], eax
je 0x10052260
xorps xmm0, xmm0
lea ecx, [ebp - 0x44]
push eax
movlpd qword [ebp - 0x44], xmm0
call fcn.10054550
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x40]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x44]
mov dword [edi], eax
call fcn.10053a80
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1005229d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10052293
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052293
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1010f236
add esp, 8
mov eax, dword [ebp - 0x74]
lea ecx, [edi + 0xc]
cmp ecx, eax
je 0x100522ba
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x100522b1
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.1004d6f0
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x100522c7
push ecx
jmp 0x1005240b
mov ecx, dword [ecx]
test ecx, ecx
je 0x100523f1
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x1005237e
lea eax, [ebx + 0x10]
mov ecx, eax
mov dword [ebp - 0x74], eax
call fcn.1004b8f0
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x54]
push eax
mov edi, dword [esi + 4]
push edi
push esi
call fcn.10054c50
mov edx, dword [ebx + 0xc]
mov ecx, eax
mov eax, 0xffffffe
sub eax, edx
cmp eax, 1
jae 0x1005231a
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edx + 1]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x54]
mov dword [esi + 4], ecx
mov dword [edi], ecx
cmp eax, ebx
je 0x10052351
mov esi, dword [ebp - 0x54]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x50]
mov dword [ebx + 4], eax
mov eax, dword [ebx]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x4c]
mov dword [ebx], esi
mov dword [ebp - 0x4c], eax
call fcn.10053960
mov edi, dword [ebx + 8]
mov esi, dword [edi]
cmp esi, edi
je 0x10052371
nop word [eax + eax]
lea eax, [esi + 8]
mov ecx, ebx
push eax
call sym.BasicSQLite.dll_private:_void___thiscall_RC::RCSQLiteSession::TryDisconnectDB_class_Poco::SharedPtr_struct_RC::RCDBConnect__class_Poco::ReferenceCounter__class_Poco::ReleasePolicy_struct_RC::RCDBConnect____
mov esi, dword [esi]
cmp esi, edi
jne 0x10052360
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov bl, 1
jmp 0x10052381
mov bl, byte [ebp - 0x6d]
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x100523b7
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100523ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100523ad
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1010f236
add esp, 8
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
call fcn.10053960
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010eeaf
mov esp, ebp
pop ebp
ret 8
push 0
lea ecx, [ebp - 0xa0]
call fcn.10110bb0
push 0x102cc694
lea eax, [ebp - 0xa0]
jmp 0x1005241b
lea ecx, [ebp - 0x3c]
call fcn.10110bb0
push 0x102cc694
lea eax, [ebp - 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3