Function at 0x10008080
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c590
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 8
cmp dword [esi + 0x3c], 8
lea ebx, [esi + 0x40]
jb 0x100080c8
mov edx, dword [esi + 0x28]
jmp 0x100080cb
lea edx, [esi + 0x28]
mov ecx, str.country
call fcn.10007990
cmp dword [ebx + 0x14], 8
jb 0x100080dd
mov ebx, dword [ebx]
mov edx, ebx
mov ecx, 0x10031620
call fcn.10007990
mov edi, dword [esi + 0x18]
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov esi, dword [edi]
cmp esi, edi
je 0x100081ca
lea esp, [esp]
xor eax, eax
push 0xffffffffffffffff
push eax
lea ebx, [esi + 0x10]
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.10001d50
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x10008169
mov eax, dword [ebx]
test eax, eax
je 0x1000815b
push dword [ebx + 4]
push eax
call fcn.10012850
push dword [ebx]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push ebx
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
call ebx
add esp, 4
jmp 0x1000816f
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], 8
jb 0x1000817d
push dword [ebp - 0x2c]
call ebx
add esp, 4
cmp byte [esi + 0xd], 0
jne 0x100081c2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100081a2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100081c2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10008196
jmp 0x100081c2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100081c0
jmp 0x100081b0
cmp esi, dword [eax + 8]
jne 0x100081c0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100081b0
mov esi, eax
cmp esi, edi
jne 0x10008100
mov edi, dword [ebp - 0x30]
cmp dword [edi + 0x90], 0x10
jb 0x100081de
push dword [edi + 0x7c]
call ebx
add esp, 4
mov dword [edi + 0x90], 0xf
mov dword [edi + 0x8c], 0
mov byte [edi + 0x7c], 0
cmp dword [edi + 0x6c], 8
jb 0x10008204
push dword [edi + 0x58]
call ebx
add esp, 4
xor eax, eax
mov dword [edi + 0x6c], 7
mov dword [edi + 0x68], 0
mov word [edi + 0x58], ax
cmp dword [edi + 0x54], 8
jb 0x10008226
push dword [edi + 0x40]
call ebx
add esp, 4
xor eax, eax
mov dword [edi + 0x54], 7
mov dword [edi + 0x50], 0
mov word [edi + 0x40], ax
cmp dword [edi + 0x3c], 8
jb 0x10008248
push dword [edi + 0x28]
call ebx
add esp, 4
xor eax, eax
mov dword [edi + 0x3c], 7
mov dword [edi + 0x38], 0
mov word [edi + 0x28], ax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x20]
push eax
push dword [eax]
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 0x20]
call fcn.10012c90
push dword [edi + 0x20]
call ebx
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x18]
push eax
push dword [eax]
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 0x18]
call fcn.1000ed50
push dword [edi + 0x18]
call ebx
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x10]
push eax
push dword [eax]
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 0x10]
call fcn.1000ec90
push dword [edi + 0x10]
call ebx
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [edi + 8]
push eax
push dword [eax]
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 8]
call fcn.1000ebe0
push dword [edi + 8]
call ebx
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.1000eb20
push dword [edi]
call ebx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret