Function at 0x4b4700
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov byte [0x7af280], 0
mov edi, dword [sym.imp.kernel32.dll_EnumTimeFormatsA]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x409
mov dword [esp], 0x4b3820
call edi
sub esp, 0xc
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5d8897
mov dword [eax + 4], 0x1380
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.EnumTimeFormatsA_0__error__ld_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.004b46e0
call fcn.0057d110
mov dword [eax], 0x5d8897
mov dword [eax + 4], 0x1381
mov dword [esp + 4], 0x7af280
mov dword [esp], str.EnumTimeFormatsA_0_:__s_n
call fcn.004b4040
mov eax, dword [sym.imp.msvcrt.dll_strchr]
mov dword [esp + 4], 0xa
mov dword [esp], 0x7af280
mov dword [ebp - 0x110], eax
call eax
test eax, eax
je 0x4b47af
mov byte [eax], 0
mov ecx, dword [sym.imp.kernel32.dll_GetLocaleInfoA]
lea ebx, [ebp - 0x10c]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1003
mov dword [esp], 0x409
mov dword [ebp - 0x118], ecx
call ecx
sub esp, 0x10
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5d8897
mov edx, dword fs:[0x18]
mov dword [eax + 4], 0x1385
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x114], edx
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], str.GetLocaleInfoA_LOCALE_STIMEFORMAT__error__ld_n
call fcn.004b46e0
call fcn.0057d110
mov esi, dword [sym.imp.kernel32.dll_lstrcmpA]
mov dword [eax], 0x5d8897
mov dword [eax + 4], 0x1386
mov dword [esp + 4], ebx
mov dword [esp], 0x7af280
call esi
sub esp, 8
test eax, eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 8], 0x7af280
mov dword [esp + 4], str.expected___s__got___s__n
mov dword [esp], eax
call fcn.004b46e0
mov byte [0x7af280], 0
mov dword [esp + 8], 0x40000000
mov dword [esp + 4], 0x409
mov dword [esp], 0x4b3820
call edi
sub esp, 0xc
mov edi, eax
call fcn.0057d110
mov edx, dword [ebp - 0x114]
mov dword [eax], 0x5d8897
mov dword [eax + 4], 0x138a
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.EnumTimeFormatsA_LOCALE_USE_CP_ACP__error__ld_n
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.004b46e0
call fcn.0057d110
mov dword [eax], 0x5d8897
mov dword [eax + 4], 0x138b
mov dword [esp + 4], 0x7af280
mov dword [esp], str.EnumTimeFormatsA_LOCALE_USE_CP_ACP_:__s_n
call fcn.004b4040
mov dword [esp + 4], 0xa
mov dword [esp], 0x7af280
mov eax, dword [ebp - 0x110]
call eax
mov ecx, dword [ebp - 0x118]
test eax, eax
je 0x4b4903
mov byte [eax], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], 0x1003
mov dword [esp], 0x409
call ecx
sub esp, 0x10
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x5d8897
mov dword [eax + 4], 0x138f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.GetLocaleInfoA_LOCALE_STIMEFORMAT__error__ld_n
mov dword [esp + 8], eax
call fcn.004b46e0
call fcn.0057d110
mov dword [eax], 0x5d8897
mov dword [eax + 4], 0x1390
mov dword [esp + 4], ebx
mov dword [esp], 0x7af280
call esi
sub esp, 8
test eax, eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 8], 0x7af280
mov dword [esp + 4], str.expected___s__got___s__n
mov dword [esp], eax
call fcn.004b46e0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret