Function at 0x47fa70
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5a1ead
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x468
mov eax, dword [0x5d6d00]
push ebp
mov ebp, ecx
push 1
mov ecx, dword [esp + 0x480]
push eax
push 1
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], ebp
call fcn.00568d57
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x474], eax
mov ecx, dword [edx + 4]
cmp dword [esp + ecx + 0x30], eax
je 0x47fae7
lea ecx, [esp + 0x34]
mov dword [esp + 0x474], 0xffffffff
call fcn.00568e0e
lea ecx, [esp + 0x34]
call fcn.00568f91
xor eax, eax
jmp 0x47fe4a
mov edx, dword [0x614cb0]
push ebx
push esi
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov byte [esp + 0x480], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
lea eax, [esp + ecx + 0x34]
mov ecx, dword [esp + ecx + 0x68]
test ecx, ecx
jge 0x47fb1f
add eax, 0x38
push eax
call fcn.005688ba
add esp, 4
mov ecx, dword [esp + 0x38]
push 0xa
inc ecx
lea edx, [esp + 0x94]
mov dword [esp + 0x3c], ecx
push 0x3e8
push edx
lea ecx, [esp + 0x40]
call fcn.00568e21
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
lea edx, [esp + ecx + 0x34]
push edx
call fcn.00480770
mov eax, dword [esp + 0x38]
add esp, 4
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x3c], 1
jne 0x47fe01
lea edx, [esp + 0x90]
lea ecx, [esp + 0x18]
push edx
call fcn.00575b56
push 0x6055dc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x484], 2
call fcn.0056d3ac
mov esi, eax
cmp esi, 0xffffffff
jne 0x47fbaa
lea ecx, [esp + 0x18]
mov byte [esp + 0x480], 1
call fcn.00575ae8
jmp 0x47fb00
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.0056d312
lea ecx, [esp + 0x14]
mov byte [esp + 0x480], 3
call fcn.0056d84c
lea ecx, [esp + 0x14]
call fcn.0056d798
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x47fc6d
inc esi
lea edx, [esp + 0x10]
push esi
push edx
lea ecx, [esp + 0x20]
call fcn.0056d1dd
lea ecx, [esp + 0x10]
mov byte [esp + 0x480], 4
call fcn.0056d84c
lea ecx, [esp + 0x10]
call fcn.0056d798
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
call fcn.0057585d
lea ecx, [esp + 0x20]
mov byte [esp + 0x480], 5
call fcn.0057600a
push str.COUNTRY
lea ecx, [esp + 0x24]
call fcn.0056d3ac
test eax, eax
jne 0x47fc83
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.00575c21
lea ecx, [esp + 0x20]
mov byte [esp + 0x480], 4
call fcn.00575ae8
lea ecx, [esp + 0x10]
mov byte [esp + 0x480], 3
call fcn.00575ae8
lea ecx, [esp + 0x14]
mov byte [esp + 0x480], 2
call fcn.00575ae8
jmp 0x47fb94
push 0x5fe4c8
lea ecx, [esp + 0x14]
call fcn.00575ec4
mov eax, dword [ebp + 0x8d8c]
lea esi, [ebp + 0x8d84]
lea edx, [esp + 0x20]
mov ecx, esi
push edx
push eax
call fcn.0056ff2b
mov eax, dword [ebp + 0x8da0]
lea edi, [ebp + 0x8d98]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.0056ff2b
mov eax, dword [ebp + 0x8db4]
add ebp, 0x8dac
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push eax
call fcn.0056ff2b
mov eax, dword [0x614cb0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov byte [esp + 0x480], 6
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x47fda3
movsx ecx, byte [ebx + eax]
push ecx
call fcn.00557789
add esp, 4
test eax, eax
jne 0x47fd7c
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx + edx]
push eax
call fcn.005577b7
add esp, 4
test eax, eax
jne 0x47fd7c
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x47fd95
lea ecx, [esp + 0x1c]
call fcn.0057600a
mov eax, dword [esi + 8]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0056ff2b
mov eax, dword [edi + 8]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.0056ff2b
mov eax, dword [ebp + 8]
lea edx, [esp + 0x24]
push edx
push eax
mov ecx, ebp
call fcn.0056ff2b
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
inc eax
mov dword [esp + 0x28], eax
call fcn.00575a73
jmp 0x47fd95
mov eax, dword [esp + 0x10]
mov cl, byte [ebx + eax]
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x1c]
mov edx, dword [esp + 0x30]
push edx
call fcn.00575eeb
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, dword [eax - 8]
jl 0x47fcfe
lea ecx, [esp + 0x1c]
mov byte [esp + 0x480], 5
call fcn.00575ae8
lea ecx, [esp + 0x20]
mov byte [esp + 0x480], 4
call fcn.00575ae8
lea ecx, [esp + 0x10]
mov byte [esp + 0x480], 3
call fcn.00575ae8
lea ecx, [esp + 0x14]
mov byte [esp + 0x480], 2
call fcn.00575ae8
lea ecx, [esp + 0x18]
mov byte [esp + 0x480], 1
call fcn.00575ae8
mov ebp, dword [esp + 0x2c]
jmp 0x47fb00
lea ecx, [esp + 0x34]
call fcn.005684cb
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
setg al
lea ecx, [esp + 0x24]
mov esi, eax
mov byte [esp + 0x480], 0
call fcn.00575ae8
lea ecx, [esp + 0x40]
mov dword [esp + 0x480], 0xffffffff
call fcn.00568e0e
lea ecx, [esp + 0x40]
call fcn.00568f91
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x46c]
pop ebp
mov dword fs:[0], ecx
add esp, 0x474
ret 4