Function at 0x40aa61
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd8b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x138
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x40ad41
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x3c], 0x35d9
mov dword [ebp - 0x90], str.yxw_vwyy_mzmqdtnsg
cmp dword [ebp - 0x3c], 0x37ef
jle 0x40ab93
and dword [ebp - 0x20], 0
jmp 0x40aae7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x8f5
jge 0x40ab93
and dword [ebp - 0x24], 0
jmp 0x40ab01
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1e8a
jge 0x40ab8e
and dword [ebp - 0x34], 0
jmp 0x40ab1b
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x2c2d
jge 0x40ab89
and dword [ebp - 0x2c], 0
jmp 0x40ab31
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x474f
jge 0x40ab87
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x148]
call fcn.004019d8
pop ecx
pop ecx
mov ecx, eax
call fcn.0040bba0
push eax
call fcn.004b7f67
pop ecx
lea ecx, [ebp - 0x148]
call fcn.0040bb96
jmp 0x40ab2a
jmp 0x40ab14
jmp 0x40aafa
jmp 0x40aae0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xe0], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x34e6
jge 0x40abb5
push dword [ebp - 0x90]
call fcn.004b7f67
pop ecx
jmp 0x40abd1
or dword [ebp - 4], 0xffffffff
jmp 0x40abdb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax]
test eax, eax
je 0x40acf5
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x40acd8
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x40acb8
mov ecx, dword [ebp - 0x44]
call fcn.0040bf89
movzx eax, al
test eax, eax
jne 0x40acd6
push dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x44]
call fcn.0040bf18
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
mov byte [eax], 1
jmp 0x40acf3
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov byte [eax], 1
jmp 0x40ad3c
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x7c]
push 1
push 1
push 0x409f
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
push 0x261e
push 0x605d
push 0x1f5e
call fcn.00408270
add esp, 0x24
jmp 0x40af15
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], 0x3eb60693
mov dword [ebp - 0xf8], 1
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x28], 0
jmp 0x40ad8b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x40ada1
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x130], 0xa167c28c
jmp 0x40ad84
cmp dword [ebp - 0x18], 1
jae 0x40adb0
mov dword [ebp - 0x4c], 1
jmp 0x40adb4
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x4c], eax
je 0x40adc5
mov dword [ebp - 0x40], 1
jmp 0x40adc9
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x30]
cmp dword [ebp - 0x18], eax
jle 0x40addd
mov dword [ebp - 0x48], 1
jmp 0x40ade1
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0xcd45
jg 0x40adf3
mov dword [ebp - 0x50], 1
jmp 0x40adf7
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x50], eax
jle 0x40ae21
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x40ae1c
push 0x1eb4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x40aef4
mov dword [ebp - 0x94], 0xfffe
push 3
lea ecx, [ebp - 0x104]
call fcn.0040bdd2
or dword [ebp - 0xf4], 0xffffffff
or dword [ebp - 0xf0], 0xffffffff
or dword [ebp - 0xec], 0xffffffff
or dword [ebp - 0xe8], 0xffffffff
lea ecx, [ebp - 0x35]
call fcn.0040becf
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x124]
call fcn.0040bed2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x11c]
call fcn.0040be7e
mov dword [ebp - 0x1c], 0
jmp 0x40ae96
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x40aeaf
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x104]
call fcn.0040bec0
and dword [eax], 0
jmp 0x40ae8f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x108], eax
xor eax, eax
neg eax
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x11c]
call fcn.0040bea4
lea ecx, [ebp - 0x104]
call fcn.0040bea4
push dword [ebp - 0x9c]
push dword [ebp - 0xa4]
push dword [ebp - 0xac]
push 0x2fec
push 1
call fcn.00406861
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret