Function at 0x463a7b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.0045c77d
mov ebx, eax
mov eax, dword [edi + 0x44]
dec eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00456260
mov edi, dword [ebp + 0x18]
xor esi, esi
cmp dword [ebp + 0x24], esi
mov dword [ebp - 4], eax
jge 0x463abb
push eax
movzx eax, byte [edi + 0x18]
push eax
push 0x6f
pop eax
mov ecx, ebx
call fcn.0045624d
pop ecx
pop ecx
cmp dword [edi + 0x14], esi
jle 0x463ae3
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + esi*4]
push dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
lea eax, [eax + ecx + 1]
push eax
push 0x49
pop eax
mov ecx, ebx
call fcn.0045624d
inc esi
cmp esi, dword [edi + 0x14]
pop ecx
pop ecx
jl 0x463ac0
cmp dword [ebp + 0x28], 0
jne 0x463cef
cmp dword [ebp + 0x14], 0
jne 0x463bb0
mov eax, dword [ebp + 8]
call fcn.004509cb
mov ecx, dword [ebp + 0x20]
push eax
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
lea eax, [eax + ecx + 1]
push eax
push 0xf
pop eax
mov ecx, ebx
call fcn.0045624d
push 0
push dword [ebp + 0x18]
mov ecx, ebx
push 0x15
pop eax
call fcn.0045624d
mov esi, dword [ebp + 0x10]
add esp, 0x10
mov dword [ebp + 0x28], eax
cmp esi, dword [edi]
jne 0x463b52
cmp dword [ebp + 0x24], 1
jne 0x463b52
push dword [ebp + 0x18]
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp + 0x20]
push 0x4c
pop eax
call fcn.004561b8
add esp, 0xc
push 0x26
push dword [ebp + 0xc]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0045fb68
push dword [ebp + 0x18]
mov ecx, ebx
push 0
push dword [ebp - 8]
push 0x34
pop eax
call fcn.004561b8
push dword [ebp - 4]
xor eax, eax
push 0
inc eax
mov ecx, ebx
call fcn.0045624d
add esp, 0x24
mov eax, ebx
call fcn.0044f992
dec eax
dec eax
mov ecx, ebx
call fcn.0044f9fb
mov eax, dword [ebp + 0x28]
mov ecx, ebx
call fcn.0044f9fb
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
call fcn.004509e6
jmp 0x463cef
mov esi, dword [edi + 0x14]
mov ecx, dword [ebp + 8]
call fcn.00450a1a
mov dword [ebp - 0x10], eax
mov eax, ecx
call fcn.004509cb
push dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call fcn.00462ebc
push dword [ebp + 0xc]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 0x14]
mov ecx, ebx
push dword [ebp - 8]
push 0x26
pop eax
call fcn.004561b8
push 0xfffffffffffffff0
push dword [ebp + 0x28]
or eax, 0xffffffff
push ebx
call fcn.00456496
xor eax, eax
add esp, 0x20
mov dword [ebp + 0x28], eax
test esi, esi
jle 0x463c33
jmp 0x463c0b
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0x10]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp + 0x20]
lea eax, [eax + ecx + 1]
push eax
push 0xe
pop eax
mov ecx, ebx
call fcn.0045624d
inc dword [ebp + 0x28]
cmp dword [ebp + 0x28], esi
pop ecx
pop ecx
jl 0x463c08
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi]
jne 0x463c96
cmp dword [ebp + 0x24], 1
jne 0x463c96
mov eax, ebx
call fcn.0044f992
lea eax, [eax + esi + 1]
xor edi, edi
mov dword [ebp + 0x28], eax
test esi, esi
jle 0x463c85
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp + 0x20]
lea ecx, [ecx + eax + 1]
push ecx
mov ecx, dword [ebp + 0x1c]
mov ecx, dword [ecx + edi*4]
push dword [ebp + 0x28]
lea eax, [ecx + eax + 1]
push eax
push 0x4b
pop eax
mov ecx, ebx
call fcn.004561b8
add esp, 0xc
inc edi
cmp edi, esi
jl 0x463c54
push dword [ebp - 4]
xor eax, eax
push 0
inc eax
mov ecx, ebx
call fcn.0045624d
pop ecx
pop ecx
push dword [ebp - 0xc]
mov ecx, ebx
push esi
push dword [ebp - 0x10]
push 0x1e
pop eax
call fcn.004561b8
mov edi, dword [ebp + 0x14]
add esp, 0xc
push 0
mov eax, ebx
call fcn.00458ccb
push eax
push ebx
or eax, 0xffffffff
call fcn.00456496
push 0
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
push 0x32
pop eax
call fcn.0045aa5a
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add esp, 0x20
call fcn.004509e6
mov ecx, dword [ebp - 0x10]
mov edi, esi
call fcn.00450a3e
mov edi, dword [ebp + 0x18]
mov cl, byte [edi + 0x18]
mov eax, dword [ebp + 8]
test cl, cl
jne 0x463d1d
cmp dword [eax + 0x1a8], 0
jne 0x463d1d
cmp byte [eax + 0x158], cl
jne 0x463d1d
push 0xfffffffffffffffe
push str.foreign_key_constraint_failed
push 2
call fcn.0045f1cd
add esp, 0xc
jmp 0x463d4e
cmp dword [ebp + 0x24], 0
jle 0x463d3a
test cl, cl
jne 0x463d3a
mov ecx, dword [eax + 0x1a8]
test ecx, ecx
je 0x463d33
mov eax, ecx
mov byte [eax + 0x159], 1
movzx eax, byte [edi + 0x18]
push dword [ebp + 0x24]
mov ecx, ebx
push eax
push 0x6e
pop eax
call fcn.0045624d
pop ecx
pop ecx
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.0044f8ce
push dword [ebp - 8]
mov ecx, ebx
push 0x2b
pop eax
call fcn.0045623c
pop ecx
pop edi
pop esi
pop ebx
leave
ret