Function at 0x4072c7
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa0
mov eax, dword [0x4b6084]
xor eax, ebp
mov dword [ebp + 0x6c], eax
and dword [ebp], 0
and dword [ebp - 4], 0
and dword [ebp + 4], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x24], 0
and dword [ebp - 8], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x2c], 0
cmp dword [ebp - 8], 0
je 0x407322
cmp dword [0x4b6ad0], 0
je 0x407322
cmp dword [ebp + 0x7c], 0
jne 0x4076e2
cmp dword [section..data], 0
je 0x4076e2
mov eax, dword [ebp + 0x78]
push dword [eax + 0x1c]
call fcn.00487f98
pop ecx
cmp dword [ebp + 4], 0
jle 0x40733d
mov dword [ebp - 0x28], 1
jmp 0x407341
and dword [ebp - 0x28], 0
push dword [ebp - 0x28]
push dword [ebp]
push dword [ebp + 0x7c]
call fcn.00406a8e
add esp, 0xc
mov dword [ebp], eax
cmp dword [ebp], 0
jne 0x407374
cmp dword [section..data], 0
je 0x40736f
push 0x4a0db4
call fcn.0040aa77
pop ecx
jmp 0x4076e2
cmp dword [0x4b6ad8], 0
je 0x407392
cmp dword [ebp + 0x7c], 0
je 0x407388
jmp 0x4076e2
mov dword [0x4b6ad8], 0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 4], 0
jne 0x4073c9
push dword [ebp]
call section..text
pop ecx
test eax, eax
je 0x4073c9
mov eax, dword [ebp + 0x78]
cmp dword [eax + 4], 0
je 0x4073c4
push dword [ebp]
push 0x4a0e9c
call fcn.0040aa77
pop ecx
pop ecx
jmp 0x4072fc
cmp dword [ebp], 0
je 0x40742e
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp]
movsx eax, byte [ecx + eax]
cmp eax, 0x2e
jne 0x40742e
cmp dword [ebp + 4], 0
jne 0x40742e
mov eax, dword [ebp + 0x78]
cmp dword [eax + 4], 0
je 0x4073ff
push dword [ebp]
push 0x4a0ea0
call fcn.0040aa77
pop ecx
pop ecx
push dword [ebp + 0x78]
push dword [ebp]
call fcn.00401c87
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jne 0x40741c
jmp 0x4076e2
cmp dword [ebp - 0x1c], 0
je 0x407429
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x4072fc
push dword [ebp]
call fcn.00406808
pop ecx
test eax, eax
je 0x40745e
push dword [ebp + 4]
push dword [ebp - 4]
call fcn.004068ab
pop ecx
pop ecx
test eax, eax
je 0x40745e
push 2
push 0x4a0ea4
push dword [ebp]
call fcn.00483670
add esp, 0xc
push dword [ebp]
call fcn.004092b1
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 4]
lea eax, [ecx + eax + 2]
cmp eax, dword [ebp - 0x18]
jl 0x4074b8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 4]
lea eax, [ecx + eax + 0x64]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.00486aa4
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4074b8
push str.Error:_out_of_memory_n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
pop ecx
pop ecx
push 1
call fcn.00486d64
mov eax, dword [ebp + 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 4], 0
jne 0x407542
and dword [ebp - 0xc], 0
jmp 0x4074d1
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp]
add eax, dword [ebp - 0xc]
movsx eax, byte [eax]
test eax, eax
je 0x4074f4
mov eax, dword [ebp]
add eax, dword [ebp - 0xc]
movzx eax, byte [eax]
push eax
call fcn.004865e9
pop ecx
test eax, eax
je 0x4074f4
jmp 0x4074ca
cmp dword [ebp - 0x18], 0
jle 0x407500
cmp dword [ebp - 4], 0
jne 0x407517
push 0xf65
push str.x:_nataeighteight_sqlite_sqlite_static_shell.cpp
push str.nAlloc_0__zSql_0
call fcn.0048ca87
add esp, 0xc
mov eax, dword [ebp - 0x10]
inc eax
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp]
add eax, dword [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.00483670
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp + 4], eax
jmp 0x407572
mov eax, dword [ebp - 4]
add eax, dword [ebp + 4]
mov byte [eax], 0xa
mov eax, dword [ebp + 4]
inc eax
mov dword [ebp + 4], eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
push dword [ebp]
mov eax, dword [ebp - 4]
add eax, dword [ebp + 4]
push eax
call fcn.00483670
add esp, 0xc
mov eax, dword [ebp + 4]
add eax, dword [ebp - 0x10]
mov dword [ebp + 4], eax
cmp dword [ebp + 4], 0
je 0x4076ae
mov eax, dword [ebp + 4]
sub eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
push eax
call fcn.004067d6
pop ecx
pop ecx
test eax, eax
je 0x4076ae
push dword [ebp - 4]
call fcn.0040cc91
pop ecx
test eax, eax
je 0x4076ae
mov eax, dword [ebp + 0x78]
and dword [eax + 0x18], 0
push 0
push dword [ebp + 0x78]
call fcn.00406b01
pop ecx
pop ecx
call fcn.0040132f
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x78]
push fcn.00407f72
push dword [ebp - 4]
mov eax, dword [ebp + 0x78]
push dword [eax]
call fcn.00408d6a
add esp, 0x14
mov dword [ebp - 0x1c], eax
call fcn.00405eec
cmp dword [ebp - 0x1c], 0
jne 0x4075f6
cmp dword [ebp - 0x14], 0
je 0x40768f
cmp dword [ebp + 0x7c], 0
jne 0x407605
cmp dword [section..data], 0
jne 0x40761d
push dword [ebp - 0x2c]
push str.Error:_near_line__d:
lea eax, [ebp + 8]
push eax
push 0x64
call fcn.0040d408
add esp, 0x10
jmp 0x407630
push str.Error:
lea eax, [ebp + 8]
push eax
push 0x64
call fcn.0040d408
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x407662
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push 0x4a0f70
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0x10
push dword [ebp - 0x14]
call fcn.0040d51d
pop ecx
and dword [ebp - 0x14], 0
jmp 0x407688
mov eax, dword [ebp + 0x78]
push dword [eax]
call fcn.0040dbb4
pop ecx
push eax
lea eax, [ebp + 8]
push eax
push 0x4a0f78
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0x10
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
and dword [ebp + 4], 0
mov eax, dword [ebp + 0x78]
cmp dword [eax + 0x14], 0
je 0x4076ac
push dword [ebp + 0x78]
call fcn.00407219
pop ecx
mov eax, dword [ebp + 0x78]
and dword [eax + 0x14], 0
jmp 0x4076dd
cmp dword [ebp + 4], 0
je 0x4076dd
push dword [ebp - 4]
call section..text
pop ecx
test eax, eax
je 0x4076dd
mov eax, dword [ebp + 0x78]
cmp dword [eax + 4], 0
je 0x4076d9
push dword [ebp - 4]
push 0x4a0f80
call fcn.0040aa77
pop ecx
pop ecx
and dword [ebp + 4], 0
jmp 0x4072fc
cmp dword [ebp + 4], 0
je 0x40771e
push dword [ebp - 4]
call section..text
pop ecx
test eax, eax
jne 0x407715
push dword [ebp - 4]
push str.Error:_incomplete_SQL:__s_n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0xc
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
call fcn.00486a94
pop ecx
push dword [ebp]
call fcn.00486a94
pop ecx
cmp dword [ebp - 8], 0
jle 0x407736
mov dword [ebp - 0x30], 1
jmp 0x40773a
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.00481163
add ebp, 0x70
leave
ret