Function at 0x1002ae3f
Capabilities:
Get geographical location

Disassembly:
push 0x88
mov eax, 0x10048c0d
call fcn.1003784d
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x60], edi
mov dword [esi], ebx
xor eax, eax
mov dword [ebp - 0x5c], ebx
inc eax
mov dword [ebp - 0x74], eax
push 4
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], eax
call fcn.10001a29
mov dword [ebp - 0x50], 0x44d4e2b7
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x48], 7
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], ebx
jmp 0x1002aea6
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x2c], 0xffffffff
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 4
jl 0x1002ae98
mov dword [ebp - 0x40], ebx
jmp 0x1002aebb
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x58], ebx
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 2
jl 0x1002aeb1
mov dword [ebp - 0x40], ebx
jmp 0x1002aed6
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x80]
mov dword [eax + ecx*4], 0xfffffff9
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 4
jl 0x1002aec6
mov dword [ebp - 0x58], 3
cmp dword [ebp - 0x58], ebx
jl 0x1002b01d
mov esi, dword [ebp - 0x80]
push dword [ebp - 0x70]
movdqa xmm0, xmmword [0x1004a3a0]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x6c], ebx
push eax
push ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x68], ebx
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x64], ebx
call fcn.100013e3
mov dword [ebp - 0x48], 0x1e5c8a52
mov dword [ebp - 0x40], ebx
jmp 0x1002af36
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x94], 8
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 2
jl 0x1002af25
mov edi, dword [ebp - 0x6c]
mov dword [edi], ebx
mov dword [ebp - 0x40], ebx
jmp 0x1002af54
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1c], 4
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 3
jl 0x1002af46
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x18], ebx
jl 0x1002af7e
mov byte [ebp - 0x41], bl
cmp byte [ebp - 0x41], 0
je 0x1002af79
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
dec dword [ebp - 0x18]
jns 0x1002af66
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp + eax*4 - 0x2c]
cmp dword [edi + 4], ebx
je 0x1002af96
mov eax, dword [ebp - 0x6c]
cmp dword [eax], ebx
je 0x1002af96
xor edx, edx
inc edx
jmp 0x1002af98
mov edx, ebx
mov ecx, dword [ebp - 0x18]
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, edx
setne al
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x6c]
inc dword [eax]
cmp dword [eax], 3
jle 0x1002af41
mov eax, dword [ebp - 0x58]
cmp dword [ebp + eax*4 - 0x2c], ebx
jne 0x1002afd1
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x6c]
imul ecx, dword [eax]
test ecx, ecx
jne 0x1002afd1
mov eax, ebx
jmp 0x1002afd4
xor eax, eax
inc eax
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov eax, dword [ebp - 0x54]
mov dword [esi + 0xc], eax
imul eax, eax, 0x2057
cmp eax, 7
mov eax, dword [ebp - 0x58]
setl cl
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x2c]
cmp eax, ecx
mov eax, dword [ebp - 0x50]
setl dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x6c]
call fcn.1000c4da
dec dword [ebp - 0x58]
jns 0x1002aeef
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x40], 0xfffffff4
jmp 0x1002b0a3
mov dword [ebp - 0x60], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x40]
cmp eax, 1
setge cl
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], ebx
jmp 0x1002b09a
mov dword [ebp - 0x60], 0x28bc1302
lea ecx, [ebp - 0x8c]
push 4
call fcn.10001a29
mov dword [ebp - 0x48], 0x7078
mov dword [ebp - 0x4c], ebx
jmp 0x1002b072
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x8c]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 4
jl 0x1002b05f
inc dword [ebp - 0x48]
mov byte [ebp - 0x41], bl
cmp byte [ebp - 0x41], 0
je 0x1002b08c
push ebx
push ebx
call dword [sym.imp.USER32.dll_BeginPaint]
lea ecx, [ebp - 0x8c]
call fcn.1000c4da
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 3
jle 0x1002b03f
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0xfffffff6
jge 0x1002b026
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.1000c4da
mov eax, dword [edi]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1b0]
test eax, eax
mov eax, dword [ebp - 0x5c]
js 0x1002b0e1
test eax, eax
je 0x1002b0e1
mov ecx, dword [eax]
push esi
push 0x1004b364
push eax
call dword [ecx]
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], bl
test eax, eax
je 0x1002b0ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.1003780b
ret