Function at 0x1002c04f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push edi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002c2f4
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1002c224
mov dword [ebp - 0x68], 0x214e
cmp dword [ebp - 0x68], 0xa5c
jge 0x1002c1f8
xor eax, eax
inc eax
je 0x1002c1f8
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x100089f8
call fcn.10050e4b
add esp, 0xc
cmp dword [ebp - 0x20], 0
jne 0x1002c0e7
cmp dword [ebp - 0x30], 0
jne 0x1002c0e7
jmp 0x1002c1f8
and dword [ebp - 0x1c], 0
jmp 0x1002c0f4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jge 0x1002c10e
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + ecx*4 - 0x14c], eax
jmp 0x1002c0ed
and dword [ebp - 0x2c], 0
jmp 0x1002c11b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jge 0x1002c1da
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
push 0x100089f8
call fcn.10050e4b
add esp, 0xc
and dword [ebp - 0x18], 0
jmp 0x1002c149
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
dec eax
cmp dword [ebp - 0x18], eax
jge 0x1002c16b
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp + ecx*4 - 0x14c]
mov dword [ebp + eax*4 - 0x214], ecx
jmp 0x1002c142
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x1002c17b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax - 1]
cmp dword [ebp - 0x10], eax
jge 0x1002c1a3
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp + ecx*4 - 0x14c]
mov dword [ebp + eax*4 - 0x210], ecx
jmp 0x1002c174
and dword [ebp - 0xc], 0
jmp 0x1002c1b0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax - 1]
cmp dword [ebp - 0xc], eax
jge 0x1002c1d5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp + ecx*4 - 0x214]
mov dword [ebp + eax*4 - 0x14c], ecx
jmp 0x1002c1a9
jmp 0x1002c114
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x14c]
push 0x10008a0c
call fcn.10051040
pop ecx
pop ecx
jmp 0x1002c0b8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1002c21f
push 0x1741
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1002c2f2
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1000e00f
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1000e00f
or ecx, 0xffffffff
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1000e00f
sub edi, dword [eax]
cmp esi, edi
jg 0x1002c2aa
mov dword [ebp - 0x38], 1
jmp 0x1002c2ae
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1000e00f
mov esi, dword [eax]
add esi, dword [ebp - 0x38]
push 1
mov ecx, dword [ebp - 4]
call fcn.1000e00f
cmp esi, dword [eax]
jge 0x1002c2d7
mov dword [ebp - 0x24], 1
jmp 0x1002c2db
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.1000e00f
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x1002c31a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push dword [ebp - 0x7c]
push 0x5138
push 0
push 0x7d1f
call fcn.1002bbed
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret