Function at 0x10018180
Capabilities:
Create process on windows

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
push 0x1008b58d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x100d0040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
mov ecx, dword [esi + 0x188]
call fcn.1001ace0
test al, al
jne 0x10018493
mov edi, dword [esi + 0x188]
cmp dword [edi + 0x3c], 0xffffffff
je 0x100181f0
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x100181f0
mov ecx, edi
call fcn.1001acb0
mov eax, dword [edi + 0x3c]
cmp eax, 0xffffffff
je 0x10018208
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x3c], 0xffffffff
lea edi, [esi + 0x184]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov ecx, dword [edi + 4]
lea ecx, [ecx + 0x24]
call fcn.1001e470
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x188]
call fcn.1001abe0
mov esi, dword [esi + 0x174]
push 0x30
add esi, 0x28
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
call fcn.1005ca34
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 1
add eax, 0x190
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], esi
call fcn.1001e630
sub esp, 0x28
mov dword [ebp - 4], 2
mov eax, esp
lea ecx, [ebp - 0x80]
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_std::reference_wrapper_struct_weasel::ResponseParser___bool__wchar_t___unsigned_int_.0
mov dword [eax + 0x24], eax
call fcn.1001afb0
mov esi, dword [ebp - 0x60]
test al, al
je 0x100182d4
mov ecx, esi
call fcn.1000b1f0
mov ecx, dword [esi + 0x188]
call fcn.1001ace0
test al, al
jne 0x1001848b
mov ecx, dword [esi + 0x1e8]
lea edx, [ebp - 0x28]
xorps xmm0, xmm0
shr ecx, 0x14
movups xmmword [ebp - 0x28], xmm0
mov eax, 3
and ecx, 1
mov word [ebp - 0x28], ax
add ecx, ecx
mov al, byte [esi + 0x1e8]
and al, 1
movzx eax, al
or ecx, eax
or ecx, 0xfc000000
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x210], ecx
mov ecx, dword [esi + 0x160]
push edx
push dword [esi + 0x2c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov ecx, esi
call fcn.10005650
test byte [esi + 0x1e8], 1
je 0x1001848b
lea ecx, [ebp - 0x48]
call fcn.1000ae80
push 0x13
push str.WeaselServer.exe
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.1000c5e0
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x10018370
mov eax, dword [eax]
push 1
push 0
push 0x100bba20
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x100183be
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100183b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100184b1
push ecx
push edx
call fcn.1005ca64
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x10018410
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018406
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100184b1
push ecx
push edx
call fcn.1005ca64
add esp, 8
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x188]
call fcn.1001ace0
test al, al
jne 0x1001848b
mov edi, dword [esi + 0x188]
cmp dword [edi + 0x3c], 0xffffffff
je 0x10018444
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x10018444
mov ecx, edi
call fcn.1001acb0
mov eax, dword [edi + 0x3c]
cmp eax, 0xffffffff
je 0x1001845c
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x3c], 0xffffffff
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x188]
lea ecx, [ecx + 0x24]
call fcn.1001e470
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x188]
call fcn.1001abe0
lea ecx, [ebp - 0x80]
call fcn.10005fd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005ca26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006bfdf
int3