Function at 0x40ead9
Capabilities:
Create process on windows

Disassembly:
push 0x290
push 0x4a83e8
call fcn.0043bea0
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 0x40edd3
test ecx, ecx
je 0x40edd3
mov dword [ebp - 0x24c], str.AnythingSvc
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x248], esi
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0040f272
call fcn.004683a2
mov dword [ebp - 0x264], eax
push 5
pop ebx
dec ebx
mov dword [ebp - 0x230], ebx
cmp dword [ebp - 0x244], 0
je 0x40ec98
cmp dword [ebp - 0x248], 0
jne 0x40ec98
mov ebx, esi
mov dword [ebp - 0x254], esi
cmp ebx, 1
jae 0x40ec5e
test edi, edi
jne 0x40ec98
mov dword [ebp - 0x250], esi
mov dword [ebp - 4], esi
push dword [ebp + ebx*4 - 0x24c]
call fcn.00410e3b
cmp eax, 4
jne 0x40ec26
push 0x210
push esi
lea eax, [ebp - 0x22c]
push eax
call fcn.0045ea50
add esp, 0xc
push 0x107
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + ebx*4 - 0x24c]
call fcn.00410d19
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x40ec26
push 0x48fbb8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ec26
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 0x40ec26
mov eax, dword [ebp - 0x234]
mov dword [eax], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.0040ec4c
inc ebx
mov dword [ebp - 0x254], ebx
jmp 0x40eb7f
test edi, edi
jne 0x40ec98
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x40ecb3
call fcn.004683a2
sub eax, dword [ebp - 0x264]
cmp eax, 0x1388
jg 0x40ec9b
mov ebx, dword [ebp - 0x230]
test ebx, ebx
jle 0x40ec98
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jg 0x40eb56
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x40ecb3
test edi, edi
jne 0x40edd3
cmp dword [ebp + 0x1c], edi
jne 0x40ecb3
xor eax, eax
jmp 0x40edd5
test edi, edi
jne 0x40edd3
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 0x40ecf7
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x258], ebx
test ebx, ebx
je 0x40ed1b
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 0x40ed2e
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.0045ea50
add esp, 0xc
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x29c], 0xd640
call fcn.0040fc5b
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 0x40edc7
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.0040edf3
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x1c