Function at 0x100f51a0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1011f074
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2b8
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi + 0x10], 0
je 0x100f5691
cmp dword [esi + 0x10], 0
je 0x100f5691
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x18], eax
call fcn.100d4870
xor eax, eax
cmp dword [ebp - 0x18], 5
jbe 0x100f53c3
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x100f5243
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100f524b
mov edi, dword [edi]
push esi
push edi
lea eax, [ebp - 0x48]
push str._c_netsh_firewall_add_allowedprogram_program__s__name__s__modeENABLE_scopeALL
push eax
call fcn.100d43b0
push 0x208
lea eax, [ebp - 0x2c8]
push 0
push eax
call fcn.100747a0
add esp, 0x1c
lea eax, [ebp - 0x2c8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x2c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x5c
cmp cx, word [ebp + eax*2 - 0x2ca]
je 0x100f52b1
push 0x10139e88
lea eax, [ebp - 0x2c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
push str.cmd.exe
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x30]
push str._s_s
push eax
call fcn.100d43b0
add esp, 0x10
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x1c], 8
push 0
cmovae eax, dword [ebp - 0x30]
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x1c]
cmp eax, 0x20
setg byte [ebp - 0x11]
cmp edx, 8
jb 0x100f5350
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f5346
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f56a6
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp edx, 8
jb 0x100f5670
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f5398
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f56ab
push edx
push ecx
call fcn.100703b3
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.1001a0c0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa8]
push 0x2a
xor eax, eax
mov dword [ebp - 0x98], 0
push str.DomainProfileAuthorizedApplicationsList
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.1001a860
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
push 0x2c
xor eax, eax
mov dword [ebp - 0x80], 0
push str.StandardProfileAuthorizedApplicationsList
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.1001a860
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
push 0x44
xor eax, eax
mov dword [ebp - 0x20], 0
push str.SYSTEMControlSet001ServicesSharedAccessParametersFirewallPolicy
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.1001a860
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
push 0x48
xor eax, eax
mov dword [ebp - 0x38], 0
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicy
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.1001a860
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x78]
call fcn.1002f7a0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x18], eax
add esp, 4
cmp ecx, eax
je 0x100f54d2
call fcn.1001a0c0
mov eax, dword [ebp - 0x18]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x50], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x100f550c
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f5502
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f56b0
push edx
push ecx
call fcn.100703b3
add esp, 8
lea eax, [ebp - 0x60]
mov edx, esi
push eax
mov ecx, edi
call fcn.100f4900
add esp, 4
test al, al
je 0x100f563e
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x78]
call fcn.1002f7a0
add esp, 4
lea ecx, [ebp - 0x60]
push eax
call fcn.1001df20
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x100f557c
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f5572
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f56b5
push edx
push ecx
call fcn.100703b3
add esp, 8
lea eax, [ebp - 0x60]
mov edx, esi
push eax
mov ecx, edi
call fcn.100f4900
add esp, 4
test al, al
je 0x100f563e
lea eax, [ebp - 0xa8]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x78]
call fcn.1002f7a0
add esp, 4
lea ecx, [ebp - 0x60]
push eax
call fcn.1001df20
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x100f55ec
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f55e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f56ba
push edx
push ecx
call fcn.100703b3
add esp, 8
lea eax, [ebp - 0x60]
mov edx, esi
push eax
mov ecx, edi
call fcn.100f4900
add esp, 4
test al, al
je 0x100f563e
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x78]
call fcn.1002f7a0
add esp, 4
lea ecx, [ebp - 0x60]
push eax
call fcn.1001df20
lea ecx, [ebp - 0x78]
call fcn.1001a0c0
lea eax, [ebp - 0x60]
mov edx, esi
push eax
mov ecx, edi
call fcn.100f4900
add esp, 4
mov byte [ebp - 0x11], 1
test al, al
jne 0x100f5642
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x48]
call fcn.1001a0c0
lea ecx, [ebp - 0x30]
call fcn.1001a0c0
lea ecx, [ebp - 0x90]
call fcn.1001a0c0
lea ecx, [ebp - 0xa8]
call fcn.1001a0c0
lea ecx, [ebp - 0x60]
call fcn.1001a0c0
lea ecx, [ebp - 0xc0]
call fcn.1001a0c0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
int3