Function at 0x1003b6e0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xa0
mov eax, dword [0x1012007c]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
xor ebp, ebp
lea ebx, [ebx]
cmp dword [esp + 0x14], 0
je 0x1003b75a
cmp dword [0x10123724], 0
je 0x1003b75a
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x1003ba9e
cmp dword [0x1012109c], edi
je 0x1003ba9e
jmp 0x1003b75e
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
mov ebx, dword [sym.imp.MSVCR90.dll_fflush]
push eax
call ebx
add esp, 4
test edi, edi
je 0x1003b784
mov eax, dword [esp + 0x1c]
push edi
call fcn.10036780
add esp, 4
jmp 0x1003b7bb
mov eax, 0x10123404
test ebp, ebp
jg 0x1003b792
mov eax, 0x10123420
push eax
push 0x1010372c
call dword [sym.imp.MSVCR90.dll_printf]
mov edi, dword [sym.imp.MSVCR90.dll___iob_func]
call edi
add eax, 0x20
push eax
call ebx
call edi
push eax
mov eax, dword [esp + 0x2c]
call fcn.10036780
add esp, 0x10
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x1003ba87
mov ecx, dword [0x1012372c]
test ecx, ecx
je 0x1003b7e8
cmp dword [esp + 0x20], 0
jne 0x1003ba9e
mov dword [0x1012372c], 0
inc dword [esp + 0x24]
test ebp, ebp
jne 0x1003b7ff
mov eax, edi
call fcn.1003b5a0
test eax, eax
jne 0x1003b730
cmp byte [edi], 0x2e
jne 0x1003b845
test ebp, ebp
jne 0x1003b845
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 4], ebp
je 0x1003b820
push edi
push 0x10103cac
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
push ebx
mov ecx, edi
call fcn.100390d0
add esp, 4
cmp eax, 2
je 0x1003bad0
test eax, eax
je 0x1003b730
inc dword [esp + 0x14]
jmp 0x1003b730
mov eax, edi
call fcn.1003b640
test eax, eax
je 0x1003b876
test esi, esi
je 0x1003b86e
push esi
mov byte [esi + ebp], 0x3b
mov byte [esi + ebp + 1], 0
call fcn.100a0d40
add esp, 4
mov byte [esi + ebp], 0
test eax, eax
je 0x1003b876
mov edx, 0x3b
mov word [edi], dx
cmp byte [edi], 0
mov eax, edi
je 0x1003b886
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x1003b880
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
lea eax, [ebx + ebp + 2]
cmp eax, dword [esp + 0x28]
jl 0x1003b8ba
lea eax, [ebx + ebp + 0x64]
push eax
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.MSVCR90.dll_realloc]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x1003bb00
mov esi, eax
mov dword [esp + 0x34], ebp
test ebp, ebp
jne 0x1003b90f
xor esi, esi
cmp byte [edi], 0
je 0x1003b8e9
lea esp, [esp]
movzx ecx, byte [edi + esi]
push ecx
call dword [sym.imp.MSVCR90.dll_isspace]
add esp, 4
test eax, eax
je 0x1003b8e9
inc esi
cmp byte [edi + esi], 0
jne 0x1003b8d0
mov eax, dword [esp + 0x10]
mov ebp, ebx
sub ebp, esi
lea edx, [ebp + 1]
push edx
add edi, esi
push edi
push eax
call sub.MSVCR90.dll_memcpy
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x2c], ecx
jmp 0x1003b927
lea edx, [ebx + 1]
mov byte [esi + ebp], 0xa
push edx
inc ebp
lea eax, [esi + ebp]
push edi
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
add ebp, ebx
test ebp, ebp
je 0x1003b730
mov edx, dword [esp + 0x34]
mov ecx, ebp
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x1003b94b
add edx, esi
nop
cmp byte [edx + eax], 0x3b
je 0x1003b95f
inc eax
cmp eax, ecx
jl 0x1003b940
mov eax, esi
call fcn.1003b5a0
test eax, eax
je 0x1003b730
jmp 0x1003b728
push esi
call fcn.100a0d40
add esp, 4
test eax, eax
je 0x1003b94b
mov esi, dword [esp + 0x18]
mov dword [esi + 0xc], 0
call fcn.10038970
xor ebp, ebp
cmp dword [0x1012371c], ebp
je 0x1003b9ac
mov eax, dword [0x10123720]
cmp eax, ebp
je 0x1003b9ac
push 0x101233f8
push 0x10123418
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [0x101233f4]
lea edx, [esp + 0x44]
push edx
push ecx
call eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
mov ebx, esi
mov ecx, dword [ebx]
push ebx
push eax
push ecx
call fcn.10037f60
add esp, 0x10
mov esi, eax
call fcn.10036560
cmp esi, ebp
mov esi, dword [esp + 0x30]
jne 0x1003b9db
cmp esi, ebp
je 0x1003ba7e
cmp dword [esp + 0x20], ebp
jne 0x1003b9ff
cmp dword [0x1012109c], ebp
je 0x1003b9ff
push str.Error:
lea edx, [esp + 0x4c]
push edx
push 0x64
call fcn.10041580
add esp, 0xc
jmp 0x1003ba18
mov eax, dword [esp + 0x2c]
push eax
push str.Error:_near_line__d:
lea ecx, [esp + 0x50]
push ecx
push 0x64
call fcn.10041580
add esp, 0x10
cmp esi, ebp
je 0x1003ba51
push esi
lea edx, [esp + 0x4c]
push edx
push str._s__s_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
push esi
call fcn.1003fd70
mov esi, dword [esp + 0x24]
add esp, 0x14
inc dword [esp + 0x14]
mov dword [esp + 0x30], ebp
jmp 0x1003b730
mov eax, dword [ebx]
push eax
call fcn.100a2b10
add esp, 4
push eax
lea ecx, [esp + 0x4c]
push ecx
push str._s__s_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0x10
inc dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x1003b730
cmp dword [0x1012109c], 0
je 0x1003ba9e
push 0x10103464
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
test ebp, ebp
je 0x1003bad0
mov eax, esi
call fcn.1003b5a0
test eax, eax
jne 0x1003bac6
push esi
push str.Error:_incomplete_SQL:__s_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.MSVCR90.dll_free]
mov ecx, dword [esp + 0xb0]
add esp, 4
pop edi
xor eax, eax
cmp dword [esp + 0x10], eax
pop esi
pop ebp
setg al
pop ebx
xor ecx, esp
call fcn.100e7da2
add esp, 0xa0
ret
push str.Error:_out_of_memory_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 8
push 1
call dword [sym.imp.MSVCR90.dll_exit]
int3