Function at 0x100065ae
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
push 8
call fcn.1002b6d6
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x100b7c67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0xc
call fcn.1002b6d6
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x100b79fa
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 1
push 1
push 0x101a46fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
call fcn.10002cbb
test eax, eax
je 0x1000683d
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x24
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x28], ebx
push 0x100b7c7b
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x100b7c85
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push str.SELECT_configure_FROM_friend_WHERE_wxid
mov ecx, 5
call fcn.100010a9
add esp, 0x14
mov dword [ebp - 0x2c], 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
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x101a46fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10006768
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x10006778
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x10006788
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x10006798
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x100067a8
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x100067b8
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x100067c8
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x100067d8
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x100067e8
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x100067f8
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10006808
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10006818
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10006828
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10006838
push ebx
call fcn.1002b6d0
add esp, 4
jmp 0x10006a31
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x24
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x2c], ebx
push 0x100b7c7b
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push 0x100b7c85
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push str._AND_g_wxid
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push str.SELECT_configure_FROM_group_member_WHERE_wxid
mov ecx, 7
call fcn.100010a9
add esp, 0x1c
mov dword [ebp - 0x30], 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
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x101a46fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10006961
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x10006971
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x10006981
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x10006991
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x100069a1
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x100069b1
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x100069c1
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x100069d1
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x100069e1
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x100069f1
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10006a01
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10006a11
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10006a21
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10006a31
push ebx
call fcn.1002b6d0
add esp, 4
push 1
push 1
push 0x101a46fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, 0x100b8008
push eax
mov ebx, eax
call fcn.10004b1a
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.1002b6d6
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x10006aa4
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x10006a98
push eax
mov ebx, eax
call fcn.1000103e
inc eax
push eax
call fcn.1002b6d6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x10006a7b
pop eax
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10006ac3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10006abf
imul eax, dword [ebx]
jmp 0x10006ab4
mov ecx, eax
test ecx, ecx
je 0x10006ae2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10006adb
push ebx
push eax
call fcn.1002b6d0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10006ac9
call fcn.1002b6d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 8]
call fcn.10006595
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10006c70
mov ebx, dword [ebp - 8]
call fcn.10004b1a
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x10006b52
push 0x295
push 0x4032a44
push 4
call fcn.1002b6e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10006b6f
push 0x295
push 0x4032a44
push 1
call fcn.1002b6e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x24]
mov eax, 0x100b8024
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10006bb3
push ebx
call fcn.1002b6d0
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
jle 0x10006bd6
cmp dword [ebp - 0x14], 0xa
jl 0x10006bd6
mov eax, 1
jmp 0x10006bdb
mov eax, 0
test eax, eax
je 0x10006c68
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 8]
call fcn.10004b1a
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x10006c10
push 0x360
push 0x4032a44
push 4
call fcn.1002b6e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10006c2d
push 0x360
push 0x4032a44
push 1
call fcn.1002b6e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x10006c53
push eax
mov ebx, eax
call fcn.1000103e
inc eax
push eax
call fcn.1002b6d6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10006c64
push ebx
call fcn.1002b6d0
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
pop eax
pop ebx
pop ecx
jmp 0x10006b1d
add esp, 0xc
push 0x100b7944
push dword [ebp - 0x1c]
call fcn.10001105
add esp, 8
cmp eax, 0
je 0x10006cb5
lea eax, [ebp - 0x1c]
push eax
call fcn.10006de3
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10006cac
push ebx
call fcn.1002b6d0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
jmp 0x10006ce8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x10006cd3
push eax
mov ebx, eax
call fcn.1000103e
inc eax
push eax
call fcn.1002b6d6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10006ce4
push ebx
call fcn.1002b6d0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10006d06
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10006d02
imul eax, dword [ebx]
jmp 0x10006cf7
mov ecx, eax
test ecx, ecx
je 0x10006d25
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10006d1e
push ebx
push eax
call fcn.1002b6d0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10006d0c
call fcn.1002b6d0
add esp, 4
mov eax, 0x100b7c67
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10006d51
push eax
mov ebx, eax
call fcn.1000103e
inc eax
push eax
call fcn.1002b6d6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10006d56
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006d67
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10006d85
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10006d81
imul eax, dword [ebx]
jmp 0x10006d76
mov ecx, eax
test ecx, ecx
je 0x10006da4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10006d9d
push ebx
push eax
call fcn.1002b6d0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10006d8b
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10006dcc
push ebx
call fcn.1002b6d0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10006ddc
push ebx
call fcn.1002b6d0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8