Function at 0x4b0c70
Capabilities:
Get geographical location
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x6f2220]
mov dword [ebp - 0x30], eax
push edi
mov dword [0x70ebb0], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
jne 0x4b0cbb
cmp dword [ebp - 8], 0
je 0x4b0cbb
push 0x696848
push 0x6a1760
call fcn.0067578b
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4b0cf5
push 0x697ccc
push 0
push 0x699058
push 0x699048
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x70ebb0], eax
cmp dword [0x70ebb0], 2
jl 0x4b0cf0
mov dword [0x70ebb0], 2
jmp 0x4b0fd7
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00676ad6
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.00676a06
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 3
and eax, 0xfffffffc
call fcn.00676300
mov dword [ebp - 0x13c], esp
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
push eax
call fcn.0067681b
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call fcn.006767cf
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.006756de
add esp, 4
cmp dword [ebp - 8], 0
je 0x4b0d74
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 4
call fcn.0052e8d0
push 1
push 0x69da70
mov ecx, dword [ebp - 0x10]
add ecx, 5
push ecx
call fcn.006757a0
add esp, 0xc
test eax, eax
jne 0x4b0fa1
mov dword [ebp - 0x14], 9
mov dword [ebp - 0x1c], 0
jmp 0x4b0dab
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
jge 0x4b0ded
mov ecx, dword [ebp - 0x14]
sub ecx, 1
push ecx
push 0x6a1754
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x1c]
push edx
call fcn.006757a0
add esp, 0xc
test eax, eax
jne 0x4b0deb
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
push eax
call fcn.00674d3e
add esp, 4
mov dword [0x70ebb0], eax
jmp 0x4b0ded
jmp 0x4b0da2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xa
mov dword [ebp - 0x20], 0
jmp 0x4b0e0d
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0xc]
jge 0x4b0e5d
mov eax, dword [ebp - 0x14]
sub eax, 1
push eax
push 0x6a1748
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x20]
push ecx
call fcn.006757a0
add esp, 0xc
test eax, eax
jne 0x4b0e5b
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
push edx
call fcn.00674d3e
add esp, 4
cmp eax, 1
jne 0x4b0e52
mov byte [0x70eb85], 1
mov dword [ebp - 0x18], 1
jmp 0x4b0e5d
jmp 0x4b0e04
mov dword [ebp - 0x14], 0xa
mov dword [ebp - 0x24], 0
jmp 0x4b0e76
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0xc]
jge 0x4b0ec8
mov edx, dword [ebp - 0x14]
sub edx, 1
push edx
push 0x6a173c
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x24]
push eax
call fcn.006757a0
add esp, 0xc
test eax, eax
jne 0x4b0ec6
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.00674d3e
add esp, 4
cmp eax, 1
jne 0x4b0ec4
movzx edx, byte [0x70eb85]
or edx, 2
mov byte [0x70eb85], dl
jmp 0x4b0ec8
jmp 0x4b0e6d
cmp dword [ebp - 0x18], 0
jne 0x4b0f9f
mov byte [ebp - 0x138], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x137]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x697ccc
push 0xffffffffffffffff
push 0x6a1734
push 0x699048
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jne 0x4b0f37
mov eax, dword [0x70ebb0]
push eax
push 0x6a1708
lea ecx, [ebp - 0x138]
push ecx
call fcn.00674d43
add esp, 0xc
movzx edx, byte [0x70eb85]
or edx, 1
mov byte [0x70eb85], dl
jmp 0x4b0f51
mov eax, dword [0x70ebb0]
push eax
push 0x6a16dc
lea ecx, [ebp - 0x138]
push ecx
call fcn.00674d43
add esp, 0xc
push 0x104
lea edx, [ebp - 0x138]
push edx
push 4
call fcn.0052e890
push 0x6932d4
push 0x6a1760
call fcn.0067578b
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push 0x104
push 1
lea ecx, [ebp - 0x138]
push ecx
call fcn.0067797a
add esp, 0x10
mov edx, dword [ebp - 0x28]
push edx
call fcn.006756de
add esp, 4
jmp 0x4b0fd7
push 1
push 0x69da74
mov eax, dword [ebp - 0x10]
add eax, 5
push eax
call fcn.006757a0
add esp, 0xc
test eax, eax
jne 0x4b0fd7
push 0x697ccc
push 0
push 0x699058
push 0x699048
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x70ebb0], eax
mov eax, 1
lea esp, [ebp - 0x140]
mov ecx, dword [ebp - 0x30]
call fcn.00674e87
pop edi
mov esp, ebp
pop ebp
ret