Function at 0x46632f
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.0045c77d
mov edi, eax
test edi, edi
je 0x466840
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x46683f
cmp dword [ebx + 0x14], 0
je 0x46683f
push 7
push str.sqlite_
push dword [ebx]
call fcn.0048ea9f
add esp, 0xc
test eax, eax
je 0x46683f
mov ecx, dword [ebp - 0x24]
push esi
mov esi, dword [ebx + 0x44]
call fcn.004516f9
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.00457dc9
add esp, 0x10
test eax, eax
jne 0x46683e
push dword [ebx]
mov esi, dword [ebp + 8]
mov ebx, dword [ebx + 0x14]
push eax
push dword [ebp - 0x28]
mov eax, esi
call fcn.00457e40
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.0045aa2d
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
add esp, 0x24
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x46677b
jmp 0x466422
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 0x10], ebx
je 0x466430
cmp dword [ebp + 0x10], eax
jne 0x46676d
mov ecx, dword [eax + 4]
push eax
push esi
mov dword [ebp - 4], ecx
call fcn.00462ebc
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 0x466453
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.0045aa2d
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.0045aa2d
add esp, 0x30
cmp dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
jl 0x4664ab
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.0045624d
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
pop ecx
pop ecx
jle 0x46648a
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [ebp + 8], ebx
jle 0x4664e0
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.0045624d
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
pop ecx
pop ecx
jl 0x4664bf
mov eax, edi
call fcn.00456260
push eax
push dword [ebp - 8]
mov dword [ebp - 0x38], eax
push 0x41
pop eax
mov ecx, edi
call fcn.0045624d
mov eax, edi
call fcn.0044f992
push 1
push dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
push 0x14
pop eax
mov ecx, edi
call fcn.0045624d
mov eax, dword [ebp - 4]
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], ebx
jle 0x466596
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.004561b8
add esp, 0xc
cmp dword [ebp + 8], ebx
jne 0x466553
mov eax, dword [ebp + 0x18]
inc eax
push eax
push 0x1b
pop eax
mov ecx, edi
call fcn.0045623c
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.00462e53
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.0045aa2d
add esp, 0x1c
mov dl, 0x80
mov ecx, edi
call fcn.0044f9e9
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jl 0x466528
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x1e], bl
jne 0x46683e
push dword [ebp - 0x38]
xor eax, eax
push ebx
inc eax
mov ecx, edi
call fcn.0045624d
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
cmp ecx, ebx
mov dword [ebp + 8], ebx
jle 0x46662c
mov eax, dword [ebp + 0x18]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x1c], eax
jmp 0x4665cb
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.0044f992
add ecx, ecx
sub eax, ecx
mov dword [ebp - 0x40], eax
cmp dword [ebp + 8], ebx
jne 0x4665e9
dec eax
mov ecx, edi
call fcn.0044f9fb
mov eax, dword [ebp - 0x40]
mov ecx, edi
call fcn.0044f9fb
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.0045624d
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.004561b8
add esp, 0x14
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jl 0x4665c8
mov edx, dword [ebp - 0x38]
mov ecx, edi
call fcn.0044f8ce
push dword [ebp - 0x44]
mov ecx, edi
push dword [ebp - 8]
push 0x43
pop eax
call fcn.0045624d
push dword [ebp - 8]
mov ecx, edi
push 0x2b
pop eax
call fcn.0045623c
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp + 0x18]
push 0xf
pop eax
call fcn.0045624d
add esp, 0x14
cmp dword [ebp - 0x18], ebx
jge 0x46667c
push dword [ebp + 0x18]
mov ecx, edi
push 0x1b
pop eax
call fcn.0045623c
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp eax, ebx
jle 0x466721
mov ecx, dword [ebp + 0x18]
inc ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 0x38], eax
push ebx
push 0x4ce83c
push ebx
push dword [ebp - 0xc]
push ebx
push edi
push 0x5e
pop eax
call fcn.0045aa2d
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0x5b
pop eax
call fcn.004561b8
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp + 8]
push dword [ebp + 0x18]
push 0x56
pop eax
call fcn.004561b8
push 0xffffffffffffffff
push dword [ebp - 0xc]
mov ecx, edi
push 0x14
pop eax
call fcn.0045624d
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp - 0xc]
push dword [ebp + 8]
push 0x59
pop eax
call fcn.004561b8
add esp, 0x44
push dword [ebp - 0xc]
mov eax, 0x90
mov ecx, edi
call fcn.0045623c
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0x5b
pop eax
call fcn.004561b8
add esp, 0x10
inc dword [ebp + 8]
dec dword [ebp - 0x38]
jne 0x466691
push ebx
push 0x4b2cc4
push dword [ebp - 0x2c]
push 3
push dword [ebp - 0x30]
push edi
push 0x1e
pop eax
call fcn.0045aa2d
push dword [ebp - 0x20]
mov ecx, edi
push dword [ebp + 0x14]
push 0x36
pop eax
call fcn.0045624d
push dword [ebp - 0x20]
mov ecx, edi
push dword [ebp - 0x2c]
push dword [ebp + 0x14]
push 0x37
pop eax
call fcn.004561b8
add esp, 0x2c
mov dl, 8
mov ecx, edi
call fcn.0044f9e9
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x46641f
cmp dword [ecx + 0x10], ebx
jne 0x4667c2
push dword [ebp - 0x28]
push dword [ecx + 0x14]
mov ecx, edi
push dword [ebp - 8]
push 0x26
pop eax
call fcn.004561b8
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 8]
push 0x1f
pop eax
call fcn.0045624d
push dword [ebp - 8]
mov ecx, edi
push 0x2b
pop eax
call fcn.0045623c
push dword [ebp - 0x10]
mov ecx, edi
push 0x1b
pop eax
call fcn.0045623c
add esp, 0x1c
jmp 0x4667d6
mov eax, dword [ebp - 0x18]
mov ecx, edi
call fcn.0044f9fb
push 1
mov ecx, edi
call fcn.0045622a
pop ecx
push dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
push ebx
push 0xa
pop eax
mov ecx, edi
call fcn.0045624d
push ebx
mov ebx, dword [ebp - 0x2c]
push 0x4b2cc4
push ebx
push 3
push dword [ebp - 0x30]
push edi
push 0x1e
pop eax
call fcn.0045aa2d
push dword [ebp - 0x20]
mov ecx, edi
push dword [ebp + 0x14]
push 0x36
pop eax
call fcn.0045624d
push dword [ebp - 0x20]
mov ecx, edi
push ebx
push dword [ebp + 0x14]
push 0x37
pop eax
call fcn.004561b8
add esp, 0x34
mov dl, 8
mov ecx, edi
call fcn.0044f9e9
cmp dword [esi + 0x48], ebx
jge 0x466834
mov dword [esi + 0x48], ebx
mov eax, dword [ebp - 0x18]
mov ecx, edi
call fcn.0044f9fb
pop esi
pop ebx
pop edi
leave
ret