Function at 0x51d150
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bf47
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 0x81], 1
push 0xc
lea ecx, [ebp - 0x20]
call fcn.004e1100
lea ecx, [ebp - 0x20]
call fcn.004f36f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004e7e10
mov byte [ebp - 4], 1
push 0x576a00
push str._s_config_fixtool
lea eax, [ebp - 0x50]
push eax
call fcn.004e1f10
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c]
add ecx, 0x340
push ecx
lea ecx, [ebp - 0x20]
call fcn.004f3730
push 0
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.004f3a80
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x51d23b
mov cl, byte [ebp - 0x81]
mov byte [ebp - 0x83], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.004e7f70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004e7f70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f3710
mov al, byte [ebp - 0x83]
jmp 0x51d4de
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea edx, [ebp - 0x38]
push edx
call fcn.004e7de0
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0x8c]
call fcn.0051f5a0
lea ecx, [ebp - 0x11]
call fcn.004e10a0
mov byte [ebp - 4], 3
mov byte [ebp - 0x12], 1
lea eax, [ebp - 0x12]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xdc], esp
push str.country
call fcn.004e7e60
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xec], esp
lea edx, [ebp - 0x38]
push edx
call fcn.004e7de0
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.004f62b0
mov byte [ebp - 0x84], al
movzx eax, byte [ebp - 0x84]
test eax, eax
jne 0x51d320
mov cl, byte [ebp - 0x81]
mov byte [ebp - 0x85], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11]
call fcn.004e02f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.004e7f70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004e7f70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f3710
mov al, byte [ebp - 0x85]
jmp 0x51d4de
movzx edx, byte [ebp - 0x12]
test edx, edx
jne 0x51d473
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xa4], esp
push eax
call fcn.004e50b0
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 0x576f38
call fcn.004e8770
mov dword [ebp - 0xb8], eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x8c]
call fcn.0051e470
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x68]
push eax
call fcn.004e50b0
add esp, 4
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea edx, [ebp - 0x80]
push edx
call fcn.004e8720
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x68]
push edx
call fcn.004e8720
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 7
call fcn.004e5870
add esp, 0x30
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x18
jge 0x51d42c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0x57701c
call fcn.004e7e60
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x8c]
call fcn.0051f5a0
mov byte [ebp - 0x81], 1
jmp 0x51d459
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb4], esp
push str.hours___24
call fcn.004e7e60
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x8c]
call fcn.0051f5a0
mov byte [ebp - 0x81], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.004e8880
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.004e8880
jmp 0x51d499
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push 0x577130
call fcn.004e8770
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x8c]
call fcn.0051f400
mov al, byte [ebp - 0x81]
mov byte [ebp - 0x82], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11]
call fcn.004e02f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.004e7f70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004e7f70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f3710
mov al, byte [ebp - 0x82]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret