Function at 0x56c42e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
or dword [ebp - 0x18], 0xffffffff
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
inc eax
mov dword [ebp - 0x3c], eax
inc eax
mov dword [ebp - 0x10], eax
inc eax
mov dword [ebp - 0x34], eax
inc eax
mov dword [ebp - 0x2c], eax
inc eax
mov dword [ebp - 0xc], eax
inc eax
mov dword [ebp - 0x20], eax
inc eax
mov dword [ebp + 0x18], eax
call fcn.0056287c
mov edi, eax
test edi, edi
je 0x56c93f
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x56c93e
cmp dword [ebx + 0x14], 0
je 0x56c93e
push 7
push str.sqlite_
push dword [ebx]
call fcn.00596eef
add esp, 0xc
test eax, eax
je 0x56c93e
mov ecx, dword [ebp - 0x24]
push esi
mov esi, dword [ebx + 0x44]
call fcn.005577f7
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x28], eax
shl eax, 4
push dword [eax + ecx]
mov eax, dword [ebp + 8]
push 0
push dword [ebx]
push 0x1c
call fcn.0055dec8
add esp, 0x10
test eax, eax
jne 0x56c93d
push dword [ebx]
mov esi, dword [ebp + 8]
mov ebx, dword [ebx + 0x14]
push eax
push dword [ebp - 0x28]
mov eax, esi
call fcn.0055df3f
mov eax, dword [esi + 0x44]
mov dword [ebp - 8], eax
inc eax
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push dword [eax]
push ebx
push dword [ebp - 0x30]
push ebx
push edi
push 0x5e
pop eax
call fcn.00560b2c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
add esp, 0x24
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x56c87a
jmp 0x56c521
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 0x10], ebx
je 0x56c52f
cmp dword [ebp + 0x10], eax
jne 0x56c86c
mov ecx, dword [eax + 4]
push eax
push esi
mov dword [ebp - 4], ecx
call fcn.00568fbb
mov edx, dword [ebp + 0x18]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
add ecx, ecx
lea ecx, [ecx + edx + 1]
cmp ecx, dword [esi + 0x48]
jle 0x56c552
mov dword [esi + 0x48], ecx
push 0xfffffffffffffff0
push eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x14]
push dword [ebp - 8]
push edi
push 0x26
pop eax
call fcn.00560b2c
mov eax, dword [ebp - 0x14]
push ebx
push dword [eax]
push ebx
push dword [ebp - 0x3c]
push ebx
push edi
push 0x5e
pop eax
call fcn.00560b2c
add esp, 0x30
cmp dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
jl 0x56c5aa
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
add ecx, eax
push ecx
push ebx
push 7
pop eax
mov ecx, edi
call fcn.0055c34c
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
pop ecx
pop ecx
jle 0x56c589
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [ebp + 8], ebx
jle 0x56c5df
mov ecx, dword [ebp + 0x18]
lea eax, [eax + ecx + 1]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
add eax, ecx
push eax
push ebx
push 0xa
pop eax
mov ecx, edi
call fcn.0055c34c
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
pop ecx
pop ecx
jl 0x56c5be
mov eax, edi
call fcn.0055c35f
push eax
push dword [ebp - 8]
mov dword [ebp - 0x38], eax
push 0x41
pop eax
mov ecx, edi
call fcn.0055c34c
mov eax, edi
call fcn.00555a93
push 1
push dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
push 0x14
pop eax
mov ecx, edi
call fcn.0055c34c
mov eax, dword [ebp - 4]
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], ebx
jle 0x56c695
mov ecx, dword [ebp + 0x18]
lea eax, [eax + ecx + 1]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x34]
mov ecx, edi
push dword [ebp + 8]
push dword [ebp - 8]
push 0x1c
pop eax
call fcn.0055c2b7
add esp, 0xc
cmp dword [ebp + 8], ebx
jne 0x56c652
mov eax, dword [ebp + 0x18]
inc eax
push eax
push 0x1b
pop eax
mov ecx, edi
call fcn.0055c33b
pop ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2c]
mov ecx, dword [ebp + 8]
push dword [eax + ecx*4]
mov eax, esi
call fcn.00568f52
mov ecx, dword [ebp + 8]
push 0xfffffffffffffffc
push eax
mov eax, dword [ebp - 0x1c]
add eax, ecx
push eax
push ebx
push dword [ebp - 0x34]
push edi
push 0x4b
pop eax
call fcn.00560b2c
add esp, 0x1c
mov dl, 0x80
mov ecx, edi
call fcn.00555aea
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jl 0x56c627
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x1e], bl
jne 0x56c93d
push dword [ebp - 0x38]
xor eax, eax
push ebx
inc eax
mov ecx, edi
call fcn.0055c34c
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
cmp ecx, ebx
mov dword [ebp + 8], ebx
jle 0x56c72b
mov eax, dword [ebp + 0x18]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x1c], eax
jmp 0x56c6ca
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.00555a93
add ecx, ecx
sub eax, ecx
mov dword [ebp - 0x40], eax
cmp dword [ebp + 8], ebx
jne 0x56c6e8
dec eax
mov ecx, edi
call fcn.00555afc
mov eax, dword [ebp - 0x40]
mov ecx, edi
call fcn.00555afc
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
lea eax, [ecx + eax + 1]
push 1
push eax
push 0x14
pop eax
mov ecx, edi
call fcn.0055c34c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
add ecx, eax
push ecx
push eax
push dword [ebp - 8]
mov ecx, edi
push 0x1c
pop eax
call fcn.0055c2b7
add esp, 0x14
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jl 0x56c6c7
mov edx, dword [ebp - 0x38]
mov ecx, edi
call fcn.005559cf
push dword [ebp - 0x44]
mov ecx, edi
push dword [ebp - 8]
push 0x43
pop eax
call fcn.0055c34c
push dword [ebp - 8]
mov ecx, edi
push 0x2b
pop eax
call fcn.0055c33b
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp + 0x18]
push 0xf
pop eax
call fcn.0055c34c
add esp, 0x14
cmp dword [ebp - 0x18], ebx
jge 0x56c77b
push dword [ebp + 0x18]
mov ecx, edi
push 0x1b
pop eax
call fcn.0055c33b
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp eax, ebx
jle 0x56c820
mov ecx, dword [ebp + 0x18]
inc ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 0x38], eax
push ebx
push 0x5fdadc
push ebx
push dword [ebp - 0xc]
push ebx
push edi
push 0x5e
pop eax
call fcn.00560b2c
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0x5b
pop eax
call fcn.0055c2b7
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp + 8]
push dword [ebp + 0x18]
push 0x56
pop eax
call fcn.0055c2b7
push 0xffffffffffffffff
push dword [ebp - 0xc]
mov ecx, edi
push 0x14
pop eax
call fcn.0055c34c
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp - 0xc]
push dword [ebp + 8]
push 0x59
pop eax
call fcn.0055c2b7
add esp, 0x44
push dword [ebp - 0xc]
mov eax, 0x90
mov ecx, edi
call fcn.0055c33b
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0x5b
pop eax
call fcn.0055c2b7
add esp, 0x10
inc dword [ebp + 8]
dec dword [ebp - 0x38]
jne 0x56c790
push ebx
push 0x5caf14
push dword [ebp - 0x2c]
push 3
push dword [ebp - 0x30]
push edi
push 0x1e
pop eax
call fcn.00560b2c
push dword [ebp - 0x20]
mov ecx, edi
push dword [ebp + 0x14]
push 0x36
pop eax
call fcn.0055c34c
push dword [ebp - 0x20]
mov ecx, edi
push dword [ebp - 0x2c]
push dword [ebp + 0x14]
push 0x37
pop eax
call fcn.0055c2b7
add esp, 0x2c
mov dl, 8
mov ecx, edi
call fcn.00555aea
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x56c51e
cmp dword [ecx + 0x10], ebx
jne 0x56c8c1
push dword [ebp - 0x28]
push dword [ecx + 0x14]
mov ecx, edi
push dword [ebp - 8]
push 0x26
pop eax
call fcn.0055c2b7
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 8]
push 0x1f
pop eax
call fcn.0055c34c
push dword [ebp - 8]
mov ecx, edi
push 0x2b
pop eax
call fcn.0055c33b
push dword [ebp - 0x10]
mov ecx, edi
push 0x1b
pop eax
call fcn.0055c33b
add esp, 0x1c
jmp 0x56c8d5
mov eax, dword [ebp - 0x18]
mov ecx, edi
call fcn.00555afc
push 1
mov ecx, edi
call fcn.0055c329
pop ecx
push dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
push ebx
push 0xa
pop eax
mov ecx, edi
call fcn.0055c34c
push ebx
mov ebx, dword [ebp - 0x2c]
push 0x5caf14
push ebx
push 3
push dword [ebp - 0x30]
push edi
push 0x1e
pop eax
call fcn.00560b2c
push dword [ebp - 0x20]
mov ecx, edi
push dword [ebp + 0x14]
push 0x36
pop eax
call fcn.0055c34c
push dword [ebp - 0x20]
mov ecx, edi
push ebx
push dword [ebp + 0x14]
push 0x37
pop eax
call fcn.0055c2b7
add esp, 0x34
mov dl, 8
mov ecx, edi
call fcn.00555aea
cmp dword [esi + 0x48], ebx
jge 0x56c933
mov dword [esi + 0x48], ebx
mov eax, dword [ebp - 0x18]
mov ecx, edi
call fcn.00555afc
pop esi
pop ebx
pop edi
leave
ret