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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
push esi
push edi
mov edi, ecx
mov dword [esp + 0x5c], edx
xor eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], eax
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
cmp dword [edi + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x74], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x48], 0
movq qword [esp + 0x84], xmm0
mov dword [esp + 0x3c], eax
jne 0x5bc55da
call fcn.05bc5d50
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x5bc55da
cmp dword [esi + 0x38], 0
jne 0x5bc4c1d
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x5bc4c26
cmp dword [eax + 0x30], 0
je 0x5bc4c26
cmp byte [edi + 0x9f], 0
je 0x5bc4c2a
xor eax, eax
jmp 0x5bc4c3f
push 0
push 0
push 0x80
mov edx, esi
mov ecx, edi
call fcn.05ba32e0
add esp, 0xc
mov cl, byte [esi + 0x2b]
mov dword [esp + 0x78], eax
mov byte [esp + 0x13], cl
test eax, eax
jne 0x5bc4c7d
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x5bc4c73
push 0
xor edx, edx
mov ecx, esi
call fcn.05bbe140
mov cl, byte [esp + 0x17]
add esp, 4
test eax, eax
jne 0x5bc4c7d
mov dword [esp + 0x28], 0
jmp 0x5bc4c85
mov dword [esp + 0x28], 1
cmp cl, 2
je 0x5bc4cb8
mov edx, dword [esp + 0x5c]
mov ecx, edi
push str.DELETE
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.05bc5640
add esp, 0x10
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
jmp 0x5bc4cc9
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 8]
cmp byte [esi + 0x2b], 1
mov dword [esp + 0x20], eax
je 0x5bc4cda
cmp word [esi + 0x22], 0
jg 0x5bc4ceb
mov edx, esi
mov ecx, edi
call fcn.05bcac90
test eax, eax
jne 0x5bc55ce
push dword [esp + 0x78]
mov edx, esi
mov ecx, edi
call fcn.05bc5b10
add esp, 4
test eax, eax
jne 0x5bc55ce
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x3c]
call fcn.05bb2280
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
add ecx, ecx
mov edx, 9
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.05bcf990
add esp, 0xc
mov dword [esp + 0x50], eax
cmp eax, 1
je 0x5bc55ce
mov ecx, dword [esp + 0x5c]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x6c], edx
mov dword [ecx + 0x34], eax
inc dword [edi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x5bc4d72
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5bc4d62
mov dword [esp + 0x6c], edx
cmp byte [esp + 0x13], 2
jne 0x5bc4d94
mov eax, dword [edi + 0x100]
mov dword [esp + 0x84], eax
mov eax, dword [esi]
mov dword [esp + 0x38], edi
mov dword [edi + 0x100], eax
jmp 0x5bc4d9f
mov eax, dword [esp + 0x88]
mov dword [esp + 0x38], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x4c], esi
test esi, esi
jne 0x5bc4dd0
cmp dword [edi + 0x78], esi
jne 0x5bc4dbb
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x5bc4dbb
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.05bf98f0
mov esi, eax
mov dword [esp + 0x4c], eax
test esi, esi
je 0x5bc4fd0
cmp byte [edi + 0x12], 0
jne 0x5bc4ddd
or dword [esi + 0x98], 0x10
push dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.05bc76c0
add esp, 4
cmp byte [esp + 0x13], 2
jne 0x5bc4e30
push dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x68]
push dword [esp + 0x68]
push dword [esp + 0x2c]
call fcn.05bc59c0
mov eax, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0x74], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x90]
mov edx, dword [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], eax
call fcn.05be22b0
test eax, eax
jne 0x5bc4fd0
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0x24]
and ecx, 1
or eax, ecx
je 0x5bc4eb0
cmp byte [edi + 0x12], 0
jne 0x5bc4eb0
cmp dword [edi + 0x7c], 0
jne 0x5bc4eb0
cmp byte [edi + 0x9d], 0
jne 0x5bc4eb0
inc dword [edi + 0x2c]
mov edx, 0x47
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x60], eax
call fcn.05bf94a0
mov edx, dword [esp + 0x44]
add esp, 8
cmp dword [esp + 0x50], 0
jne 0x5bc505f
cmp dword [esp + 0x20], 0
jne 0x5bc505f
cmp dword [esp + 0x28], 0
jne 0x5bc505f
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2b], 1
je 0x5bc505f
cmp dword [edx + 0x114], 0
jne 0x5bc505f
push dword [eax]
mov edx, dword [esp + 0x20]
mov ecx, edi
push 1
push dword [eax + 0x14]
call fcn.05bcf7e0
mov ecx, dword [esp + 0x20]
add esp, 0xc
test byte [ecx + 0x1c], 0x80
jne 0x5bc4f36
mov edx, dword [esp + 0x58]
or eax, 0xffffffff
push 0xffffffffffffffff
push dword [ecx]
test edx, edx
cmovne eax, edx
mov edx, 0x91
push eax
push dword [esp + 0x28]
push dword [ecx + 0x14]
mov ecx, esi
call fcn.05bf9150
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov esi, dword [ecx + 8]
test esi, esi
je 0x5bc4f9a
mov edi, dword [esp + 0x4c]
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x5bc4f75
test byte [ecx + 0x1c], 0x80
je 0x5bc4f75
mov ecx, dword [esp + 0x58]
or eax, 0xffffffff
test ecx, ecx
mov edx, 0x91
cmovne eax, ecx
mov ecx, edi
push eax
push dword [esp + 0x20]
push dword [esi + 0x2c]
call fcn.05bf95d0
add esp, 0xc
jmp 0x5bc4f8b
push dword [esp + 0x1c]
mov edx, 0x91
mov ecx, edi
push dword [esi + 0x2c]
call fcn.05bf94a0
add esp, 8
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x14]
test esi, esi
jne 0x5bc4f41
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
cmp byte [edi + 0x12], 0
jne 0x5bc4fb7
cmp dword [edi + 0x7c], 0
jne 0x5bc4fb7
cmp dword [edi + 0x74], 0
je 0x5bc4fb7
mov ecx, edi
call fcn.05bbcdb0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5bc4fd0
push str.rows_deleted
mov edx, eax
mov ecx, esi
call fcn.05bc5c70
add esp, 4
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
test ecx, ecx
je 0x5bc4fe9
mov eax, dword [esp + 0x84]
mov dword [ecx + 0x100], eax
mov esi, dword [esp + 0x3c]
mov ecx, esi
mov edx, dword [esp + 0x5c]
call fcn.05bc7e70
test edi, edi
je 0x5bc5005
mov edx, edi
mov ecx, esi
call fcn.05be0530
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5bc5016
mov edx, eax
mov ecx, esi
call fcn.05bdf190
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5bc5027
mov edx, eax
mov ecx, esi
call fcn.05be0530
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x5bc5634
cmp ecx, dword [esi + 0x174]
jae 0x5bc5613
cmp ecx, dword [esi + 0x16c]
jb 0x5bc55f7
mov eax, dword [esi + 0x168]
mov dword [ecx], eax
mov dword [esi + 0x168], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [esp + 0xa8], 0x40
mov eax, 1
cmove eax, dword [esp + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x1c
movzx eax, ax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
test byte [eax + 0x1c], 0x80
jne 0x5bc50ba
inc dword [edi + 0x2c]
mov edx, 0x4b
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 1
mov dword [esp + 0x78], eax
call fcn.05bf94a0
add esp, 8
jmp 0x5bc510c
mov ecx, eax
call fcn.05bcdb00
mov dword [esp + 0x1c], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x28], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x58], edx
mov ecx, esi
mov edx, dword [edi + 0x28]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x48], edx
push edx
lea eax, [edx + 1]
mov edx, 0x76
mov dword [edi + 0x28], eax
call fcn.05bf94a0
mov edx, dword [esp + 0x24]
add esp, 8
mov ecx, edi
mov dword [esp + 0x30], eax
call fcn.05bf8220
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esp + 0x5c]
inc eax
push eax
push dword [esp + 0x54]
push 0
push 0
push 0
push dword [esp + 0x34]
call fcn.05b8abd0
mov edx, eax
add esp, 0x18
mov dword [esp + 0x80], edx
test edx, edx
je 0x5bc4fd0
mov eax, dword [edx + 0x14]
mov dword [esp + 0x8c], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], eax
movzx eax, byte [edx + 0x2e]
mov dword [esp + 0x34], eax
cmp eax, 1
je 0x5bc516b
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
test byte [edx + 0x30], 1
je 0x5bc5184
push dword [esp + 0x24]
mov edx, 0x8f
mov ecx, esi
call fcn.05bf9510
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5bc519e
push 1
push eax
mov edx, 0x56
mov ecx, esi
call fcn.05bf94a0
add esp, 8
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x5bc5205
mov eax, dword [esp + 0x28]
xor ecx, ecx
cwde
mov dword [esp + 0x40], ecx
test eax, eax
jle 0x5bc51fb
mov edi, dword [esp + 0x14]
nop dword [eax]
mov eax, dword [esp + 0x54]
add eax, ecx
push eax
mov eax, dword [edx + 4]
mov edx, edi
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x2c]
call fcn.05bdbb70
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x28]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
cmp ecx, eax
jl 0x5bc51c0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
jmp 0x5bc5228
inc dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0x14]
push eax
push 0xffffffffffffffff
push dword [esp + 0x2c]
mov dword [esp + 0x24], eax
call fcn.05bdbb70
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x34], 0
je 0x5bc52d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
movzx eax, ax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
add eax, 2
cdq
push edx
push eax
call fcn.05c20690
mov ecx, eax
add esp, 8
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x5bc526f
mov ecx, dword [esp + 0x80]
call fcn.05b89f90
jmp 0x5bc4fd0
mov eax, dword [esp + 0x6c]
inc eax
push eax
push 1
push ecx
call fcn.05b02790
mov eax, dword [esp + 0x78]
add esp, 0xc
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
mov byte [eax + ecx + 1], 0
mov eax, dword [esp + 0x8c]
test eax, eax
js 0x5bc52a2
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x50]
test eax, eax
js 0x5bc52b0
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5bc52c1
mov edx, eax
mov ecx, esi
call fcn.05bf8460
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x7c], eax
jmp 0x5bc536a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5bc5342
inc dword [edi + 0x2c]
mov edx, dword [ecx + 0x10]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], 0
test edx, edx
jne 0x5bc5300
mov edx, ecx
mov ecx, dword [edi]
call fcn.05bbd600
mov edx, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
movsx esi, cx
mov ecx, dword [esp + 0x4c]
push esi
push edx
push eax
push esi
push dword [esp + 0x64]
mov edx, 0x61
call fcn.05bf9150
add esp, 0x14
mov edx, 0x8a
push esi
push dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov ecx, esi
push dword [esp + 0x20]
push dword [esp + 0x50]
call fcn.05bf8db0
add esp, 0x10
jmp 0x5bc535e
push eax
push dword [esp + 0x74]
mov edx, 0x9c
mov dword [esp + 0x48], 1
mov ecx, esi
call fcn.05bf94a0
add esp, 8
mov ecx, dword [esp + 0x80]
call fcn.05b89f90
cmp byte [esp + 0x13], 2
je 0x5bc53ca
cmp dword [esp + 0x34], 2
mov dword [esp + 0x30], 0
jne 0x5bc5390
mov edx, 0xf
mov ecx, esi
call fcn.05bf9570
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x30]
mov ecx, edi
push eax
push dword [esp + 0x70]
push dword [esp + 0x30]
push 8
push 0x71
call fcn.05bb8fd0
mov eax, dword [esp + 0x4c]
add esp, 0x18
cmp eax, 2
jne 0x5bc53ce
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.05bf87d0
jmp 0x5bc53d2
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5bc5419
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
cmp byte [ecx + 0x2b], 1
je 0x5bc5499
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x24]
cmp byte [eax + edx], 0
je 0x5bc548f
mov eax, dword [esp + 0x40]
mov ecx, esi
cwde
push eax
push dword [esp + 0x1c]
push dword [esp + 0x84]
push edx
mov edx, 0x1c
call fcn.05bf8db0
add esp, 0x10
jmp 0x5bc5487
cmp dword [esp + 0x1c], 0
mov ecx, esi
je 0x5bc546c
push dword [esp + 0x44]
mov edx, 0x24
call fcn.05bf9510
mov dword [esp + 0x4c], eax
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x18]
cmp byte [eax + 0x2b], 1
jne 0x5bc5459
push 0
push dword [esp + 0x4c]
mov edx, 0x5e
call fcn.05bf95d0
jmp 0x5bc5484
push dword [esp + 0x48]
mov edx, 0x86
call fcn.05bf94a0
add esp, 8
jmp 0x5bc5487
push dword [esp + 0x18]
mov edx, 0x2e
push 0
push dword [esp + 0x78]
call fcn.05bf95d0
mov dword [esp + 0x54], eax
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x2b], 1
jne 0x5bc552a
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x30], eax
test eax, eax
je 0x5bc54b7
mov ecx, dword [esp + 0x3c]
cmp dword [eax], ecx
je 0x5bc54b3
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x5bc54a8
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.05b9b840
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
cmovne ecx, eax
cmp dword [esp + 0x34], 1
mov byte [ecx + 0x15], 1
jne 0x5bc54f4
push dword [esp + 0x24]
mov edx, 0x7a
mov ecx, esi
call fcn.05bf9510
add esp, 4
cmp dword [edi + 0x78], 0
jne 0x5bc54f4
mov byte [edi + 0x14], 0
push 0xfffffffffffffff5
push dword [esp + 0x34]
mov edx, 7
mov ecx, esi
push dword [esp + 0x20]
push 1
push 0
call fcn.05bf9150
mov eax, dword [esi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x5bc5564
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x5bc5564
push dword [esp + 0x50]
cmp byte [edi + 0x12], 0
mov ecx, edi
push dword [esp + 0x38]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x50]
push dword [esp + 0x2c]
push dword [esp + 0x8c]
push edx
push dword [esp + 0x98]
mov edx, dword [esp + 0x38]
call fcn.05bc47a0
add esp, 0x24
cmp dword [esp + 0x34], 0
mov ecx, esi
je 0x5bc5587
mov edx, dword [esp + 0x7c]
call fcn.05bf8c50
mov ecx, dword [esp + 0x80]
call fcn.05b89f90
jmp 0x5bc4f9e
cmp dword [esp + 0x1c], 0
je 0x5bc55b5
mov eax, dword [esp + 0x48]
mov edx, 0x27
inc eax
push eax
push dword [esp + 0x48]
call fcn.05bf94a0
mov edx, dword [esp + 0x50]
add esp, 8
mov ecx, esi
call fcn.05bf8810
jmp 0x5bc4f9e
mov edx, dword [esp + 0x48]
call fcn.05bf9430
mov edx, dword [esp + 0x48]
mov ecx, esi
call fcn.05bf8810
jmp 0x5bc4f9e
mov ecx, dword [esp + 0x88]
jmp 0x5bc4fd4
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
jmp 0x5bc4fd8
cmp ecx, dword [esi + 0x170]
jb 0x5bc5613
mov eax, dword [esi + 0x160]
mov dword [ecx], eax
mov dword [esi + 0x160], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x220], 0
je 0x5bc562b
mov edx, ecx
mov ecx, esi
call fcn.05c20b70
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call sym.SQLite.Interop.dll_SI9edfb98001bcad06
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret