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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
push edi
mov dword [esp + 0x18], esi
mov edi, dword [esi]
movzx eax, byte [esi + 0x9f]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edi
mov eax, dword [edi + 0x20]
and eax, 0x4000
or eax, 0
je 0x5bbe9bd
cmp byte [edx + 0x2b], 0
jne 0x5bbe9bd
mov ecx, dword [edx + 0x3c]
mov ebx, 0xffff8000
mov dword [esp + 0x1c], ebx
test ecx, ecx
je 0x5bbe3be
mov eax, dword [edi + 0x10]
xor ebx, ebx
add eax, 0xc
mov dword [esp + 0x1c], ebx
cmp dword [eax], ecx
je 0x5bbe3be
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x5bbe3b2
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 0x10]
mov ecx, ebx
mov ebx, dword [edx + 0x30]
shl ecx, 4
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], ebx
mov eax, dword [ecx + eax]
mov dword [esp + 0x30], eax
test ebx, ebx
je 0x5bbe7a5
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
je 0x5bbe43c
mov ecx, dword [edx]
mov eax, dword [ebx + 8]
test ecx, ecx
jne 0x5bbe40d
neg eax
sbb eax, eax
jmp 0x5bbe418
test eax, eax
je 0x5bbe41c
mov edx, eax
call fcn.05c1c500
test eax, eax
je 0x5bbe438
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, ebx
push dword [ebp + 0x10]
call fcn.05bbeaf0
add esp, 8
test eax, eax
je 0x5bbe78e
mov eax, dword [esp + 0x30]
cmp byte [esi + 0x9f], 0
push eax
je 0x5bbe455
mov edx, dword [ebx + 8]
mov ecx, edi
call fcn.05bcee60
add esp, 4
jmp 0x5bbe464
push dword [ebx + 8]
xor edx, edx
mov ecx, esi
call fcn.05bced10
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x5bbe658
lea ecx, [esp + 0x2c]
mov edx, eax
push ecx
lea ecx, [esp + 0x28]
push ecx
push ebx
mov ecx, esi
call fcn.05bc00e0
add esp, 0xc
test eax, eax
jne 0x5bbe654
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5bbe49f
mov edx, eax
mov dword [esp + 0x20], eax
jmp 0x5bbe4ae
mov eax, dword [ebx + 0x24]
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], edx
xor ecx, ecx
mov dword [esp + 0x34], ecx
cmp dword [ebx + 0x14], ecx
jle 0x5bbe52f
nop dword [eax]
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x20]
cmp dword [edx + ecx*4], eax
jne 0x5bbe4d4
mov dword [edx + ecx*4], 0xffffffff
cmp dword [edi + 0x17c], 0
je 0x5bbe525
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x5bbe4f2
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx*2]
jmp 0x5bbe4f6
movzx eax, word [edx + 0x20]
push dword [esp + 0x1c]
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
mov edx, dword [edx]
push dword [eax + ecx*8]
mov ecx, esi
call fcn.05bcfaf0
mov edx, dword [esp + 0x28]
xor ecx, ecx
add esp, 8
cmp eax, 2
sete cl
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, dword [ebx + 0x14]
jl 0x5bbe4c0
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
je 0x5bbe566
mov eax, dword [esi]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 4]
cmp byte [eax + 9], 0
je 0x5bbe566
mov eax, dword [esp + 0x10]
mov edx, ecx
mov ecx, esi
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.05bcf810
mov ecx, dword [esp + 0x28]
add esp, 0xc
inc dword [esi + 0x28]
mov eax, dword [ebp + 8]
test eax, eax
je 0x5bbe590
push dword [esp + 0x28]
mov edx, ecx
mov ecx, esi
push 0xffffffffffffffff
push eax
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x38]
push dword [esp + 0x28]
call fcn.05bbf720
add esp, 0x1c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x5bbe5e5
mov eax, dword [esi + 0x78]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x80]
test eax, eax
je 0x5bbe5c3
mov eax, dword [eax]
cmp eax, dword [ebx + 0x1c]
jne 0x5bbe5b8
cmp byte [ebx + 0x19], 8
je 0x5bbe5e5
cmp eax, dword [ebx + 0x20]
jne 0x5bbe5c3
cmp byte [ebx + 0x1a], 8
je 0x5bbe5e5
push dword [esp + 0x28]
mov ecx, esi
push 1
push edx
push dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
push ebx
push dword [esp + 0x38]
push dword [esp + 0x28]
call fcn.05bbf720
add esp, 0x1c
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5bbe78e
cmp ecx, dword [edi + 0x174]
jae 0x5bbe62f
cmp ecx, dword [edi + 0x16c]
jb 0x5bbe614
mov eax, dword [edi + 0x168]
mov dword [ecx], eax
mov dword [edi + 0x168], ecx
jmp 0x5bbe78e
cmp ecx, dword [edi + 0x170]
jb 0x5bbe62f
mov eax, dword [edi + 0x160]
mov dword [ecx], eax
mov dword [edi + 0x160], ecx
jmp 0x5bbe78e
cmp dword [edi + 0x220], 0
je 0x5bbe646
mov edx, ecx
mov ecx, edi
call fcn.05c20b70
jmp 0x5bbe78e
push ecx
call sym.SQLite.Interop.dll_SI9edfb98001bcad06
add esp, 4
jmp 0x5bbe78e
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x38], 0
je 0x5bbe9bd
cmp byte [edi + 0x57], 0
jne 0x5bbe9bd
test eax, eax
jne 0x5bbe78e
mov esi, dword [esi + 8]
test esi, esi
jne 0x5bbe698
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x78], esi
jne 0x5bbe691
mov eax, dword [ecx]
test byte [eax + 0x50], 8
jne 0x5bbe691
mov byte [ecx + 0x17], 1
call fcn.05bf98f0
mov esi, eax
mov eax, dword [esi + 0x6c]
mov edx, dword [ebx + 0x14]
inc eax
add eax, edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], eax
test edx, edx
jle 0x5bbe739
mov edi, dword [esp + 0x28]
lea eax, [ebx + 0x24]
mov dword [esp + 0x2c], eax
mov dx, word [eax]
mov ecx, dword [ebx]
call fcn.05bcd9f0
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x5bbe6f1
push 0
push dword [esp + 0x38]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.05bf9640
add esp, 0xc
jmp 0x5bbe724
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
inc edi
add eax, 8
mov dword [esp + 0x2c], eax
cmp edi, dword [ebx + 0x14]
jl 0x5bbe6c0
mov edi, dword [esp + 0x44]
mov ecx, dword [esi + 0x6c]
movzx edx, byte [ebx + 0x18]
cmp dword [esi + 0x70], ecx
jg 0x5bbe75b
push 0
push 0xffffffffffffffff
push edx
mov edx, 0x9e
mov ecx, esi
call fcn.05bf9640
add esp, 0xc
jmp 0x5bbe78a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x9e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0xffffffff
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x18]
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x5bbe3e0
mov ecx, dword [edx + 0x3c]
mov edx, dword [edx]
add ecx, 0x38
push 0
call fcn.05c1a9f0
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x5bbe9bd
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test eax, eax
je 0x5bbe7f3
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, ebx
push eax
call fcn.05bbea10
add esp, 8
test eax, eax
je 0x5bbe9ae
cmp byte [ebx + 0x18], 0
jne 0x5bbe814
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
jne 0x5bbe814
cmp dword [esi + 0x78], eax
jne 0x5bbe814
cmp byte [esi + 0x14], al
je 0x5bbe9ae
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x34]
mov ecx, esi
push eax
push ebx
call fcn.05bc00e0
add esp, 0xc
test eax, eax
je 0x5bbe84b
cmp dword [esp + 0x38], 0
je 0x5bbe9bd
cmp byte [edi + 0x57], 0
jne 0x5bbe9bd
jmp 0x5bbe9ae
mov ecx, dword [esi]
push 0
push 0x50
call fcn.05c20690
mov esi, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x5bbe955
push 0x48
mov dword [eax + 4], 1
mov dword [eax], 1
add eax, 8
push 0
push eax
mov dword [esp + 0x4c], eax
call fcn.05b02790
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword [edx + 0x34], 0xffffffff
mov eax, dword [edx]
lea eax, [eax + eax*8]
mov dword [edx + eax*8 - 0x38], 0
mov dword [edx + eax*8 - 0x3c], 0
mov eax, dword [ebx]
mov dword [edx + 0x18], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [edx + 0x10], eax
mov eax, dword [edx + 0x18]
inc dword [eax + 0x18]
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x34], eax
inc dword [ecx + 0x28]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5bbe8ed
push 0xffffffffffffffff
push eax
push esi
push ebx
push dword [esp + 0x40]
push dword [esp + 0x28]
call fcn.05bbf0c0
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov edx, dword [esp + 0x2c]
cmp dword [ebp + 8], 0
je 0x5bbe93f
push 1
push dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x10], eax
push esi
setne al
push ebx
push dword [esp + 0x40]
movzx eax, byte [eax + ebx + 0x19]
push dword [esp + 0x28]
mov dword [esp + 0x5c], eax
call fcn.05bbf0c0
add esp, 0x18
cmp byte [ebx + 0x18], 0
jne 0x5bbe93f
mov eax, dword [esp + 0x44]
cmp eax, 0xa
je 0x5bbe93f
cmp eax, 8
je 0x5bbe93f
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esp + 0x40]
mov ecx, edi
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], 0
call fcn.05bc7e70
test esi, esi
je 0x5bbe9ae
cmp esi, dword [edi + 0x174]
jae 0x5bbe991
cmp esi, dword [edi + 0x16c]
jb 0x5bbe979
mov eax, dword [edi + 0x168]
mov dword [esi], eax
mov dword [edi + 0x168], esi
jmp 0x5bbe9ae
cmp esi, dword [edi + 0x170]
jb 0x5bbe991
mov eax, dword [edi + 0x160]
mov dword [esi], eax
mov dword [edi + 0x160], esi
jmp 0x5bbe9ae
cmp dword [edi + 0x220], 0
je 0x5bbe9a5
mov edx, esi
mov ecx, edi
call fcn.05c20b70
jmp 0x5bbe9ae
push esi
call sym.SQLite.Interop.dll_SI9edfb98001bcad06
add esp, 4
mov ebx, dword [ebx + 0xc]
mov esi, dword [esp + 0x18]
test ebx, ebx
jne 0x5bbe7c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret