Function at 0x415eac
Capabilities:
Create process on windows

Disassembly:
push 0x290
push 0x53ef30
call fcn.00497040
mov edx, dword [ebp + 8]
mov dword [ebp - 0x23c], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x240], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x234], eax
xor esi, esi
mov edi, esi
mov dword [ebp - 0x238], edi
mov dword [eax], esi
test edx, edx
je 0x4161a6
test ecx, ecx
je 0x4161a6
mov dword [ebp - 0x24c], str.ADBlockMasterSvc
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x248], esi
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.004165d1
call fcn.004e2787
mov dword [ebp - 0x264], eax
push 5
pop ebx
dec ebx
mov dword [ebp - 0x230], ebx
cmp dword [ebp - 0x244], 0
je 0x41606b
cmp dword [ebp - 0x248], 0
jne 0x41606b
mov ebx, esi
mov dword [ebp - 0x254], esi
cmp ebx, 1
jae 0x416031
test edi, edi
jne 0x41606b
mov dword [ebp - 0x250], esi
mov dword [ebp - 4], esi
push dword [ebp + ebx*4 - 0x24c]
call fcn.00417e70
cmp eax, 4
jne 0x415ff9
push 0x210
push esi
lea eax, [ebp - 0x22c]
push eax
call fcn.004d8680
add esp, 0xc
push 0x107
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + ebx*4 - 0x24c]
call fcn.00417d4e
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x415ff9
push 0x50da68
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x415ff9
push dword [ebp - 0x234]
push dword [ebp - 0x240]
push dword [ebp - 0x23c]
call eax
mov edi, eax
mov dword [ebp - 0x238], edi
test edi, edi
jne 0x415ff9
mov eax, dword [ebp - 0x234]
mov dword [eax], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.0041601f
inc ebx
mov dword [ebp - 0x254], ebx
jmp 0x415f52
test edi, edi
jne 0x41606b
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x416086
call fcn.004e2787
sub eax, dword [ebp - 0x264]
cmp eax, 0x1388
jg 0x41606e
mov ebx, dword [ebp - 0x230]
test ebx, ebx
jle 0x41606b
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jg 0x415f29
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x416086
test edi, edi
jne 0x4161a6
cmp dword [ebp + 0x1c], edi
jne 0x416086
xor eax, eax
jmp 0x4161a8
test edi, edi
jne 0x4161a6
mov ebx, esi
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x230], esi
mov edi, esi
mov dword [ebp - 0x260], esi
mov dword [ebp - 4], 1
cmp dword [ebp + 0x20], 0
je 0x4160ca
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x258], ebx
test ebx, ebx
je 0x4160ee
push str.Wow64DisableWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.Wow64RevertWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x260], eax
test edi, edi
je 0x416101
lea eax, [ebp - 0x230]
push eax
call edi
mov dword [ebp - 0x25c], eax
push 0x3c
pop edi
push edi
push esi
lea eax, [ebp - 0x2a0]
push eax
call fcn.004d8680
add esp, 0xc
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x29c], 0xd640
call fcn.00416be9
neg eax
sbb eax, eax
and eax, str.runas
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x284], 1
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
mov dword [ebp - 0x238], edi
test edi, edi
je 0x41619a
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x234]
mov dword [ecx], eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
call fcn.004161c6
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x1c