Function at 0x50394e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.00566d4b
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6961a7
push ebx
add ebx, 8
push ebx
push 8
call fcn.00566d4b
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0041b519
pop ebx
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
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
push 0x80000301
push 0
push dword [0x10a9eac]
push 1
mov eax, 3
mov ebx, 0x5d70b0
call fcn.00566d6f
add esp, 0x10
push str._and_log
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.select__from_listdata_where_ts_
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x503a6d
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x70001
push 0
push dword [0x10a9eb0]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x503a91
mov eax, 0x6955d0
push eax
push 0x70003
push 0
push dword [0x10a9f00]
push 3
mov eax, 6
mov ebx, 0x5d9000
call fcn.00566d6f
add esp, 0x28
mov dword [ebp - 8], eax
push 0x70003
push 0
push dword [0x10a9f00]
push 1
mov eax, 6
mov ebx, 0x5d90e0
call fcn.00566d6f
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x70003
push 0
push dword [0x10a9f00]
push 1
mov eax, 6
mov ebx, 0x5d9140
call fcn.00566d6f
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x503c5a
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
mov eax, 0x69b428
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, str.err_code
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x503b57
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x503b67
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push 1
mov eax, 0x69b435
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004587db
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x503b9e
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, 0x69618f
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x503bdc
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x503bec
push ebx
call fcn.00566d51
add esp, 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x503c11
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [0x10a9eac]
push 1
mov eax, 3
mov ebx, 0x5d70d0
call fcn.00566d6f
add esp, 0x10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x503c55
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.00566d4b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x50440a
push 0x70003
push 0
push dword [0x10a9f00]
push 1
mov eax, 6
mov ebx, 0x5d91e0
call fcn.00566d6f
add esp, 0x10
test eax, eax
je 0x503caa
push 0x70003
push 0
push dword [0x10a9f00]
push 1
mov eax, 6
mov ebx, 0x5d9180
call fcn.00566d6f
add esp, 0x10
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.phone
push 0x70003
push 0
push dword [0x10a9f00]
push 3
mov eax, 6
mov ebx, 0x5d9210
call fcn.00566d6f
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x503cf7
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.projectname
push 0x70003
push 0
push dword [0x10a9f00]
push 3
mov eax, 6
mov ebx, 0x5d9210
call fcn.00566d6f
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x503d48
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6964b2
push 0x70003
push 0
push dword [0x10a9f00]
push 3
mov eax, 6
mov ebx, 0x5d9210
call fcn.00566d6f
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x503d99
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6964b8
push 0x70003
push 0
push dword [0x10a9f00]
push 3
mov eax, 6
mov ebx, 0x5d9210
call fcn.00566d6f
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x503dea
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6964c1
push 0x70003
push 0
push dword [0x10a9f00]
push 3
mov eax, 6
mov ebx, 0x5d9210
call fcn.00566d6f
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x503e3b
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6964c6
push 0x70003
push 0
push dword [0x10a9f00]
push 3
mov eax, 6
mov ebx, 0x5d9210
call fcn.00566d6f
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x503e8c
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x69b3d9
push 0x70003
push 0
push dword [0x10a9f00]
push 3
mov eax, 6
mov ebx, 0x5d9320
call fcn.00566d6f
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x699b44
push 0x70003
push 0
push dword [0x10a9f00]
push 3
mov eax, 6
mov ebx, 0x5d9210
call fcn.00566d6f
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x503f16
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
mov eax, 0x6964d0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, str.err_code
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x503f60
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x503f70
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push 1
mov eax, 0x69a0d7
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004587db
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x503fa7
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, 0x69618f
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x503fe5
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x503ff5
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
mov eax, str.phone
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x504033
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.004587db
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push 1
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, str.projectname
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x504090
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x5040a0
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.004587db
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push 1
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, 0x6964b2
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x5040fd
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x50410d
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.004587db
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push 1
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, 0x6964b8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x50416a
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x50417a
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push 1
lea eax, [ebp - 0x2c]
push eax
call fcn.004587db
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push 1
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, 0x6964c1
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x5041d7
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x5041e7
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push 1
lea eax, [ebp - 0x30]
push eax
call fcn.004587db
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push 1
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, 0x6964c6
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x504244
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x504254
push ebx
call fcn.00566d51
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push 1
lea eax, [ebp - 0x38]
push eax
call fcn.004587db
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push 1
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, 0x699b44
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x5042b1
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x5042c1
push ebx
call fcn.00566d51
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x34]
push 1
mov ebx, 0x568d00
call fcn.00566d63
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
push 1
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, 0x69b3d9
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x50431e
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x50432e
push ebx
call fcn.00566d51
add esp, 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x504353
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x695a84
push dword [ebp - 0x1c]
push str.UPDATE_listdata__SET_log
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x40], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x504387
mov eax, 0x6955d0
push eax
push 0x70001
push 0
push dword [0x10a9eb0]
push 2
mov eax, 6
mov ebx, 0x5d94d0
call fcn.00566d6f
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x5043bf
push ebx
call fcn.00566d51
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
push 0x80000301
push 0
push dword [0x10a9eac]
push 1
mov eax, 3
mov ebx, 0x5d70d0
call fcn.00566d6f
add esp, 0x10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x504405
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.00566d4b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x50440a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x50441b
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x50443b
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x50444b
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x50445b
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x50446b
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x50447b
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x50448b
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x50449b
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x5044ab
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18