Function at 0x512bc0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 4], 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 - 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], 0x6b45a4
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
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x6d0637
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x512c86
push ebx
call fcn.005dc820
add esp, 4
push 1
push 1
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x512cb0
jmp 0x513225
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, str._data_member
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x512ce9
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x512d40
mov eax, 0x6d0650
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6cfd00
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 1
call fcn.00402c8b
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x512d2b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x512d3b
push ebx
call fcn.005dc820
add esp, 4
jmp 0x513225
call fcn.0047c7ea
mov dword [ebp - 0x2c], eax
push 1
push 1
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 + 0x10]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x512d71
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b5465
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6d065f
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x512db7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x512dc7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x512dd7
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x512deb
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
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 0x51321d
fild dword [ebp - 0x14]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [0x6b43f1]
fstp qword [ebp - 0x38]
push 0x80000601
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x6d066a
push dword [ebp - 0x3c]
push str._data_member_
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x512e68
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x512e99
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x512ead
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x18], 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 str.AND_my_user
push dword [ebp - 0x18]
push str.SELECT_release_time_wxid_robot_collect_FROM_social_WHERE_social_id
mov ecx, 5
call fcn.0040108c
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
push 1
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x512fad
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x512fbd
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x512fcd
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x512fdd
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x512fed
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x512ffd
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x51300d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x51301d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x51302d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x51303d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x51304d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x51305d
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [ebp - 0x1c], 0
jle 0x5131fb
push 0x6b4435
push dword [ebp - 0x10]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x5130b2
push 0x6b4435
push dword [ebp - 0x28]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x5130b2
xor eax, eax
jmp 0x5130b7
mov eax, 1
test eax, eax
je 0x5130c4
jmp 0x513215
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x5130d7
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dd740
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push 0
mov ebx, 0x5df7e0
call fcn.005dc82c
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push 0x80000301
push 0
push 0xfffffff6
push 0x80000301
push 0
push 7
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 3
mov ebx, 0x5dee90
call fcn.005dc82c
add esp, 0x28
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0042b8fb
add esp, 8
fstp qword [ebp - 0x58]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0042b8fb
add esp, 8
fstp qword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.0042b933
add esp, 8
fstp qword [ebp - 0x58]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.0042b933
add esp, 8
fstp qword [ebp - 0x50]
fld qword [ebp - 0x58]
fcomp qword [ebp - 0x50]
fnstsw ax
test ah, 1
je 0x51319d
jmp 0x513215
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5131c2
mov eax, 0x6b4435
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x5131d6
mov eax, 0x6b4435
push eax
push 4
mov ebx, 0x5dd550
call fcn.005dc82c
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x5131fb
jmp 0x513215
lea eax, [ebp - 0x18]
push eax
call fcn.0051329b
push 1
push 1
push 0x1f4
call fcn.004030ba
pop eax
pop ebx
pop ecx
jmp 0x512dfb
add esp, 0xc
jmp 0x513225
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
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 ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x513255
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x513265
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x513275
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x513285
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x513295
push ebx
call fcn.005dc820
add esp, 4
mov esp, ebp
pop ebp
ret 4