Function at 0x10051c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102321b9
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x102d2008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x5c], ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x58], 0
push 4
mov dword [ebp - 0x30], ebx
movq qword [edi], xmm0
call fcn.1010eec0
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
push 1
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.10112200
mov dword [edi], esi
mov dword [edi + 4], 0
mov edx, ebx
mov dword [ebp - 0x58], 1
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 2
call fcn.10059510
mov byte [ebp - 4], 3
lea esi, [ebp - 0x24]
mov dword [ebp - 0x24], 0x64777026
mov dword [ebp - 0x20], 0x43775a3d
mov dword [ebp - 0x1c], 0x7430724c
mov byte [ebp - 0x18], 0x4b
lea eax, [ebp - 0x17]
cmp esi, eax
je 0x10051d2f
mov edx, dword [ebp - 0x40]
mov eax, edx
mov ecx, dword [ebp - 0x44]
sub eax, ecx
mov bl, byte [esi]
mov byte [ebp - 0x60], bl
cmp eax, 1
jb 0x10051d16
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
lea edx, [eax + ecx]
movsx ecx, bl
movzx eax, cl
shl cx, 8
or cx, ax
inc esi
mov byte [edx], cl
mov byte [edx + 1], 0
jmp 0x10051cd2
push dword [ebp - 0x60]
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x54]
push 1
push dword [ebp - 0x38]
push 1
call fcn.10054910
inc esi
jmp 0x10051cd2
push 8
call fcn.1010eec0
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
xorps xmm0, xmm0
movq qword [esi], xmm0
push 6
push str.SQLITE
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1004d850
push 1
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x58], 3
push eax
mov ecx, esi
call fcn.10171fd0
mov dword [ebp - 4], 6
cmp dword [edi + 4], eax
je 0x10051dc1
xorps xmm0, xmm0
lea ecx, [ebp - 0x3c]
push eax
movlpd qword [ebp - 0x3c], xmm0
call fcn.10054550
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x38]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
mov dword [edi], eax
call fcn.10053a80
mov dword [ebp - 4], 3
mov ebx, 1
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x58], ebx
cmp edx, 0x10
jb 0x10051e06
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051dfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10051dfc
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
push dword [edi + 4]
mov ecx, dword [ebp - 0x5c]
mov esi, ebx
call sym.BasicSQLite.dll_private:_bool___thiscall_RC::RCSQLiteSession::IsValid_class_Poco::Data::Session__
test al, al
jne 0x10051f9d
push 8
call fcn.1010eec0
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
xorps xmm0, xmm0
movq qword [eax], xmm0
push 6
push str.SQLITE
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1004d850
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
mov edx, dword [ebp - 0x30]
or ebx, 4
mov dword [ebp - 0x58], ebx
call fcn.10059510
push 1
push eax
mov dword [ebp - 4], 9
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
or esi, 0xc
push eax
mov dword [ebp - 0x58], esi
call fcn.10171fd0
mov dword [ebp - 4], 0xb
cmp dword [edi + 4], eax
je 0x10051ec3
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push eax
movlpd qword [ebp - 0x34], xmm0
call fcn.10054550
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x30]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x34]
mov dword [edi], eax
call fcn.10053a80
mov dword [ebp - 4], 0xa
and esi, 0xfffffff7
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x10051f03
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051ef9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10051ef9
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 dword [ebp - 4], 3
and esi, 0xfffffffb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x58], esi
cmp edx, 0x10
jb 0x10051f58
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051f4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10051f4e
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
push dword [edi + 4]
mov ecx, dword [ebp - 0x5c]
call sym.BasicSQLite.dll_private:_bool___thiscall_RC::RCSQLiteSession::IsValid_class_Poco::Data::Session__
test al, al
jne 0x10051f9d
cmp dword [edi + 4], 0
je 0x10051f9d
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push 0
movlpd qword [ebp - 0x34], xmm0
call fcn.10054550
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x30]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x34]
mov dword [edi], eax
call fcn.10053a80
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x10052086
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051fcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10051fcd
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
jmp 0x10052086
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010eeaf
mov esp, ebp
pop ebp
ret 8