Function at 0x1000786d
Capabilities:
Get geographical location
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0xc
call fcn.1002ad16
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], 0x100b5b8a
push 8
call fcn.1002ad16
add esp, 4
mov dword [ebp - 8], 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 - 0xc], 0
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 0x100b5ad5
push dword [0x1055e728]
mov ecx, 2
call fcn.100019f1
add esp, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.10003808
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007930
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 0
mov ebx, 0x1002cec0
call fcn.1002ad1c
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, str._HH:mm:ss
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.yyyy_MM_dd
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 1
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.10005da1
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000798e
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000799e
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x40]
push eax
mov eax, str.stime
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x100079cc
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x100079dc
push ebx
call fcn.1002ad10
add esp, 4
push 1
mov eax, str.list
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 + 0x20]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007a08
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 8]
push eax
call fcn.1000805b
mov ebx, dword [ebp - 8]
call fcn.10002efa
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10007db4
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
je 0x10007a67
push eax
mov ebx, eax
call fcn.10001986
inc eax
push eax
call fcn.1002ad16
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10007a78
push ebx
call fcn.1002ad10
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
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
push dword [ebp - 0x10]
push str.SELECT_f.wx_name_f.wx_photo_f.wx_sex_f.province_f.city_f.wx_remarks_f.adding_time_FROM_friend_f_WHERE_f.wxid__
mov ecx, 3
call fcn.100019f1
add esp, 0xc
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
push 1
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007b58
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10007b68
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10007b78
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10007b88
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10007b98
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10007ba8
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10007bb8
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10007bc8
push ebx
call fcn.1002ad10
add esp, 4
cmp dword [ebp - 0x50], 0
jne 0x10007bed
push 1
push 1
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
jmp 0x10007dac
push 1
push 1
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x30], 0
push 0
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 + 0x18]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007c2e
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov eax, 0x100b5d9d
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 + 0x48]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007c5c
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x14]
push eax
mov eax, str.wx_name
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 + 0x48]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007c8a
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov eax, str.wx_photo
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 + 0x48]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007cb8
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x1c]
push eax
mov eax, str.wx_sex
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 + 0x48]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007ce6
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x20]
push eax
mov eax, str.province
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 + 0x48]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007d14
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x24]
push eax
mov eax, str.city
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 + 0x48]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007d42
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, str.wx_remarks
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 + 0x48]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007d70
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov eax, str.adding_time
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 + 0x48]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007d9e
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
pop eax
pop ebx
pop ecx
jmp 0x10007a22
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
push 0
mov ebx, 0x1002cec0
call fcn.1002ad1c
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, str._HH:mm:ss
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.yyyy_MM_dd
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 1
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.10005da1
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10007e15
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10007e25
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x40]
push eax
mov eax, str.etime
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10007e53
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10007e63
push ebx
call fcn.1002ad10
add esp, 4
push 0x100b5ad5
push dword [0x1055e728]
mov ecx, 2
call fcn.100019f1
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x38], eax
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x10007eb5
mov eax, 0x100b5a7c
push eax
push 1
mov ebx, 0x1002c150
call fcn.1002ad1c
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10007edb
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10007599
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007ef8
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10007f08
push ebx
call fcn.1002ad10
add esp, 4
push 0x1055e72c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [0x1055e740], 0
push 0x1055e72c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10007f4e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10007f4a
imul eax, dword [ebx]
jmp 0x10007f3f
mov ecx, eax
test ecx, ecx
je 0x10007f6d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10007f66
push ebx
push eax
call fcn.1002ad10
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10007f54
call fcn.1002ad10
add esp, 4
mov eax, 0x100b5ac8
mov dword [ebp - 8], eax
jmp 0x10007f82
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10007fb0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10007fac
imul eax, dword [ebx]
jmp 0x10007fa1
mov ecx, eax
test ecx, ecx
je 0x10007fcf
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10007fc8
push ebx
push eax
call fcn.1002ad10
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10007fb6
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10007fe7
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10007ff7
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10008007
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10008017
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10008027
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10008037
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10008047
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10008057
push ebx
call fcn.1002ad10
add esp, 4
mov esp, ebp
pop ebp
ret