Function at 0x401007
Capabilities:
Get common file path
Get disk information
Get file attributes
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22c8
call fcn.0040b440
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [0x441300]
mov dword [ebp - 0x30], eax
mov eax, dword [0x441304]
push esi
xor esi, esi
mov dword [ebp - 0x28], eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], 0x9e3779b9
call fcn.00401000
mov eax, dword [str.5y6j]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x24], eax
mov eax, dword [0x44130c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov edi, dword [ebp - 0x10]
mov eax, dword [0x245923c]
shl edi, 4
add edi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x40108e
mov dword [0x2459238], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010a2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [0x2458cc4], esi
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x2c]
xor edi, ecx
xor eax, edi
cmp dword [0x245923c], 0x213
mov dword [0x2459234], 0xf4ea3dee
mov dword [ebp - 0xc], eax
jne 0x4011b8
push esi
lea eax, [ebp - 0x1ac4]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea eax, [ebp - 0xec4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push esi
push esi
push esi
lea eax, [ebp - 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCommState]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LoadModule]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
lea eax, [ebp - 0x16c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x30
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 0x6c], esi
call fcn.004074e0
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
lea eax, [ebp - 0x6c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push esi
lea eax, [ebp - 0x22c4]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [ebp - 0xc]
sub ebx, eax
cmp dword [0x245923c], 0xc
jne 0x4011d2
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
mov ecx, dword [ebp - 8]
mov eax, ebx
shr eax, 5
add ecx, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 0xc], eax
mov edi, ebx
shl edi, 4
add edi, dword [ebp - 0x30]
xor edi, ecx
cmp dword [0x245923c], 0xb03
jne 0x40120f
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push str.ruxiterajokuhomerofayaru
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
xor edi, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 8], eax
dec dword [ebp - 0x18]
jne 0x401064
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], ecx
pop ebx
leave
ret 4