Function at 0x1002aeaa
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002aef3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x1002aeee
push 0x845
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x1002b7f8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x138], 0x1a049fe3
mov dword [ebp - 0x134], 0x1a049fe3
mov dword [ebp - 0x130], 0x1a049fe3
mov dword [ebp - 0x12c], 0x1a049fe3
mov dword [ebp - 0x1c], 0x2124f84b
mov dword [ebp - 0x1c], 0
jmp 0x1002af44
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jg 0x1002af5a
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x138], 6
jmp 0x1002af3d
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002af74
push 0
push 0x1a91
call fcn.1002dbb0
pop ecx
pop ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x10]
mov dword [eax], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x140], 0x2b46
mov dword [ebp - 0x3c], 0
jmp 0x1002afa0
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1002afb3
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x48], 5
jmp 0x1002af99
mov dword [ebp - 4], 0
jmp 0x1002afc3
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1b
jne 0x1002b1d2
mov dword [ebp - 0xc], 0x97eede0b
mov dword [ebp - 0x34], 0
jmp 0x1002afe4
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1002affa
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x10c], 0x38ca
jmp 0x1002afdd
mov dword [ebp - 0xc], 0xfffffffa
jmp 0x1002b00a
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffe9
jne 0x1002b1cd
mov dword [ebp - 0x74], 0xfffffffa
mov dword [ebp - 0xd0], 0xa9b27fa
mov dword [ebp - 0x40], 0
jmp 0x1002b035
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1002b048
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x68], 0
jmp 0x1002b02e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 4], 0
je 0x1002b122
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0xc]
cmp eax, 0xb653
je 0x1002b075
mov dword [ebp - 0xc4], 1
jmp 0x1002b07c
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xc4], eax
jg 0x1002b093
mov dword [ebp - 0xe0], 1
jmp 0x1002b09a
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0x2104
jl 0x1002b0b1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x68], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x68]
cmp dword [ebp + eax - 0x68], ecx
jge 0x1002b0d0
mov dword [ebp - 0x7c], 1
jmp 0x1002b0d4
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x7c], eax
je 0x1002b0e8
mov dword [ebp - 0xd8], 1
jmp 0x1002b0ef
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xd0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
sub eax, dword [ebp - 0xd0]
sub eax, dword [ebp - 0xd8]
je 0x1002b122
mov dword [ebp - 0xd4], 1
jmp 0x1002b129
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0x66ef3b06
jg 0x1002b141
mov dword [ebp - 0x84], 1
jmp 0x1002b148
and dword [ebp - 0x84], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
cmp dword [ebp - 0x84], eax
je 0x1002b166
mov dword [ebp - 0xb4], 1
jmp 0x1002b16d
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
cmp dword [ebp - 0xb4], eax
jne 0x1002b1a4
mov eax, 0x1dd2
test eax, eax
je 0x1002b1a4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10c], 0
je 0x1002b1a4
mov dword [ebp - 0x8c], 1
jmp 0x1002b1ab
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0xc1e0f758
jb 0x1002b1bb
cmp dword [ebp - 4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp + eax - 0x48], ecx
jmp 0x1002b003
jmp 0x1002afbc
cmp dword [ebp - 4], 0
je 0x1002b21c
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, 0xb100
sub edx, dword [ebp + ecx - 0x48]
cmp dword [ebp + eax - 0x48], edx
jne 0x1002b1ff
mov dword [ebp - 0xcc], 1
jmp 0x1002b206
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
neg eax
je 0x1002b21c
mov dword [ebp - 0x94], 1
jmp 0x1002b223
and dword [ebp - 0x94], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x48]
cmp eax, dword [ebp - 0x94]
jge 0x1002b241
mov dword [ebp - 0xbc], 1
jmp 0x1002b248
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0xc2fb
je 0x1002b262
or eax, 0xffffffff
jne 0x1002b262
and dword [ebp - 0xfc], 0
jmp 0x1002b26c
mov dword [ebp - 0xfc], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x48]
mov dword [ebp - 0x13c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x48], 0x3899
jl 0x1002b292
cmp dword [ebp - 4], 0
je 0x1002b2f7
mov dword [ebp - 4], 0
jmp 0x1002b2a2
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jg 0x1002b2f5
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x10], 1
jmp 0x1002b2bf
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002b2cf
push 0
call fcn.1002f298
pop ecx
jmp 0x1002b2b8
mov dword [ebp - 0x10], 0
jmp 0x1002b2df
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1002b2f3
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x48], 0
je 0x1002b2f1
jmp 0x1002b2f3
jmp 0x1002b2d8
jmp 0x1002b29b
jmp 0x1002b34b
mov dword [ebp - 0xf0], 0x9c906054
mov dword [ebp - 4], 0
jmp 0x1002b311
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jg 0x1002b328
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x48], 0
je 0x1002b326
jmp 0x1002b328
jmp 0x1002b30a
mov dword [ebp - 4], 0xe
jmp 0x1002b338
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xfffffff4
jl 0x1002b34b
cmp dword [ebp - 0xf0], 0
je 0x1002b349
jmp 0x1002b34b
jmp 0x1002b331
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x1002b7f8
mov dword [ebp - 0x20], 0xfffffff9
mov dword [ebp - 0x4c], 0xf368a901
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x58], 0xa6fdd8fb
mov dword [ebp - 0x108], 5
mov dword [ebp - 0x120], 0x5e19f8c5
mov dword [ebp - 0x11c], 0x5e19f8c5
mov dword [ebp - 0x118], 0x5e19f8c5
mov dword [ebp - 0x114], 0x5e19f8c5
mov dword [ebp - 0x30], 0
jmp 0x1002b3b8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1002b3ce
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x164], 0xfffffff7
jmp 0x1002b3b1
mov dword [ebp - 0x20], 0
jmp 0x1002b3de
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffe9
jg 0x1002b5d0
mov dword [ebp - 0xdc], 5
mov dword [ebp - 0x60], 0xfffffff7
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x100], 0x9855eec8
mov dword [ebp - 0x144], 0xffffffff
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0x158], 0xdfa
mov dword [ebp - 0x154], 9
mov dword [ebp - 0x150], 4
mov dword [ebp - 0x38], 0
jmp 0x1002b44f
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1002b465
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x110], 0x1ad7ba96
jmp 0x1002b448
cmp dword [ebp - 0xdc], 0
jne 0x1002b4d6
mov dword [ebp - 0x4c], 0x12af
cmp dword [ebp - 0x4c], 0
jne 0x1002b4d6
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x120]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x120], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0xdc], eax
jg 0x1002b4bd
mov dword [ebp - 0x5c], 1
jmp 0x1002b4c1
and dword [ebp - 0x5c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x5c]
mov dword [ebp + eax - 0x164], ecx
cmp dword [ebp - 0x5c], 0
je 0x1002b4e8
mov eax, 0xe7c650ba
test eax, eax
jne 0x1002b4e8
and dword [ebp - 0xa4], 0
jmp 0x1002b4f2
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0xa4], eax
jle 0x1002b504
cmp dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0xf8], eax
jle 0x1002b51b
mov dword [ebp - 0x6c], 1
jmp 0x1002b51f
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0
jl 0x1002b531
mov dword [ebp - 0xac], 1
jmp 0x1002b538
and dword [ebp - 0xac], 0
mov eax, 0xfffc
sub eax, dword [ebp - 0xac]
add eax, 0x277fa1ad
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x60], eax
je 0x1002b55c
mov dword [ebp - 0x78], 1
jmp 0x1002b560
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x110]
cmp dword [ebp - 0x78], eax
jle 0x1002b57b
mov dword [ebp - 0x80], 1
jmp 0x1002b57f
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x80], eax
je 0x1002b593
mov dword [ebp - 0x88], 1
jmp 0x1002b59a
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0xd496
jl 0x1002b5b2
mov dword [ebp - 0x90], 1
jmp 0x1002b5b9
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
jmp 0x1002b3d7
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x1002b709
mov dword [ebp - 8], 9
mov dword [ebp - 0xe8], 0xffffffff
mov dword [ebp - 0x28], 0
jmp 0x1002b600
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1002b616
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xec], 0xfffffff8
jmp 0x1002b5f9
push 0x5299
push 0x67c8
push 0
call fcn.1002a531
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
jne 0x1002b641
mov dword [ebp - 0xb0], 1
jmp 0x1002b648
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
jge 0x1002b66f
cmp dword [ebp - 8], 0
je 0x1002b66f
mov dword [ebp - 0xa0], 1
jmp 0x1002b676
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xa0], eax
jge 0x1002b68d
mov dword [ebp - 0xa8], 1
jmp 0x1002b694
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 8]
jge 0x1002b6b5
mov dword [ebp - 0xb8], 1
jmp 0x1002b6bc
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xb8], eax
jg 0x1002b6d3
mov dword [ebp - 0xc0], 1
jmp 0x1002b6da
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
add eax, 0xa6d8a72
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xec], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
push 1
call fcn.1002a531
add esp, 0xc
jmp 0x1002b7f8
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x1002b7f8
mov dword [ebp - 0x18], 0xb2cfb631
mov dword [ebp - 0x2c], 0
jmp 0x1002b731
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1002b747
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x128], 0x8c45
jmp 0x1002b72a
mov dword [ebp - 0x18], 1
jmp 0x1002b757
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1002b7ba
mov dword [ebp - 0x54], 7
mov dword [ebp - 0xf4], 0xc5d9b4e9
push 0
push 0x2ae8
lea eax, [ebp - 0x54]
push eax
push 0x7ad7
call fcn.1002f103
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x128]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x128], ecx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xf4], eax
jmp 0x1002b750
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1002b7e6
push 0
push 0xfa4
push 0x448
push 0
push 0x16ac
push 0x2529
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
call fcn.1002acee
add esp, 0xc
mov esp, ebp
pop ebp
ret