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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
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 0x100b5aaf
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 0x10002fd6
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 0x10003034
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10003044
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 0x10003072
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10003082
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 0x100030ae
push ebx
call fcn.1002ad10
add esp, 4
lea eax, [ebp - 8]
push eax
call fcn.100062a8
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 0x1000351f
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 ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
je 0x1000310f
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 0x10003120
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__FROM___SELECT_wxid__wx_name__wx_photo__wx_sex__province__city__wx_remarks__adding_time_FROM_friend_UNION_SELECT_wxid__wx_name__wx_photo__wx_sex__province__city__wx_remarks___adding_time_FROM_group_member___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
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
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
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 - 0x4c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100031f9
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10003209
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10003219
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10003229
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10003239
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10003249
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10003259
push ebx
call fcn.1002ad10
add esp, 4
cmp dword [ebp - 0x4c], 0
jne 0x1000327e
push 1
push 1
push 0x1055e734
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
jmp 0x10003517
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 0x100032bf
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 0x100032ed
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 0x1000331b
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 0x10003349
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 0x10003377
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 0x100033a5
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 0x100033d3
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 0x10003401
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 0x1000342f
push ebx
call fcn.1002ad10
add esp, 4
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 ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
push dword [ebx]
mov eax, str.reportCount
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1000347c
push ebx
call fcn.1002ad10
add esp, 4
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 ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 1
jne 0x100034da
push 1
mov eax, str.type
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 + 0x54]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100034d5
push ebx
call fcn.1002ad10
add esp, 4
jmp 0x10003509
push 0
mov eax, str.type
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 + 0x54]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10003509
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 0x100030c8
add esp, 0xc
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10003540
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000353c
imul eax, dword [ebx]
jmp 0x10003531
mov ecx, eax
test ecx, ecx
je 0x10003580
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000355b
push ebx
call fcn.1002ad10
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000356f
push ebx
call fcn.1002ad10
add esp, 4
pop ebx
call fcn.1002ad10
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10003546
call fcn.1002ad10
add esp, 4
mov eax, 0x100b5ac8
mov dword [ebp - 8], eax
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 0x100035ee
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x100035fe
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 0x1000362c
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1000363c
push ebx
call fcn.1002ad10
add esp, 4
push 0x100b5aaf
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 0x1000368e
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 0x100036b4
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 0x100036d1
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x100036e1
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 [0x1055e730], 0
push 0x1055e72c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
jmp 0x1000370e
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 0x1000373c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10003738
imul eax, dword [ebx]
jmp 0x1000372d
mov ecx, eax
test ecx, ecx
je 0x1000377c
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10003757
push ebx
call fcn.1002ad10
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000376b
push ebx
call fcn.1002ad10
add esp, 4
pop ebx
call fcn.1002ad10
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10003742
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10003794
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100037a4
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100037b4
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100037c4
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100037d4
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100037e4
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100037f4
push ebx
call fcn.1002ad10
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10003804
push ebx
call fcn.1002ad10
add esp, 4
mov esp, ebp
pop ebp
ret