Function at 0x4c1caa
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6b45a4
mov dword [ebp - 0xc], 0
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6b44a3
mov dword [ebp - 0x14], 0
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6b43a9
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x6cbed5
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c1d80
push ebx
call fcn.005dc820
add esp, 4
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str.SELECT_configure_FROM_friend_WHERE_wxid__
mov ecx, 5
call fcn.0040108c
add esp, 0x14
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
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c1e89
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4c1e99
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4c1ea9
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4c1eb9
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4c1ec9
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4c1ed9
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4c1ee9
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c1ef9
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c1f09
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c1f19
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4c1f29
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4c1f39
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4c1f49
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c1f59
push ebx
call fcn.005dc820
add esp, 4
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, 0x6cbf1c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.siddj
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4c1fcc
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c1fdc
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c1fec
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4c2000
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x6b4435
push dword [ebp - 0xc]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4c2040
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4c203b
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.005dc81a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4c25b9
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp + 0x14]
mov eax, str.external_id
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c207b
push ebx
call fcn.005dc820
add esp, 4
push 0x84b770
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.session
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c20bb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c20cb
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
push 0x9c42
mov eax, 0x14
call fcn.005dc832
cmp dword [ebp - 0x28], esp
je 0x4c2120
push 0x2de
push 0x40bca61
push 6
call fcn.005dc826
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c2133
push ebx
call fcn.005dc820
add esp, 4
push dword [ebp - 0x2c]
call fcn.00404742
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4c2152
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 1
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x6b42bd
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c21a8
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x28], 0xc8
jne 0x4c2313
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str._data_special_id
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c21ee
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, 0x6cbf1c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.siddj
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4c2228
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4c2238
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4c2248
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x50]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4c2279
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str._WHERE_wxid__
push dword [ebp - 4]
push str.UPDATE_friend_SET_configure__
mov ecx, 7
call fcn.0040108c
add esp, 0x1c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c22e1
push ebx
call fcn.005dc820
add esp, 4
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4c230e
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.005dc81a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4c25b9
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp + 0x14]
mov eax, str.external_id
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c234e
push ebx
call fcn.005dc820
add esp, 4
mov eax, str.1234567
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.external_type
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c2384
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c2394
push ebx
call fcn.005dc820
add esp, 4
mov eax, 0x6b7391
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.op_type
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c23ca
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c23da
push ebx
call fcn.005dc820
add esp, 4
push dword [ebp + 8]
mov eax, str.redirect_url
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c2407
push ebx
call fcn.005dc820
add esp, 4
push 0x84b770
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.session
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c2447
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c2457
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
push 0x9c41
mov eax, 0x14
call fcn.005dc832
cmp dword [ebp - 0x28], esp
je 0x4c24ac
push 0x728
push 0x40bca61
push 6
call fcn.005dc826
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c24bf
push ebx
call fcn.005dc820
add esp, 4
push dword [ebp - 0x2c]
call fcn.00404742
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4c24de
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 1
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.___url
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4c2534
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4c2548
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x6b4435
push dword [ebp - 0x1c]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x4c2598
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4c2583
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.005dc81a
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 0x4c2594
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c25b4
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.005dc81a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4c25b9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4c25ca
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4c25ea
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4c260a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4c262a
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10