Function at 0x456554
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
xor eax, eax
inc eax
mov dword [ebp - 8], ecx
mov byte [ebp - 1], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
inc eax
push ebx
mov dword [ebp + 0x10], eax
inc eax
mov ebx, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x28], ebx
inc ebx
mov dword [ebp - 0x10], ebx
inc ebx
mov dword [ebp - 0x38], ebx
inc ebx
mov dword [ebp - 0x44], ebx
inc ebx
mov dword [ebp - 0x40], ebx
inc ebx
cmp eax, ebx
push esi
mov esi, edx
cmovle eax, ebx
push edi
mov dword [ebp - 0x48], esi
mov dword [ecx + 0x2c], eax
call fcn.00468189
mov edi, eax
test edi, edi
je 0x456a14
test esi, esi
je 0x456a14
cmp dword [esi + 0x1c], 0
je 0x456a14
push 0
push dword [esi]
push str.sqlite__
call fcn.0045dfcd
add esp, 0xc
test eax, eax
je 0x456a14
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0x48]
call fcn.00465f4c
mov edx, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
add edx, edx
mov ecx, dword [eax + 0x10]
push dword [ecx + edx*8]
mov ecx, dword [ebp - 8]
push 0
push dword [esi]
push 0x1c
pop edx
call fcn.00457946
add esp, 0xc
test eax, eax
jne 0x456a14
push dword [esi]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
push eax
push dword [esi + 0x1c]
call fcn.004579ef
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov edx, eax
inc eax
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x50], edx
push 0x6a
lea ecx, [eax + 1]
mov eax, dword [ebp - 8]
push esi
push dword [ebp - 0x24]
mov eax, dword [eax + 0x28]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x28], eax
call fcn.004603e4
mov edx, dword [ebp - 0x38]
add esp, 0xc
mov ecx, edi
push dword [esi]
call fcn.004433a3
mov esi, dword [esi + 8]
pop ecx
jmp 0x456973
cmp dword [ebp + 8], 0
je 0x456674
cmp dword [ebp + 8], esi
jne 0x456970
movzx eax, byte [ebp - 1]
xor ecx, ecx
cmp dword [esi + 0x24], ecx
cmovne ecx, eax
mov byte [ebp - 1], cl
mov ecx, dword [ebp - 0x48]
test byte [ecx + 0x24], 0x20
je 0x45669e
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x45669e
movzx eax, word [esi + 0x32]
mov dword [ebp - 0x34], eax
jmp 0x4566b4
test byte [esi + 0x38], 8
mov ecx, esi
movzx eax, word [esi + 0x34]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
je 0x4566b7
movzx eax, word [esi + 0x32]
mov dword [ebp - 0x14], eax
push dword [ecx]
mov edx, dword [ebp - 0x44]
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.004433a3
mov edx, dword [ebp - 8]
pop ecx
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x24]
mov eax, dword [edx + 0x2c]
dec ecx
add ecx, ebx
cmp eax, ecx
cmovle eax, ecx
mov ecx, edi
mov dword [edx + 0x2c], eax
push dword [esi + 0x2c]
push dword [ebp + 0x14]
push 0x6a
pop edx
call fcn.004432f9
mov ecx, dword [ebp - 8]
add esp, 0xc
mov edx, esi
call fcn.00443ac0
push dword [ebp - 0x3c]
mov ecx, edi
push dword [ebp - 0x34]
push 0x38
pop edx
call fcn.0044337d
mov eax, dword [ebp + 0x10]
mov ecx, edi
add eax, 2
push eax
movzx eax, word [esi + 0x32]
push eax
push 0x38
pop edx
call fcn.0044337d
push 0xfffffffffffffffc
push 0x5027ac
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x3c]
push 0
push 0x45
pop edx
call fcn.00443422
add esp, 0x24
mov ecx, edi
push 2
pop edx
call fcn.004437ff
push dword [ebp + 0x14]
push 0x25
pop edx
call fcn.00443369
pop ecx
push dword [ebp - 0x28]
mov ecx, edi
mov dword [ebp - 0x4c], eax
push 0
push 0x38
pop edx
call fcn.0044337d
pop ecx
pop ecx
mov ecx, edi
call fcn.004436d4
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x34], eax
jle 0x4568d0
call fcn.00443528
mov ecx, dword [ebp - 0xc]
shl ecx, 2
push 0
push ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
call fcn.0042c3e6
mov dword [ebp - 0x30], eax
pop ecx
pop ecx
test eax, eax
je 0x456970
push 0xd
pop edx
mov ecx, edi
call fcn.0044335b
mov ecx, edi
call fcn.004436d4
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
inc ecx
cmp eax, ecx
jne 0x4567df
cmp word [esi + 0x32], cx
jne 0x4567df
cmp byte [esi + 0x36], 0
je 0x4567df
push dword [ebp - 0x2c]
mov ecx, edi
push ebx
push 0x4c
pop edx
call fcn.0044337d
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x45685c
mov edx, dword [esi + 0x20]
mov edx, dword [edx + ecx*4]
mov ecx, dword [ebp - 8]
call fcn.00458e0d
push dword [ebp - 0x28]
mov ecx, edi
mov esi, eax
push dword [ebp - 0x14]
push 0x38
pop edx
call fcn.0044337d
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x14]
push dword [ebp + 0x14]
push 0x63
pop edx
call fcn.004432f9
add esp, 0x14
mov ecx, edi
push 0xfffffffffffffffd
push esi
mov esi, dword [ebp - 0x14]
lea eax, [esi + ebx]
push eax
push 0
push dword [ebp - 0x10]
push 0x4d
pop edx
call fcn.00443422
mov ecx, dword [ebp - 0x30]
add esp, 0x14
mov edx, 0x80
mov dword [ecx + esi*4], eax
mov ecx, edi
call fcn.004437ff
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov esi, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jl 0x4567e8
push dword [ebp - 0x28]
mov ecx, edi
push eax
push 0x38
pop edx
call fcn.0044337d
mov edx, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, edi
call fcn.00443392
mov edx, dword [ebp - 0x34]
mov ecx, edi
lea edx, [edx - 1]
call fcn.00443817
and dword [ebp - 0x14], 0
cmp dword [ebp - 0xc], 0
jle 0x4568bb
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov ecx, edi
mov edx, dword [eax + esi*4]
call fcn.00443817
lea eax, [esi + ebx]
mov ecx, edi
push eax
push esi
push dword [ebp + 0x14]
push 0x63
pop edx
call fcn.004432f9
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x456890
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov ecx, edi
call fcn.0044356a
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
call fcn.0042c1c6
push 0xfffffffffffffffc
push 0x5045a4
push dword [ebp - 0x10]
xor eax, eax
mov ecx, edi
push dword [ebp + 0x10]
inc eax
push eax
push 0x45
pop edx
call fcn.00443422
add esp, 0x14
mov ecx, edi
push 2
pop edx
call fcn.004437ff
push dword [ebp - 0x34]
push dword [ebp + 0x14]
push 7
pop edx
call fcn.0044337d
mov edx, dword [ebp + 0x10]
pop ecx
pop ecx
push dword [ebp - 0x40]
push ecx
mov ecx, edi
call fcn.00456527
push 0
push 0x50ff28
push dword [ebp - 0x10]
mov ecx, edi
push 3
push dword [ebp - 0x38]
push 0x65
pop edx
call fcn.00443422
add esp, 0x1c
mov ecx, edi
push dword [ebp - 0x20]
push dword [ebp + 0xc]
push 0x75
pop edx
call fcn.0044337d
push dword [ebp - 0x20]
mov ecx, edi
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push 0x76
pop edx
call fcn.004432f9
add esp, 0x14
mov ecx, edi
push 8
pop edx
call fcn.004437ff
mov edx, dword [ebp - 0x4c]
call fcn.00443817
mov al, byte [ebp - 1]
mov byte [ebp - 1], al
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x456665
cmp dword [ebp + 8], 0
jne 0x456a14
cmp byte [ebp - 1], 0
je 0x456a14
mov ebx, dword [ebp - 0x40]
mov ecx, edi
push ebx
push dword [ebp - 0x50]
push 0x66
pop edx
call fcn.0044337d
push ebx
push 0x16
pop edx
mov ecx, edi
call fcn.00443369
add esp, 0xc
mov ecx, edi
mov esi, eax
push dword [ebp - 0x44]
push 0
push 0x3b
pop edx
call fcn.0044337d
mov ebx, dword [ebp - 0x10]
mov ecx, edi
push 0
push 0x50ff28
push ebx
push 3
push dword [ebp - 0x38]
push 0x65
pop edx
call fcn.00443422
add esp, 0x1c
mov ecx, edi
push dword [ebp - 0x20]
push dword [ebp + 0xc]
push 0x75
pop edx
call fcn.0044337d
push dword [ebp - 0x20]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push 0x76
pop edx
call fcn.004432f9
add esp, 0x14
mov ecx, edi
push 8
pop edx
call fcn.004437ff
mov edx, esi
call fcn.00443817
pop edi
pop esi
pop ebx
leave
ret