Function at 0x40ea90
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x53f6a5
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x53f6a8
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.INSERT_INTO_BsGoods_jpg_
mov ecx, 5
call fcn.00401cf2
add esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40eaeb
push ebx
call fcn.004564b4
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, str.BsGoods_jpg
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040ba13
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40eb17
push ebx
call fcn.004564b4
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40eb2b
push ebx
call fcn.004564b4
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x53ec18
push dword [ebp - 8]
call fcn.00401048
add esp, 8
cmp eax, 0
jne 0x40eb82
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x53f6c4
push 3
mov ebx, 0x4581b0
call fcn.004564cc
add esp, 0x28
mov eax, 0
jmp 0x40ee15
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x40eb97
mov eax, 0x53ec18
push eax
push 1
mov ebx, 0x457bb0
call fcn.004564cc
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ebc1
push ebx
call fcn.004564b4
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push str.SELECT__FROM_BsGoods_jpg_WHERE__ID_
mov ecx, 2
call fcn.00401cf2
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ebf1
push ebx
call fcn.004564b4
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 1
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40ec14
mov eax, 0x53ec18
push eax
push 0x20002
push dword [0x91bea0]
push dword [0x91be9c]
push 3
mov eax, 1
mov ebx, 0x4a5a60
call fcn.004564d2
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40ec84
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x53f31e
push 3
mov ebx, 0x4581b0
call fcn.004564cc
add esp, 0x28
mov eax, 0
jmp 0x40ee15
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40ec97
mov eax, 0x53ed35
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x53f938
push 0x20002
push dword [0x91bea0]
push dword [0x91be9c]
push 3
mov eax, 1
mov ebx, 0x4a60a0
call fcn.004564d2
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40ed13
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x53f93d
push 3
mov ebx, 0x4581b0
call fcn.004564cc
add esp, 0x28
mov eax, 0
jmp 0x40ee15
push 0x20002
push dword [0x91bea0]
push dword [0x91be9c]
push 1
mov eax, 1
mov ebx, 0x4a5b00
call fcn.004564d2
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40ed82
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x53f5f9
push 3
mov ebx, 0x4581b0
call fcn.004564cc
add esp, 0x28
mov eax, 0
jmp 0x40ee15
push 0x20002
push dword [0x91bea0]
push dword [0x91be9c]
push 1
mov eax, 1
mov ebx, 0x4a5ad0
call fcn.004564d2
add esp, 0x10
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40edbd
mov eax, 0x53ec18
push eax
push 1
mov ebx, 0x456dc0
call fcn.004564cc
add esp, 0x10
push 0x80000301
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40eded
mov eax, 0x53ec18
push eax
push 0x1000e
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
mov ebx, 0x458fa0
call fcn.004564cc
add esp, 0x28
mov eax, 1
jmp 0x40ee15
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ee26
push ebx
call fcn.004564b4
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ee36
push ebx
call fcn.004564b4
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ee46
push ebx
call fcn.004564b4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14