Function at 0x10051f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102328e9
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x102d4008]
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.1010f580
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
push 1
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.101128c0
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.10059bc0
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 0x1005206f
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 0x10052056
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 0x10052012
push dword [ebp - 0x60]
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x54]
push 1
push dword [ebp - 0x38]
push 1
call fcn.10054fb0
inc esi
jmp 0x10052012
push 8
call fcn.1010f580
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.1004db60
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.10172690
mov dword [ebp - 4], 6
cmp dword [edi + 4], eax
je 0x10052101
xorps xmm0, xmm0
lea ecx, [ebp - 0x3c]
push eax
movlpd qword [ebp - 0x3c], xmm0
call fcn.10054bf0
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.10054120
mov dword [ebp - 4], 3
mov ebx, 1
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x58], ebx
cmp edx, 0x10
jb 0x10052146
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005213c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005213c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1010f5b0
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 0x100522dd
push 8
call fcn.1010f580
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.1004db60
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
mov edx, dword [ebp - 0x30]
or ebx, 4
mov dword [ebp - 0x58], ebx
call fcn.10059bc0
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.10172690
mov dword [ebp - 4], 0xb
cmp dword [edi + 4], eax
je 0x10052203
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push eax
movlpd qword [ebp - 0x34], xmm0
call fcn.10054bf0
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.10054120
mov dword [ebp - 4], 0xa
and esi, 0xfffffff7
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x10052243
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10052239
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052239
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1010f5b0
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 0x10052298
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005228e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005228e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1010f5b0
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 0x100522dd
cmp dword [edi + 4], 0
je 0x100522dd
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push 0
movlpd qword [ebp - 0x34], xmm0
call fcn.10054bf0
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.10054120
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x100523c6
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005230d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005230d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1010f5b0
add esp, 8
jmp 0x100523c6
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.1010f56f
mov esp, ebp
pop ebp
ret 8