Function at 0x513f2c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0xc
call fcn.005dc81a
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], 0x6b43a9
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x6d07af
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x513faa
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]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 0x18], ebx
push 0x6b4435
mov ebx, dword [ebp - 0x18]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x5141b2
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 0x18], ebx
push 0x6b4d58
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push str.SELECT_configure_FROM_social_WHERE_social_id_
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x1c], 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
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
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x84b7a4
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 - 0x1c]
test ebx, ebx
je 0x5140dc
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x5140ec
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x5140fc
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x51410c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x51411c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x51412c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x51413c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x51414c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x51415c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x51416c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x51417c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x51418c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x51419c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x5141ac
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
push 0x6b4d58
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push str.social_id
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x1c], eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, str.social
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 + 0x1c]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x51420d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x51421d
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x24], 0
jne 0x514314
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
push 0x6b67f7
push dword [0x84b794]
push 0x6d075a
mov ebx, dword [ebp - 0x34]
push dword [ebx]
push 0x6b67fa
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0x6b67fa
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push 0x6b67fa
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x6b67fa
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x6c89af
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0x6b67fa
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 0x6b67fa
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push str.INSERT_INTO_social_VALUES__
mov ecx, 0x13
call fcn.0040108c
add esp, 0x4c
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x51430f
push ebx
call fcn.005dc820
add esp, 4
jmp 0x514393
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push str._WHERE_social_id
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push str.___wx_tag_
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push str.UPDATE_social_SET_wx_praise__
mov ecx, 9
call fcn.0040108c
add esp, 0x24
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x514393
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]
cmp dword [ebp - 4], 0
je 0x514662
push 0x84b7a4
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, 0x20
mov dword [ebp - 0x18], ebx
push 0x6b4d58
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push str.DELETE_FROM_social_WHERE_social_id__
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x514408
push ebx
call fcn.005dc820
add esp, 4
push 0
mov ebx, 0x5df7e0
call fcn.005dc82c
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
push 0x80000301
push 0
push 0xffffffff
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 3
mov ebx, 0x5dee90
call fcn.005dc82c
add esp, 0x28
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov eax, str._HH:mm:ss
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.yyyy_MM_dd
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.00403385
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x514493
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x5144a3
push ebx
call fcn.005dc820
add esp, 4
push 0x6b4d58
push dword [ebp - 0x30]
push str.DELETE_FROM_social_WHERE_wx_name__
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x5144d0
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x34]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x5144f3
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]
push 0x6b4435
push dword [ebp - 8]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x514662
push 1
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str._data
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x51456d
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
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 0x51465f
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
fild dword [ebp - 0x14]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x6b43f1]
fstp qword [ebp - 0x28]
push 0x80000601
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x2c], eax
push str._msg
push dword [ebp - 0x2c]
push str._data_
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5145f4
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x514625
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x18]
call fcn.0051468d
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x514641
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 0x3e8
call fcn.004030ba
pop eax
pop ebx
pop ecx
jmp 0x51457f
add esp, 0xc
jmp 0x514667
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x514677
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov esp, ebp
pop ebp
ret 4