Function at 0x4ad080ce
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x19c
push ebx
push esi
mov esi, dword [ebp + 0x70]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp + 0x64], 1
je 0x4ad0d09f
push 9
pop ecx
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp - 0x34]
lea edi, [ebp - 0x34]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.4ad09078
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp byte [0x4ad2ca64], 0
je 0x4ad10779
push 0x80
lea eax, [ebp - 0x134]
push eax
push 0x1f
mov dword [ebp + 0x70], ebx
call fcn.4ad06de5
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ad1071b
cmp word [ebp - 0x134], bx
lea esi, [ebp - 0x134]
je 0x4ad08191
mov ebx, dword [sym.imp.msvcrt.dll_memmove]
mov dx, word [esi]
cmp dx, 0x27
je 0x4ad10735
cmp dword [ebp + 0x70], 0
jne 0x4ad08187
cmp dx, 0x64
je 0x4ad081ff
cmp dx, 0x4d
je 0x4ad081ff
inc esi
inc esi
cmp word [esi], 0
jne 0x4ad08168
xor ebx, ebx
push 0x20
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp + 0x54]
push eax
push ebx
call fcn.4ad06de5
push eax
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
movzx eax, word [ebp + 0x58]
push eax
call fcn.4ad08096
push eax
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
mov edi, dword [ebp + 0x78]
cmp edi, ebx
pop ecx
pop ecx
je 0x4ad107d6
cmp dword [ebp + 0x64], ebx
je 0x4ad081e0
cmp dword [ebp + 0x74], 1
je 0x4ad0d0bc
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10
xor ecx, ecx
inc ecx
inc esi
inc esi
cmp word [esi], dx
je 0x4ad08201
lea eax, [ecx + ecx]
sub esi, eax
cmp ecx, 1
jne 0x4ad10745
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
lea eax, [esi + 2]
push esi
push eax
call ebx
add esp, 0x10
add esi, 4
jmp 0x4ad08189
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
jmp 0x4ad08105
call fcn.4ad05d96
test al, al
jne 0x4ad1081b
lea eax, [ebp + 0x38]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcscpy]
mov esi, dword [sym.imp.msvcrt.dll_wcscat]
push 0x4ad0ba0c
push edi
call esi
lea eax, [ebp - 0x10]
push eax
push edi
call esi
add esp, 0x18
jmp 0x4ad081ed
push dword [0x4ad35ae0]
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
jmp 0x4ad08153
xor eax, eax
cmp dword [ebp + 0x70], eax
sete al
mov dword [ebp + 0x70], eax
jmp 0x4ad08187
cmp dx, 0x64
jne 0x4ad1074f
and dword [ebp + 0x64], 0
cmp ecx, 3
jle 0x4ad10772
lea edi, [eax + esi]
push edi
add esi, 6
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
push edi
push esi
call ebx
add esp, 0x10
jmp 0x4ad08189
add esi, eax
jmp 0x4ad08189
cmp dword [ebp + 0x74], ebx
movzx ecx, word [ebp + 0x56]
movzx esi, word [ebp + 0x5a]
movzx eax, word [ebp + 0x54]
jne 0x4ad10793
push 0x64
xor edx, edx
pop edi
div edi
mov eax, edx
mov edx, dword [0x4ad28a00]
cmp edx, 2
jne 0x4ad107a8
mov edx, eax
mov eax, esi
mov esi, ecx
mov ecx, edx
jmp 0x4ad107b3
cmp edx, 1
jne 0x4ad107b3
mov edx, ecx
mov ecx, esi
mov esi, edx
push eax
mov eax, 0x4ad35af0
push eax
push esi
push eax
push ecx
push str._02d_s_02d_s_02d
lea eax, [ebp - 0x10]
push 0x20
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
add esp, 0x20
jmp 0x4ad081af
cmp dword [ebp + 0x64], ebx
jne 0x4ad107ef
lea eax, [ebp - 0x10]
push eax
push 0x4ad3a240
call fcn.4ad03e14
pop ecx
jmp 0x4ad081f4
call fcn.4ad05d96
test al, al
je 0x4ad10812
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
push str._s__s
call fcn.4ad03e14
add esp, 0xc
jmp 0x4ad081f5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x38]
jmp 0x4ad107ff
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcscpy]
mov esi, dword [sym.imp.msvcrt.dll_wcscat]
push 0x4ad0ba0c
push edi
call esi
lea eax, [ebp + 0x38]
jmp 0x4ad0d0e5