Function at 0x402190
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x994
mov eax, dword [0x49c1c8]
mov dword [ebp - 0x24], eax
push edi
mov dword [ebp - 0x990], ecx
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov cx, word [0x476980]
mov word [ebp - 0x988], cx
mov ecx, 0x63
xor eax, eax
lea edi, [ebp - 0x986]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [0x476984]
mov dword [ebp - 0x7f8], edx
mov eax, dword [0x476988]
mov dword [ebp - 0x7f4], eax
mov ecx, dword [0x47698c]
mov dword [ebp - 0x7f0], ecx
mov edx, dword [0x476990]
mov dword [ebp - 0x7ec], edx
mov ax, word [0x476994]
mov word [ebp - 0x7e8], ax
mov ecx, 0x5f
xor eax, eax
lea edi, [ebp - 0x7e6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [0x476998]
mov dword [ebp - 0x668], ecx
mov edx, dword [0x47699c]
mov dword [ebp - 0x664], edx
mov eax, dword [0x4769a0]
mov dword [ebp - 0x660], eax
mov ecx, dword [0x4769a4]
mov dword [ebp - 0x65c], ecx
mov ecx, 0x60
xor eax, eax
lea edi, [ebp - 0x658]
rep stosd dword es:[edi], eax
mov edx, dword [0x4769a8]
mov dword [ebp - 0x4d8], edx
mov eax, dword [0x4769ac]
mov dword [ebp - 0x4d4], eax
mov ecx, dword [0x4769b0]
mov dword [ebp - 0x4d0], ecx
mov edx, dword [0x4769b4]
mov dword [ebp - 0x4cc], edx
mov ax, word [0x4769b8]
mov word [ebp - 0x4c8], ax
mov ecx, 0x5f
xor eax, eax
lea edi, [ebp - 0x4c6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [str.Location]
mov dword [ebp - 0x348], ecx
mov edx, dword [0x4769c0]
mov dword [ebp - 0x344], edx
mov eax, dword [0x4769c4]
mov dword [ebp - 0x340], eax
mov ecx, dword [0x4769c8]
mov dword [ebp - 0x33c], ecx
mov dx, word [0x4769cc]
mov word [ebp - 0x338], dx
mov ecx, 0x5f
xor eax, eax
lea edi, [ebp - 0x336]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x64
xor eax, eax
lea edi, [ebp - 0x1b8]
rep stosd dword es:[edi], eax
push 0
push 0
push 0x1009
mov eax, dword [ebp + 8]
push eax
call dword [0x49c354]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0x32
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x98c], 0
jmp 0x402364
mov ecx, dword [ebp - 0x98c]
add ecx, 1
mov dword [ebp - 0x98c], ecx
cmp dword [ebp - 0x98c], 6
jge 0x402405
mov edx, dword [ebp - 0x98c]
mov dword [ebp - 0x994], edx
cmp dword [ebp - 0x994], 4
ja case.default.0x40238c
mov eax, dword [ebp - 0x994]
jmp dword [eax*4 + 0x402428]
mov dword [ebp - 0x18], 0xa
jmp 0x4023c7
mov dword [ebp - 0x18], 0x6e
jmp 0x4023c7
mov dword [ebp - 0x18], 0x78
jmp 0x4023c7
mov dword [ebp - 0x18], 0x50
jmp 0x4023c7
mov dword [ebp - 0x18], 0xfa
jmp 0x4023c7
mov dword [ebp - 0x18], 0x2d
mov ecx, dword [ebp - 0x98c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x98c]
imul edx, edx, 0x190
lea eax, [ebp + edx - 0x988]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x98c]
push edx
push 0x1061
mov eax, dword [ebp + 8]
push eax
call dword [0x49c354]
jmp 0x402355
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x990]
call fcn.00401cf0
mov eax, 1
mov ecx, dword [ebp - 0x24]
call fcn.0046faad
pop edi
mov esp, ebp
pop ebp
ret 4