Function at 0x4ad0b5cc
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4ad33b78]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x148], 1
jne 0x4ad12a3c
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.vKERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.vKERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.vKERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.vKERNEL32.dll_FileTimeToSystemTime]
cmp byte [0x4ad2fa64], 0
je 0x4ad12ad8
push 0x80
lea eax, [ebp - 0x144]
push eax
push 0x1f
mov dword [ebp - 0x14c], ebx
call fcn.4ad056e5
push eax
call dword [sym.imp.vKERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ad12a5f
cmp word [ebp - 0x144], bx
lea esi, [ebp - 0x144]
je 0x4ad0b6c9
mov ebx, dword [sym.imp.vmsvcrt.dll_memmove]
mov dx, word [esi]
cmp dx, 0x27
je 0x4ad12a79
cmp dword [ebp - 0x14c], 0
jne 0x4ad0b6bf
cmp dx, 0x64
je 0x4ad0b7d1
cmp dx, 0x4d
je 0x4ad0b7d1
inc esi
inc esi
cmp word [esi], 0
jne 0x4ad0b695
xor ebx, ebx
push dword [0x4ad3cc54]
lea eax, [ebp - 0x144]
push dword [0x4ad3cc50]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
call fcn.4ad056e5
mov edi, dword [sym.imp.vKERNEL32.dll_GetDateFormatW]
push eax
call edi
test eax, eax
je 0x4ad0b6fe
cmp dword [0x4ad3cc50], ebx
jne 0x4ad0b768
push ebx
push ebx
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
call fcn.4ad056e5
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x4ad12ac6
inc esi
lea eax, [esi + esi]
push eax
push dword [0x4ad3cc50]
call dword [sym.imp.vmsvcrt.dll_realloc]
cmp eax, ebx
pop ecx
pop ecx
je 0x4ad12ad5
push esi
push eax
mov dword [0x4ad3cc50], eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
mov dword [0x4ad3cc54], esi
call fcn.4ad056e5
push eax
call edi
test eax, eax
je 0x4ad12ac6
movzx eax, word [ebp - 0x158]
push eax
call fcn.4ad0b50b
mov esi, dword [sym.imp.vmsvcrt.dll_wcscpy]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
mov edi, dword [ebp - 0x160]
cmp edi, ebx
pop ecx
pop ecx
jne 0x4ad12b9f
cmp dword [ebp - 0x148], ebx
je 0x4ad12b80
call fcn.4ad071bc
test al, al
lea eax, [ebp - 0x44]
jne 0x4ad12b93
push dword [0x4ad3cc50]
push eax
push str._s__s
call fcn.4ad05e00
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.4ad01305
leave
ret 0x10
xor ecx, ecx
inc ecx
inc esi
inc esi
cmp word [esi], dx
je 0x4ad0b7d3
lea eax, [ecx + ecx]
sub esi, eax
cmp ecx, 1
jne 0x4ad12a8f
push esi
call dword [sym.imp.vmsvcrt.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 0x4ad0b6c1
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.4ad19c17
jmp 0x4ad0b623
push dword [0x4ad34b10]
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.vmsvcrt.dll_wcscpy]
pop ecx
pop ecx
jmp 0x4ad0b680
xor eax, eax
cmp dword [ebp - 0x14c], eax
sete al
mov dword [ebp - 0x14c], eax
jmp 0x4ad0b6bf
cmp dx, 0x64
jne 0x4ad12a9c
and dword [ebp - 0x148], 0
cmp ecx, 3
jle 0x4ad12abf
lea edi, [eax + esi]
push edi
add esi, 6
call dword [sym.imp.vmsvcrt.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
push edi
push esi
call ebx
add esp, 0x10
jmp 0x4ad0b6c1
add esi, eax
jmp 0x4ad0b6c1
call dword [sym.imp.vKERNEL32.dll_GetLastError]
push ebx
mov dword [0x4ad2ba04], eax
push eax
jmp 0x4ad12b3d
push ebx
jmp 0x4ad12b3b
cmp dword [ebp + 0xc], 0
movzx esi, word [ebp - 0x15a]
movzx edi, word [ebp - 0x156]
movzx ebx, word [ebp - 0x15c]
jne 0x4ad12afe
push 0x64
mov eax, ebx
xor edx, edx
pop ecx
div ecx
mov ebx, edx
mov eax, dword [0x4ad2ba00]
cmp eax, 2
jne 0x4ad12b12
mov eax, ebx
mov ebx, edi
mov edi, esi
mov esi, eax
jmp 0x4ad12b1d
cmp eax, 1
jne 0x4ad12b1d
mov eax, esi
mov esi, edi
mov edi, eax
cmp dword [0x4ad3cc54], 0x20
jge 0x4ad12b59
push 0x40
push dword [0x4ad3cc50]
call dword [sym.imp.vmsvcrt.dll_realloc]
test eax, eax
pop ecx
pop ecx
jne 0x4ad12b4a
push eax
push 8
call fcn.4ad05fb5
pop ecx
xor eax, eax
jmp 0x4ad12c08
mov dword [0x4ad3cc50], eax
mov dword [0x4ad3cc54], 0x20
push ebx
mov eax, 0x4ad34b30
push eax
push edi
push eax
push esi
push str._02d_s_02d_s_02d
push 0x20
push dword [0x4ad3cc50]
call dword [sym.imp.vmsvcrt.dll__snwprintf]
add esp, 0x20
xor ebx, ebx
jmp 0x4ad0b768
push dword [0x4ad3cc50]
push 0x4ad34b88
call fcn.4ad05e00
pop ecx
jmp 0x4ad12c08
push eax
push dword [0x4ad3cc50]
jmp 0x4ad0b7b5
cmp dword [ebp - 0x148], ebx
je 0x4ad12bf6
cmp dword [ebp + 0xc], 1
jne 0x4ad12bf6
call fcn.4ad071bc
test al, al
je 0x4ad12bd9
push dword [0x4ad3cc50]
push edi
call esi
mov esi, dword [sym.imp.vmsvcrt.dll_wcscat]
push 0x4ad05d8c
push edi
call esi
lea eax, [ebp - 0x44]
push eax
push edi
call esi
add esp, 0x18
jmp 0x4ad12c01
lea eax, [ebp - 0x44]
push eax
push edi
call esi
mov esi, dword [sym.imp.vmsvcrt.dll_wcscat]
push 0x4ad05d8c
push edi
call esi
push dword [0x4ad3cc50]
jmp 0x4ad12bd1
push dword [0x4ad3cc50]
push edi
call esi
pop ecx
pop ecx
push edi
call dword [sym.imp.vmsvcrt.dll_wcslen]
pop ecx
jmp 0x4ad0b7c2