Function at 0x4ad11d1c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4ad2406c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x148], 1
je 0x4ad1201d
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.4ad12c57
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 [0x4ad24041], 0
je 0x4ad148c3
and dword [ebp - 0x14c], 0
mov esi, 0x80
push esi
lea eax, [ebp - 0x144]
push eax
push 0x1f
call fcn.4ad072a5
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ad14830
cmp word [ebp - 0x144], 0
lea esi, [ebp - 0x144]
je 0x4ad11e1d
mov ebx, dword [sym.imp.msvcrt.dll_memmove]
movzx edx, word [esi]
cmp dx, 0x27
je 0x4ad14848
cmp dword [ebp - 0x14c], 0
jne 0x4ad11e0f
cmp dx, 0x64
je 0x4ad11ec3
cmp dx, 0x4d
je 0x4ad11ec3
inc esi
inc esi
cmp word [esi], 0
jne 0x4ad11de5
mov ebx, dword [ebp - 0x150]
push dword [0x4ad24094]
lea eax, [ebp - 0x144]
push dword [0x4ad24090]
push eax
lea eax, [ebp - 0x160]
push eax
push 0
call fcn.4ad072a5
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push eax
call edi
test eax, eax
je 0x4ad11f05
cmp dword [0x4ad24090], 0
je 0x4ad11f05
movzx eax, word [ebp - 0x15c]
push eax
call fcn.4ad11ce1
push eax
push 0x20
lea eax, [ebp - 0x44]
push eax
call fcn.4ad01416
test ebx, ebx
je 0x4ad1222d
cmp dword [ebp - 0x148], 0
je 0x4ad11e90
cmp dword [ebp + 0xc], 1
je 0x4ad12043
push dword [0x4ad24090]
push dword [ebp + 0x14]
push ebx
call fcn.4ad01416
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4ad11ea4
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4ad013fa
leave
ret 0x10
xor ecx, ecx
inc ecx
inc esi
inc esi
cmp word [esi], dx
je 0x4ad11ec5
lea eax, [ecx + ecx]
sub esi, eax
cmp ecx, 1
jne 0x4ad1485e
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4ad11ee0
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 0x4ad11e11
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x160]
push ecx
push eax
call fcn.4ad072a5
push eax
call edi
mov esi, eax
test esi, esi
je 0x4ad148a1
inc esi
lea eax, [esi + esi]
push eax
push dword [0x4ad24090]
call dword [sym.imp.msvcrt.dll_realloc]
test eax, eax
pop ecx
pop ecx
je 0x4ad148bd
push esi
push eax
mov dword [0x4ad24090], eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x160]
push eax
push 0
mov dword [0x4ad24094], esi
call fcn.4ad072a5
push eax
call edi
test eax, eax
jne 0x4ad11e5c
jmp 0x4ad148a1
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 0x4ad11d70
call fcn.4ad05e8a
test al, al
jne 0x4ad14985
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x14]
push ebx
call fcn.4ad01416
push 0x4ad023a8
push dword [ebp + 0x14]
push ebx
call fcn.4ad014d2
push dword [0x4ad24090]
push dword [ebp + 0x14]
push ebx
call fcn.4ad014d2
jmp 0x4ad11e9f
cmp dword [ebp - 0x148], ebx
je 0x4ad14962
call fcn.4ad05e8a
test al, al
lea eax, [ebp - 0x44]
jne 0x4ad14979
push dword [0x4ad24090]
push eax
push str._s__s
call fcn.4ad040bf
add esp, 0xc
jmp 0x4ad11eb2
push dword [0x4ad24174]
lea eax, [ebp - 0x144]
push esi
push eax
call fcn.4ad01416
jmp 0x4ad11dcf
xor eax, eax
cmp dword [ebp - 0x14c], eax
sete al
mov dword [ebp - 0x14c], eax
jmp 0x4ad11e0f
cmp dx, 0x64
jne 0x4ad1486b
and dword [ebp - 0x148], 0
cmp ecx, 3
jle 0x4ad1489a
lea ecx, [eax + esi]
mov eax, ecx
lea edx, [eax + 2]
mov di, word [eax]
inc eax
inc eax
test di, di
jne 0x4ad14878
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 0x4ad11e11
add esi, eax
jmp 0x4ad11e11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
mov dword [0x4ad240e0], eax
push eax
call fcn.4ad080e2
pop ecx
pop ecx
xor eax, eax
jmp 0x4ad11eb2
push 0
push 8
jmp 0x4ad148af
cmp dword [ebp + 0xc], 0
movzx esi, word [ebp - 0x15e]
movzx edi, word [ebp - 0x15a]
movzx ebx, word [ebp - 0x160]
jne 0x4ad148e9
push 0x64
mov eax, ebx
xor edx, edx
pop ecx
div ecx
mov ebx, edx
mov eax, dword [0x4ad24178]
cmp eax, 2
jne 0x4ad148fd
mov eax, ebx
mov ebx, edi
mov edi, esi
mov esi, eax
jmp 0x4ad14908
cmp eax, 1
jne 0x4ad14908
mov eax, esi
mov esi, edi
mov edi, eax
cmp dword [0x4ad24094], 0x20
jge 0x4ad14934
push 0x40
push dword [0x4ad24090]
call dword [sym.imp.msvcrt.dll_realloc]
test eax, eax
pop ecx
pop ecx
je 0x4ad148bd
mov dword [0x4ad24090], eax
mov dword [0x4ad24094], 0x20
push ebx
mov eax, 0x4ad248f0
push eax
push edi
push eax
push esi
push str._02d_s_02d_s_02d
push dword [0x4ad24094]
push dword [0x4ad24090]
call fcn.4ad01710
mov ebx, dword [ebp - 0x150]
add esp, 0x20
jmp 0x4ad11e5c
push dword [0x4ad24090]
push 0x4ad24570
call fcn.4ad040bf
pop ecx
pop ecx
jmp 0x4ad11eb2
push eax
push dword [0x4ad24090]
jmp 0x4ad12250
push dword [0x4ad24090]
push dword [ebp + 0x14]
push ebx
call fcn.4ad01416
push 0x4ad023a8
push dword [ebp + 0x14]
push ebx
call fcn.4ad014d2
lea eax, [ebp - 0x44]
push eax
jmp 0x4ad12071