Function at 0x1000be2f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
push 1
push 1
push 0x101a86f8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push str._AND_order_state
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_SUM_user_yj__FROM_register_order_WHERE_wxid__
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x101a86f8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000bf44
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000bf54
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000bf64
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1000bf74
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1000bf84
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000bf94
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000bfa4
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000bfb4
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000bfc4
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000bfd4
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000bfe4
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000bff4
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000c004
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000c014
push ebx
call fcn.1003141d
add esp, 4
push 1
push 1
push 0x101a86f8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000c03d
mov eax, 0x100bb780
push eax
push 1
mov ebx, 0x10031db0
call fcn.10031429
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0x80000301
push 0
push 2
push 0x80000601
push dword [ebp - 8]
push dword [ebp - 0xc]
push 2
mov ebx, 0x100318d0
call fcn.10031429
add esp, 0x1c
jmp 0x1000c084
push edx
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000c096
push ebx
call fcn.1003141d
add esp, 4
pop eax
pop edx
mov esp, ebp
pop ebp
ret 4