Function at 0x4ad125c3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4ad240ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x148], 1
test esi, esi
je 0x4ad14db4
push 9
pop ecx
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x194]
lea edi, [ebp - 0x194]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.4ad12afc
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp byte [0x4ad24081], 0
je 0x4ad14e6d
and dword [ebp - 0x14c], 0
mov esi, 0x80
push esi
lea eax, [ebp - 0x144]
push eax
push 0x1f
call fcn.4ad0519d
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ad14dda
cmp word [ebp - 0x144], 0
lea esi, [ebp - 0x144]
je 0x4ad126c4
mov ebx, dword [sym.imp.msvcrt.dll_memmove]
movzx edx, word [esi]
cmp dx, 0x27
je 0x4ad14df2
cmp dword [ebp - 0x14c], 0
jne 0x4ad126b6
cmp dx, 0x64
je 0x4ad1276a
cmp dx, 0x4d
je 0x4ad1276a
inc esi
inc esi
cmp word [esi], 0
jne 0x4ad1268c
mov ebx, dword [ebp - 0x150]
push dword [0x4ad240d4]
lea eax, [ebp - 0x144]
push dword [0x4ad240d0]
push eax
lea eax, [ebp - 0x160]
push eax
push 0
call fcn.4ad0519d
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push eax
call edi
test eax, eax
je 0x4ad12f6e
cmp dword [0x4ad240d0], 0
je 0x4ad12f6e
movzx eax, word [ebp - 0x15c]
push eax
call fcn.4ad12547
push eax
push 0x20
lea eax, [ebp - 0x44]
push eax
call fcn.4ad017fb
test ebx, ebx
je 0x4ad14f0c
cmp dword [ebp - 0x148], 0
je 0x4ad12737
cmp dword [ebp + 0xc], 1
je 0x4ad14f59
push dword [0x4ad240d0]
push dword [ebp + 0x14]
push ebx
call fcn.4ad017fb
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4ad1274b
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4ad0139d
leave
ret 0x10
xor ecx, ecx
inc ecx
inc esi
inc esi
cmp word [esi], dx
je 0x4ad1276c
lea eax, [ecx + ecx]
sub esi, eax
cmp ecx, 1
jne 0x4ad14e08
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4ad12787
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [esi + 2]
push esi
push eax
call ebx
add esp, 0xc
add esi, 4
jmp 0x4ad126b8
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x160]
push ecx
push eax
call fcn.4ad0519d
push eax
call edi
mov esi, eax
test esi, esi
je 0x4ad14e4b
inc esi
lea eax, [esi + esi]
push eax
push dword [0x4ad240d0]
call dword [sym.imp.msvcrt.dll_realloc]
pop ecx
pop ecx
test eax, eax
je 0x4ad14e67
push esi
push eax
mov dword [0x4ad240d0], eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x160]
push eax
push 0
mov dword [0x4ad240d4], esi
call fcn.4ad0519d
push eax
call edi
test eax, eax
jne 0x4ad12703
jmp 0x4ad14e4b
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
jmp 0x4ad12617
push dword [0x4ad241c4]
lea eax, [ebp - 0x144]
push esi
push eax
call fcn.4ad017fb
jmp 0x4ad12676
xor eax, eax
cmp dword [ebp - 0x14c], eax
sete al
mov dword [ebp - 0x14c], eax
jmp 0x4ad126b6
cmp dx, 0x64
jne 0x4ad14e15
and dword [ebp - 0x148], 0
cmp ecx, 3
jle 0x4ad14e44
lea ecx, [eax + esi]
mov eax, ecx
lea edx, [eax + 2]
mov di, word [eax]
inc eax
inc eax
test di, di
jne 0x4ad14e22
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
add esi, 6
push esi
call ebx
add esp, 0xc
jmp 0x4ad126b8
add esi, eax
jmp 0x4ad126b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
mov dword [0x4ad24120], eax
push eax
call fcn.4ad0ab8b
pop ecx
pop ecx
xor eax, eax
jmp 0x4ad12759
push 0
push 8
jmp 0x4ad14e59
cmp dword [ebp + 0xc], 0
movzx esi, word [ebp - 0x15e]
movzx edi, word [ebp - 0x15a]
movzx ebx, word [ebp - 0x160]
jne 0x4ad14e93
push 0x64
mov eax, ebx
xor edx, edx
pop ecx
div ecx
mov ebx, edx
mov eax, dword [0x4ad241c8]
cmp eax, 2
jne 0x4ad14ea7
mov eax, ebx
mov ebx, edi
mov edi, esi
mov esi, eax
jmp 0x4ad14eb2
cmp eax, 1
jne 0x4ad14eb2
mov eax, esi
mov esi, edi
mov edi, eax
cmp dword [0x4ad240d4], 0x20
jge 0x4ad14ede
push 0x40
push dword [0x4ad240d0]
call dword [sym.imp.msvcrt.dll_realloc]
pop ecx
pop ecx
test eax, eax
je 0x4ad14e67
mov dword [0x4ad240d0], eax
mov dword [0x4ad240d4], 0x20
push ebx
mov eax, 0x4ad24920
push eax
push edi
push eax
push esi
push str._02d_s_02d_s_02d
push dword [0x4ad240d4]
push dword [0x4ad240d0]
call fcn.4ad01799
mov ebx, dword [ebp - 0x150]
add esp, 0x20
jmp 0x4ad12703
cmp dword [ebp - 0x148], ebx
jne 0x4ad14f2b
push dword [0x4ad240d0]
push 0x4ad245b0
call fcn.4ad0735f
pop ecx
pop ecx
jmp 0x4ad12759
call fcn.4ad080cf
test al, al
lea eax, [ebp - 0x44]
je 0x4ad14f40
push eax
push dword [0x4ad240d0]
jmp 0x4ad14f47
push dword [0x4ad240d0]
push eax
push str._s__s
call fcn.4ad0735f
add esp, 0xc
jmp 0x4ad12759
call fcn.4ad080cf
test al, al
je 0x4ad14f85
push dword [0x4ad240d0]
push dword [ebp + 0x14]
push ebx
call fcn.4ad017fb
push 0x4ad01b2c
push dword [ebp + 0x14]
push ebx
call fcn.4ad01a89
lea eax, [ebp - 0x44]
push eax
jmp 0x4ad14fa6
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x14]
push ebx
call fcn.4ad017fb
push 0x4ad01b2c
push dword [ebp + 0x14]
push ebx
call fcn.4ad01a89
push dword [0x4ad240d0]
push dword [ebp + 0x14]
push ebx
call fcn.4ad01a89
jmp 0x4ad12746