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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a50
call fcn.00414100
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4808a0]
push ebx
mov dword [ebp - 0x34], eax
mov eax, dword [0x4808a4]
push esi
xor esi, esi
mov dword [ebp - 0x2c], eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], 0x9e3779b9
call fcn.0040153c
mov eax, dword [0x4808a8]
add dword [ebp - 8], 0x23f
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4808ac]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x2498864]
shl ebx, 4
add ebx, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x4015d3
mov dword [0x2498860], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4015e7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [0x24982ec], 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 - 0x30]
xor ebx, ecx
xor eax, ebx
cmp dword [0x2498864], 0x213
mov dword [0x249885c], 0xf4ea3dee
mov dword [ebp - 0xc], eax
jne 0x4016f4
push esi
lea eax, [ebp - 0x124c]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea eax, [ebp - 0x64c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push esi
push esi
push esi
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
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 - 0x38]
push eax
call edi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
lea eax, [ebp - 0x1a4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x30
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x70], esi
call fcn.0040deb0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
lea eax, [ebp - 0x3c]
push eax
call edi
push esi
lea eax, [ebp - 0xa4c]
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_EnumCalendarInfoExA]
push esi
lea eax, [ebp - 0xe4c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [ebp - 0xc]
sub dword [ebp - 0x18], eax
cmp dword [0x2498864], 0xc
jne 0x40170f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFix]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov eax, ebx
shr eax, 5
add ecx, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], eax
shl ebx, 4
add ebx, dword [ebp - 0x34]
xor ebx, ecx
cmp dword [0x2498864], 0xb03
jne 0x40174d
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0x47cc48
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
dec dword [ebp - 0x1c]
jne 0x4015a9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4