Function at 0x1002fc8a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002ffb3
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x1002ffa4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001f9f7
cmp dword [eax], 0
jne 0x1002ff1f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001f9f7
mov esi, eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001f9f7
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push 1
mov ecx, dword [ebp - 0x74]
call fcn.1001f9f7
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0xfff7
jae 0x1002fe3b
mov dword [ebp - 0x10], 1
jmp 0x1002fe3f
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1002fe54
mov dword [ebp - 0x30], 1
jmp 0x1002fe58
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jne 0x1002fe70
mov dword [ebp - 0x28], 1
jmp 0x1002fe74
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jl 0x1002fe87
mov dword [ebp - 0x50], 1
jmp 0x1002fe8b
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
shl eax, 3
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0x20]
cmp ecx, dword [eax]
jne 0x1002feae
mov dword [ebp - 0x38], 1
jmp 0x1002feb2
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x25bb
jge 0x1002fec4
mov dword [ebp - 0x14], 1
jmp 0x1002fec8
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfedd
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
push 2
mov ecx, dword [ebp - 8]
call fcn.1001f9f7
mov ecx, dword [ebp - 0x84]
mov eax, dword [eax]
mov dword [ecx], eax
push 2
mov ecx, dword [ebp - 8]
call fcn.1001f9f7
cmp dword [eax], 0
je 0x1002ff11
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x1002ff11
mov dword [ebp - 0x48], 1
jmp 0x1002ff15
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [eax]
je 0x1002ff3a
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001f9f7
cmp dword [eax], 0
je 0x1002ff3a
mov dword [ebp - 0x24], 1
jmp 0x1002ff3e
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jl 0x1002ff5b
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
je 0x1002ff68
xor eax, eax
je 0x1002ff68
mov dword [ebp - 0x34], 1
jmp 0x1002ff6c
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jge 0x1002ff7f
mov dword [ebp - 0x3c], 1
jmp 0x1002ff83
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jge 0x1002ff96
mov dword [ebp - 0x4c], 1
jmp 0x1002ff9a
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x1002ffae
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
jmp 0x100300d1
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1003009b
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0xffffffed
jmp 0x10030049
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 8
jle 0x10030099
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0xd4], 0xffffffff
push dword [ebp - 0xcc]
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xdc]
push eax
push 0
push dword [ebp - 0x54]
call fcn.10039992
add esp, 0x14
push 1
mov ecx, dword [ebp - 0x54]
call fcn.1001f9f7
cmp dword [eax], 0
je 0x10030097
jmp 0x1003003e
jmp 0x1003003e
jmp 0x100300d1
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
test eax, eax
je 0x100300d1
push 0x1978
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
pop esi
mov esp, ebp
pop ebp
ret