Function at 0xac52b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0xac52bd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x29], dl
mov ebx, eax
xor eax, eax
push ebp
push 0xac5a89
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0xa96264]
call fcn.00a14440
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0xac5a19
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x250]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3a4]
mov dl, 1
mov eax, dword [0xa2a974]
call fcn.00a14440
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0xa2a250]
call fcn.00a14440
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x28]
mov edx, dword [0xa8da24]
call fcn.00a16b88
lea eax, [ebp - 0x20]
call fcn.00a153f0
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x25c]
call fcn.00aa0b64
mov byte [ebp - 0x51], al
cmp byte [ebp - 0x51], 0
je 0xac5381
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 8]
call fcn.00a9f6cc
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x44]
movzx edx, byte [ebp - 0x29]
mov eax, ebx
call fcn.00ac1438
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov edx, 0xac5aa0
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp byte [ebp - 0x51], 0
je 0xac541d
mov eax, dword [ebp - 0x28]
call fcn.00a168d4
test eax, eax
jl 0xac5465
inc eax
mov dword [ebp - 0x60], eax
xor esi, esi
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x18]
add dword [ebp - 0x3c], eax
imul eax, dword [ebp - 0x3c], 0x5a0
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
mov eax, dword [0xbaa0dc]
mov eax, dword [eax]
fild dword [eax + 0x40]
fdivp st(1)
call fcn.00a13654
mov edi, eax
mov edx, 0xac5abc
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
lea edx, [ebp - 0x68]
mov eax, edi
call fcn.00a1a790
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
inc esi
dec dword [ebp - 0x60]
jne 0xac53c7
jmp 0xac5465
mov eax, ebx
call fcn.00a67750
imul eax, eax, 0x5a0
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
mov eax, dword [0xbaa0dc]
mov eax, dword [eax]
fild dword [eax + 0x40]
fdivp st(1)
call fcn.00a13654
mov edi, eax
mov edx, 0xac5abc
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
lea edx, [ebp - 0x6c]
mov eax, edi
call fcn.00a1a790
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
cmp byte [ebp - 0x51], 0
je 0xac55b1
cmp word [ebx + 0x4e2], 0
je 0xac5489
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x4e4]
call dword [ebx + 0x4e0]
mov edx, 0xac5acc
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
mov eax, dword [ebp - 0x28]
call fcn.00a168d4
test eax, eax
jl 0xac558a
inc eax
mov dword [ebp - 0x60], eax
xor esi, esi
cmp word [ebx + 0x4ba], 0
je 0xac54cd
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi*4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x4bc]
call dword [ebx + 0x4b8]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi*4]
call fcn.00a9c878
mov byte [ebp - 0x59], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi*4]
movzx eax, byte [eax + 0x30]
mov byte [ebp - 0x5a], al
cmp byte [ebp - 0x5a], 0
je 0xac54f6
lea eax, [ebp - 0x59]
call fcn.00a646dc
movzx eax, byte [ebp - 0x59]
sub al, 1
jb 0xac5506
je 0xac5515
dec al
je 0xac5524
jmp 0xac5531
mov edx, 0xac5ae0
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
jmp 0xac5531
mov edx, 0xac5aec
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
jmp 0xac5531
mov edx, 0xac5af8
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
push ebp
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi*4]
lea edx, [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x70]
mov edx, dword [ebx + 0x25c]
mov edx, dword [edx + 0x10]
call fcn.00ac5018
pop ecx
mov edx, 0xac5b04
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
cmp word [ebx + 0x4ca], 0
je 0xac5580
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi*4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x4cc]
call dword [ebx + 0x4c8]
inc esi
dec dword [ebp - 0x60]
jne 0xac54ac
mov edx, 0xac5b14
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
cmp word [ebx + 0x4ea], 0
je 0xac55b1
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x4ec]
call dword [ebx + 0x4e8]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0xac5830
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.00ac4c0c
test al, al
je 0xac55f1
cmp word [ebx + 0x4a2], 0
je 0xac5604
mov eax, dword [ebp - 0x44]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x4a4]
call dword [ebx + 0x4a0]
test al, al
jne 0xac5604
xor ecx, ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
call dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
jmp 0xac5826
xor esi, esi
jmp 0xac57cb
cmp byte [ebp - 0x51], 0
je 0xac563b
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi*4]
call fcn.00a2dcd4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi*4]
movzx eax, byte [eax + 0x48]
mov byte [ebp - 0x59], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi*4]
movzx eax, byte [eax + 0x30]
mov byte [ebp - 0x5a], al
jmp 0xac5653
mov dword [ebp - 0x58], 0xffffffff
movzx eax, byte [ebx + 0x3ea]
mov byte [ebp - 0x59], al
movzx eax, byte [ebx + 0x5f]
mov byte [ebp - 0x5a], al
cmp byte [ebp - 0x51], 0
je 0xac5669
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi*4]
test byte [eax + 0x3c], 0x80
je 0xac57c4
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.00ac1564
mov edx, 0xac5acc
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
cmp byte [ebp - 0x5a], 0
je 0xac5695
lea eax, [ebp - 0x59]
call fcn.00a646dc
movzx eax, byte [ebp - 0x59]
dec al
je 0xac56a3
dec al
je 0xac56b2
jmp 0xac56bf
mov edx, 0xac5aec
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
jmp 0xac56bf
mov edx, 0xac5af8
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x250]
call fcn.00a3ebbc
mov byte [ebx + 0x841], 0
mov eax, dword [ebp - 0x58]
push eax
push 0
mov ecx, dword [ebx + 0x250]
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x488]
mov eax, dword [ebx + 0x25c]
call fcn.00aa0b48
cmp eax, dword [ebp - 0x58]
jne 0xac57a4
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.00abb878
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x38]
je 0xac5742
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x20]
call fcn.00a153f0
mov eax, dword [ebp - 0x34]
dec eax
test eax, eax
jl 0xac5742
inc eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x20]
mov edx, 0xac5b24
call fcn.00a156cc
dec dword [ebp - 0x60]
jne 0xac5730
cmp dword [ebp - 0x34], 0
jle 0xac5782
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
mov edx, 0xac5b34
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
push ebp
mov eax, dword [ebx + 0x250]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.00ac5018
pop ecx
mov edx, 0xac5b04
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
jmp 0xac57c4
push ebp
mov eax, dword [ebx + 0x250]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.00ac5018
pop ecx
mov edx, 0xac5b04
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
jmp 0xac57c4
push ebp
mov eax, dword [ebx + 0x250]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.00ac5018
pop ecx
mov edx, 0xac5b04
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
cmp byte [ebp - 0x51], 0
je 0xac57e5
inc esi
cmp byte [ebp - 0x51], 0
je 0xac560b
mov eax, dword [ebp - 0x28]
call fcn.00a168cc
cmp esi, eax
jl 0xac560b
mov edx, 0xac5b14
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
mov eax, dword [ebp - 0xc]
call fcn.00a98e7c
cmp word [ebx + 0x4b2], 0
je 0xac5818
mov eax, dword [ebp - 0x44]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x4b4]
call dword [ebx + 0x4b0]
xor ecx, ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
call dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0xac55c1
mov edx, 0xac5b40
mov eax, dword [ebp - 0xc]
call fcn.00a98dbc
lea eax, [ebp - 0x1c]
mov edx, 0xac5b54
call fcn.00a15488
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0xac58ae
inc eax
mov dword [ebp - 0x60], eax
xor esi, esi
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x84], esi
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0x88]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
lea edx, [ebp - 0x84]
mov ecx, 1
mov eax, 0xac5b90
call fcn.00a1c204
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x1c]
call fcn.00a156cc
inc esi
dec dword [ebp - 0x60]
jne 0xac585d
lea eax, [ebp - 0x1c]
mov edx, 0xac5ba4
call fcn.00a156cc
lea eax, [ebp - 0x1c]
mov edx, 0xac5bb0
call fcn.00a156cc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0xac5968
inc eax
mov dword [ebp - 0x60], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.00a2ccd8
call fcn.00a3d234
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x3c]
and eax, 0xff
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0
mov eax, dword [ebp - 0x3c]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
mov eax, dword [ebp - 0x3c]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
lea edx, [ebp - 0xa4]
mov ecx, 2
mov eax, 0xac5bc4
call fcn.00a1c204
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x1c]
call fcn.00a156cc
inc esi
dec dword [ebp - 0x60]
jne 0xac58dd
lea eax, [ebp - 0x1c]
mov edx, 0xac5ba4
call fcn.00a156cc
push 2
lea eax, [ebp - 0x5c]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0xac59a0
cmp byte [ebp - 0x5c], 0x30
jne 0xac59a0
lea eax, [ebp - 0x1c]
mov edx, 0xac5be4
call fcn.00a156cc
jmp 0xac59ad
lea eax, [ebp - 0x1c]
mov edx, 0xac5c08
call fcn.00a156cc
lea eax, [ebp - 0x1c]
mov edx, 0xac5c2c
call fcn.00a156cc
push dword [ebp - 0x1c]
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0xc]
call fcn.00a98da4
push dword [ebp - 0xa8]
push 0xac5ba4
mov eax, dword [ebp - 0x30]
mov edx, 3
call fcn.00a15794
mov eax, dword [ebp - 4]
call fcn.00a14470
mov eax, dword [ebp - 0x10]
call fcn.00a14470
mov edx, dword [ebx + 0x250]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3b8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xac5a20
mov eax, dword [ebp - 0xc]
call fcn.00a14470
ret