Function at 0x10012b3a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100614c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xe8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10012b8f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
push 0
push 0x224c
push dword [ebp - 0x9c]
push 0xa36
call fcn.10018246
add esp, 0x10
jmp 0x10012f4e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x38], 0x10ce
mov dword [ebp - 0x64], 0x10007c38
cmp dword [ebp - 0x38], 0x1471
jle 0x10012c6d
and dword [ebp - 0x18], 0
jmp 0x10012bed
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x55f8
jge 0x10012c5f
and dword [ebp - 0x28], 0
jmp 0x10012c03
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4a72
jge 0x10012c5d
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xe0]
call fcn.1000d5c0
pop ecx
pop ecx
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.1000fe6e
push eax
call fcn.1004bbc6
pop ecx
lea ecx, [ebp - 0xe0]
call fcn.1000fe64
jmp 0x10012bfc
jmp 0x10012be6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0xf6f
jge 0x10012c89
push dword [ebp - 0x64]
call fcn.1004bbc6
pop ecx
jmp 0x10012ca5
or dword [ebp - 4], 0xffffffff
jmp 0x10012caf
mov dword [ebp - 0x54], 0x14af
mov dword [ebp - 0xa8], 0x10007cb8
cmp dword [ebp - 0x54], 0x152d
jle 0x10012da2
and dword [ebp - 0x1c], 0
jmp 0x10012cda
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x406a
jge 0x10012d90
and dword [ebp - 0x20], 0
jmp 0x10012cf4
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x8045
jge 0x10012d8b
and dword [ebp - 0x14], 0
jmp 0x10012d0e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2f5
jge 0x10012d86
and dword [ebp - 0x24], 0
jmp 0x10012d24
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x124f
jge 0x10012d84
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xf8]
call fcn.1000d5c0
pop ecx
pop ecx
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
call fcn.1000fe6e
push eax
call fcn.1004bbc6
pop ecx
lea ecx, [ebp - 0xf8]
call fcn.1000fe64
jmp 0x10012d1d
jmp 0x10012d07
jmp 0x10012ced
jmp 0x10012cd3
push 0xe95
push 0
push 0x6f5
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10012dc2
push 0x6b4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x10012f0c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx]
neg ecx
imul ecx, ecx, 0xfda8
cmp dword [eax], ecx
jg 0x10012e57
mov dword [ebp - 0x30], 1
jmp 0x10012e5b
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
sub eax, 0x277
mov ecx, dword [ebp - 0x2c]
cmp eax, dword [ecx]
jg 0x10012e7b
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
je 0x10012e7b
mov dword [ebp - 0x48], 1
jmp 0x10012e7f
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
je 0x10012e95
mov dword [ebp - 0x50], 1
jmp 0x10012e99
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x50]
jg 0x10012eac
mov dword [ebp - 0x34], 1
jmp 0x10012eb0
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jl 0x10012ec6
mov dword [ebp - 0x3c], 1
jmp 0x10012eca
and dword [ebp - 0x3c], 0
imul eax, dword [ebp - 0x3c], 0xbeb9
test eax, eax
jne 0x10012ede
mov dword [ebp - 0x44], 1
jmp 0x10012ee2
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jge 0x10012ef5
mov dword [ebp - 0x4c], 1
jmp 0x10012ef9
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0xa0]
mov dword [eax], ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x54], 0x11c0
jge 0x10012f28
push dword [ebp - 0xa8]
call fcn.1004bbc6
pop ecx
jmp 0x10012f44
or dword [ebp - 4], 0xffffffff
jmp 0x10012f4e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret