Function at 0x1000e97a
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.1002ad16
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x100b5ac8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.1002ad16
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x100b5ac8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 1
push 1
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push str.__LIMIT_1
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_sj_wxid_sj_source_FROM_friend_WHERE_wxid__
mov ecx, 3
call fcn.100019f1
add esp, 0xc
mov dword [ebp - 0x20], 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
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000eadd
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1000eaed
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x1000eafd
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1000eb0d
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x1000eb1d
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1000eb2d
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000eb3d
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000eb4d
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1000eb5d
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1000eb6d
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000eb7d
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000eb8d
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000eb9d
push ebx
call fcn.1002ad10
add esp, 4
cmp dword [ebp - 0x54], 0
jne 0x1000ed7c
push str.__LIMIT_1
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_sj_wxid_sj_source_FROM_group_member_WHERE_wxid__
mov ecx, 3
call fcn.100019f1
add esp, 0xc
mov dword [ebp - 0x20], 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
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000ec92
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1000eca2
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x1000ecb2
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1000ecc2
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x1000ecd2
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1000ece2
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000ecf2
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000ed02
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1000ed12
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1000ed22
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000ed32
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000ed42
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000ed52
push ebx
call fcn.1002ad10
add esp, 4
cmp dword [ebp - 0x54], 0
jne 0x1000ed7c
push 1
push 1
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, 0x100b5a7c
jmp 0x1000f452
push 0x100b643e
push dword [ebp - 8]
push str._AND_sj_source__
push dword [ebp - 4]
push str.SELECT_source_FROM_friend_WHERE_sj_wxid__
mov ecx, 5
call fcn.100019f1
add esp, 0x14
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000edcd
push ebx
call fcn.1002ad10
add esp, 4
push 0x100b643e
push dword [ebp - 8]
push str._AND_sj_source__
push dword [ebp - 4]
push str.SELECT_source_FROM_group_member_WHERE_sj_wxid__
mov ecx, 5
call fcn.100019f1
add esp, 0x14
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000ee1e
push ebx
call fcn.1002ad10
add esp, 4
push 1
push 1
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [ebp - 0xc]
xor eax, eax
cmp dword [ebx], 0
jle 0x1000ee41
mov eax, dword [ebx + 4]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1000efeb
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x100b6b98
mov ebx, dword [ebp - 0x20]
push dword [ebx]
call fcn.10001029
add esp, 8
cmp eax, 0
jne 0x1000eebc
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0e0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x18], eax
jmp 0x1000efe3
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push str.sy_gzh
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.10001029
add esp, 8
cmp eax, 0
jne 0x1000ef20
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0e0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x18], eax
jmp 0x1000efe3
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push str.gf_gzh
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.10001029
add esp, 8
cmp eax, 0
jne 0x1000ef84
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0e0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x18], eax
jmp 0x1000efe3
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push str.qy_wx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.10001029
add esp, 8
cmp eax, 0
jne 0x1000efe3
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0e0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x18], eax
pop eax
pop ebx
pop ecx
jmp 0x1000ee4a
add esp, 0xc
mov ebx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ebx], 0
jle 0x1000effb
mov eax, dword [ebx + 4]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1000f1a5
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x100b6b98
mov ebx, dword [ebp - 0x20]
push dword [ebx]
call fcn.10001029
add esp, 8
cmp eax, 0
jne 0x1000f076
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0e0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x18], eax
jmp 0x1000f19d
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push str.sy_gzh
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.10001029
add esp, 8
cmp eax, 0
jne 0x1000f0da
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0e0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x18], eax
jmp 0x1000f19d
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push str.gf_gzh
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.10001029
add esp, 8
cmp eax, 0
jne 0x1000f13e
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0e0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x18], eax
jmp 0x1000f19d
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push str.qy_wx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.10001029
add esp, 8
cmp eax, 0
jne 0x1000f19d
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0e0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x18], eax
pop eax
pop ebx
pop ecx
jmp 0x1000f004
add esp, 0xc
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000f1c6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000f1c2
imul eax, dword [ebx]
jmp 0x1000f1b7
mov ecx, eax
test ecx, ecx
je 0x1000f1e5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000f1de
push ebx
push eax
call fcn.1002ad10
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000f1cc
call fcn.1002ad10
add esp, 4
mov eax, 0x100b5ac8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000f213
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000f20f
imul eax, dword [ebx]
jmp 0x1000f204
mov ecx, eax
test ecx, ecx
je 0x1000f232
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000f22b
push ebx
push eax
call fcn.1002ad10
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000f219
call fcn.1002ad10
add esp, 4
mov eax, 0x100b5ac8
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0c0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x1000f2a7
push 0x100b6baf
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.100019f1
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000f2a3
push ebx
call fcn.1002ad10
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0c0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x1000f30c
push 0x100b6bb3
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.100019f1
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000f308
push ebx
call fcn.1002ad10
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0c0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x1000f371
push 0x100b6bb7
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.100019f1
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000f36d
push ebx
call fcn.1002ad10
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x1002b0c0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x1000f3d6
push 0x100b6bbb
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.100019f1
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000f3d2
push ebx
call fcn.1002ad10
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1000f3e9
mov eax, 0x100b5a7c
push eax
push 1
mov ebx, 0x1002b220
call fcn.1002ad1c
add esp, 0x10
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x100b601a]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.100021b7
push 0x80000301
push 0
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1000f434
mov eax, 0x100b5a7c
push eax
push 2
mov ebx, 0x1002b2d0
call fcn.1002ad1c
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
jmp 0x1000f452
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000f463
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000f473
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000f491
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000f48d
imul eax, dword [ebx]
jmp 0x1000f482
mov ecx, eax
test ecx, ecx
je 0x1000f4b0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000f4a9
push ebx
push eax
call fcn.1002ad10
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000f497
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000f4d6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000f4d2
imul eax, dword [ebx]
jmp 0x1000f4c7
mov ecx, eax
test ecx, ecx
je 0x1000f4f5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000f4ee
push ebx
push eax
call fcn.1002ad10
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000f4dc
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000f50d
push ebx
call fcn.1002ad10
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4