Function at 0x1000a37a
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 1
push 1
push 0x101a86f8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x100bbc49
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_ktx_money_FROM_member_WHERE_wxid__
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 0xc], 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
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x101a86f8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000a499
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1000a4a9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000a4b9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000a4c9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1000a4d9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1000a4e9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000a4f9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000a509
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000a519
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000a529
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000a539
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000a549
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000a559
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000a569
push ebx
call fcn.1003141d
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x1000a732
push str._AND_order_state_IN__
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 - 0xc], 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
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x101a86f8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000a662
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1000a672
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000a682
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000a692
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1000a6a2
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1000a6b2
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000a6c2
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000a6d2
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000a6e2
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000a6f2
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000a702
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000a712
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000a722
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000a732
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 0x1000a75b
mov eax, 0x100bb780
push eax
push 1
mov ebx, 0x10031db0
call fcn.10031429
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000a787
mov eax, 0x100bb780
push eax
push 1
mov ebx, 0x10031db0
call fcn.10031429
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
fld qword [ebp - 0x10]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x20]
push 0x80000301
push 0
push 2
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 2
mov ebx, 0x100318d0
call fcn.10031429
add esp, 0x1c
jmp 0x1000a7d7
push edx
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000a7e9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000a7f9
push ebx
call fcn.1003141d
add esp, 4
pop eax
pop edx
mov esp, ebp
pop ebp
ret 4