Function at 0x579b87
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 0x1c]
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], esi
cmp eax, esi
je 0x579ba4
cmp dword [ebp + 0x20], esi
jne 0x579ba7
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
call fcn.0056287c
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
inc ecx
cmp eax, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
jle 0x579cba
mov dword [ebp - 8], esi
mov edi, ecx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 4]
je 0x579ca6
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 8]
add eax, ecx
movzx edx, byte [eax + 0x14]
cmp edx, esi
je 0x579ca6
cmp dword [ebp + 0x24], 0x63
je 0x579c00
mov edx, dword [ebp + 0x24]
jmp 0x579c08
cmp edx, 0x63
jne 0x579c08
push 2
pop edx
cmp edx, 5
jne 0x579c15
cmp dword [eax + 4], esi
jne 0x579c15
push 2
pop edx
mov eax, edx
dec eax
je 0x579c6a
dec eax
je 0x579c62
dec eax
je 0x579c6a
dec eax
mov ecx, dword [ebp - 4]
je 0x579c52
push edi
push 0x4a
pop eax
call fcn.0055c33b
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax + 4]
call fcn.0055d772
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
call fcn.00555afc
jmp 0x579ca4
push dword [ebp + 0x28]
push edi
push 0x49
pop eax
call fcn.0055c34c
pop ecx
pop ecx
jmp 0x579ca6
mov ecx, dword [ebp + 8]
call fcn.00557051
mov ecx, dword [ebp - 4]
push edi
push edx
push 0x13
push 5
pop eax
call fcn.0055c2b7
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 8]
push dword [ecx + eax]
mov eax, dword [ebp + 8]
push dword [ebx]
mov esi, dword [eax]
push str._s._s_may_not_be_NULL
call fcn.00559ec3
push 0xffffffffffffffff
push eax
push dword [ebp - 4]
or eax, 0xffffffff
call fcn.0055c595
add esp, 0x24
xor esi, esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], 0x18
inc edi
cmp eax, dword [ebp - 0x24]
jl 0x579bd5
cmp dword [ebx + 0x2c], esi
je 0x579d35
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test dword [eax + 0xc], 0x40000
jne 0x579d35
mov eax, dword [ebp - 4]
call fcn.0055c35f
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp + 8]
push 8
push edi
mov dword [eax + 0x50], ecx
push dword [ebx + 0x2c]
push eax
call fcn.00579649
add esp, 0x10
cmp dword [ebp + 0x24], 0x63
je 0x579cfa
mov eax, dword [ebp + 0x24]
jmp 0x579cfd
push 2
pop eax
cmp eax, 4
jne 0x579d15
push dword [ebp + 0x28]
mov ecx, dword [ebp - 4]
xor eax, eax
push esi
inc eax
call fcn.0055c34c
pop ecx
pop ecx
jmp 0x579d2b
cmp eax, 5
jne 0x579d1d
push 2
pop eax
push esi
push esi
push eax
mov eax, dword [ebp + 8]
call fcn.005652cc
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, edi
call fcn.005559cf
cmp dword [ebp + 0x1c], esi
je 0x579e70
cmp dword [ebp + 0x24], 0x63
movzx edi, byte [ebx + 0x23]
je 0x579d4d
mov edi, dword [ebp + 0x24]
jmp 0x579d55
cmp edi, 0x63
jne 0x579d55
push 2
pop edi
cmp dword [ebp + 0x20], esi
je 0x579d72
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0x14]
push 0x4c
pop eax
call fcn.0055c2b7
add esp, 0xc
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0x10]
push 0x34
pop eax
call fcn.0055c2b7
add esp, 0xc
cmp edi, esi
mov dword [ebp - 0x18], eax
jle 0x579e3f
cmp edi, 3
jle 0x579e42
cmp edi, 4
je 0x579e2c
cmp edi, 5
jne 0x579e3f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edi, edi
test dword [eax + 0xc], 0x2000000
je 0x579dd3
mov eax, dword [ebp + 8]
push esi
push esi
push 0x6a
push ebx
call fcn.00557d75
mov edi, eax
add esp, 0x10
cmp edi, esi
jne 0x579e07
mov eax, dword [ebp + 8]
push esi
push esi
push ebx
call fcn.005574a2
add esp, 0xc
test eax, eax
jne 0x579e07
cmp dword [ebx + 0x10], esi
je 0x579e23
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0055703d
mov eax, dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
call fcn.0056dad4
pop ecx
pop ecx
xor esi, esi
jmp 0x579e23
mov ecx, dword [ebp + 8]
call fcn.0055703d
push 5
push edi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push ecx
call fcn.0058afca
add esp, 0x1c
mov dword [ebp - 0x10], 1
jmp 0x579e55
push dword [ebp + 0x28]
mov ecx, dword [ebp - 4]
xor eax, eax
push esi
inc eax
call fcn.0055c34c
pop ecx
pop ecx
jmp 0x579e55
push 2
pop edi
mov eax, dword [ebp + 8]
push 0xfffffffffffffffe
push str.PRIMARY_KEY_must_be_unique
push edi
call fcn.005652cc
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
call fcn.00555afc
cmp dword [ebp + 0x20], esi
je 0x579e70
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
call fcn.00555afc
mov eax, dword [ebp + 0xc]
and dword [ebp - 8], 0
mov ebx, dword [eax + 0x10]
jmp 0x57a107
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
lea edi, [eax + ecx*4]
cmp dword [edi], 0
je 0x57a101
mov esi, dword [ebx + 4]
mov ecx, dword [ebp + 8]
inc esi
call fcn.00556b18
xor esi, esi
cmp dword [ebx + 4], esi
mov dword [ebp + 0x1c], eax
jle 0x579edc
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + esi*4]
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0xc]
cmp eax, dword [ecx + 4]
jne 0x579ec0
push dword [ebp + 0x14]
jmp 0x579ec6
mov ecx, dword [ebp - 0x14]
add eax, ecx
push eax
mov ecx, dword [ebp - 4]
push 0xf
pop eax
call fcn.0055c34c
inc esi
inc dword [ebp - 0xc]
cmp esi, dword [ebx + 4]
pop ecx
pop ecx
jl 0x579eaa
mov eax, dword [ebp + 0x1c]
add eax, esi
mov esi, dword [ebp - 4]
push eax
push dword [ebp + 0x14]
mov ecx, esi
push 0xf
pop eax
call fcn.0055c34c
push dword [edi]
mov eax, dword [ebx + 4]
inc eax
push eax
push dword [ebp + 0x1c]
mov ecx, esi
push 0x1e
pop eax
call fcn.0055c2b7
add esp, 0x14
push 0
mov edi, ebx
mov eax, esi
call fcn.0055edca
push eax
push esi
or eax, 0xffffffff
call fcn.0055c595
mov ecx, dword [ebx + 4]
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
add esp, 0xc
inc ecx
call fcn.00556a62
movzx esi, byte [ebx + 0x18]
test esi, esi
jne 0x579f49
mov edi, dword [ebx + 4]
mov ecx, dword [ebp + 0x1c]
inc edi
call fcn.00556b3c
jmp 0x57a101
cmp dword [ebp + 0x24], 0x63
je 0x579f54
mov esi, dword [ebp + 0x24]
jmp 0x579f5c
cmp esi, 0x63
jne 0x579f5c
push 2
pop esi
cmp dword [ebp - 0x10], 0
je 0x579f73
cmp esi, 4
jne 0x579f6b
push 5
jmp 0x579f72
cmp esi, 3
jne 0x579f73
push 2
pop esi
call fcn.00556ac9
mov ecx, dword [ebp - 4]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
push 0xf
pop eax
call fcn.0055c34c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
push 0xfffffffffffffff2
push dword [ebp + 0x1c]
lea eax, [eax + ecx + 1]
push dword [ebp - 0xc]
push 0
push eax
push dword [ebp - 4]
push 0x33
pop eax
call fcn.00560b2c
mov edi, dword [ebx + 4]
mov ecx, dword [ebp + 0x1c]
add esp, 0x20
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
inc edi
call fcn.00556b3c
test esi, esi
jle 0x57a0a3
cmp esi, 3
jle 0x579fec
cmp esi, 4
jne 0x57a0a3
push dword [ebp + 0x28]
mov ecx, dword [ebp - 4]
xor eax, eax
push 0
inc eax
call fcn.0055c34c
pop ecx
pop ecx
jmp 0x57a0eb
push 0xc8
xor edx, edx
xor ecx, ecx
lea eax, [ebp - 0x40]
call fcn.005515c0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 4]
cmp eax, 1
pop ecx
mov dword [ebp + 0x1c], str.columns
jg 0x57a01c
mov dword [ebp + 0x1c], str.column
xor edi, edi
test eax, eax
jle 0x57a063
mov eax, dword [ebx + 8]
mov eax, dword [eax + edi*4]
mov ecx, dword [ebp + 0xc]
imul eax, eax, 0x18
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + ecx]
push 0xffffffffffffffff
push dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0056dd24
push 0xffffffffffffffff
push dword [ebp - 0x24]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp + 0x1c], 0x5fdad8
call fcn.0056dd24
add esp, 0x18
inc edi
cmp edi, dword [ebx + 4]
jl 0x57a022
cmp dword [ebx + 4], 1
mov eax, str._are_not_unique
jg 0x57a073
mov eax, str._is_not_unique
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0056dd24
lea edi, [ebp - 0x40]
call fcn.00559dfe
mov edi, eax
mov eax, dword [ebp + 8]
push 0
push edi
push esi
call fcn.005652cc
push edi
push dword [ebp - 0x40]
call fcn.00551521
add esp, 0x20
jmp 0x57a0eb
mov edi, eax
mov ecx, edi
xor esi, esi
xor edx, edx
call fcn.0055703d
mov eax, dword [edi]
test dword [eax + 0xc], 0x2000000
je 0x57a0ce
push esi
push esi
push 0x6a
push dword [ebp + 0xc]
mov eax, edi
call fcn.00557d75
add esp, 0x10
mov edx, eax
push 5
push edx
push esi
push dword [ebp - 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0058afca
add esp, 0x1c
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
call fcn.00555afc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.00556ae4
mov ebx, dword [ebx + 0x20]
inc dword [ebp - 8]
test ebx, ebx
jne 0x579e7f
mov eax, dword [ebp + 0x2c]
pop edi
pop esi
pop ebx
test eax, eax
je 0x57a11e
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
leave
ret