Function at 0x10017af0
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 0x10088700
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x100cb018]
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 - 0x4c], esi
mov ecx, dword [esi + 0x190]
call fcn.10019f60
test al, al
jne 0x10017da2
mov edi, dword [esi + 0x190]
cmp dword [edi + 0x3c], 0xffffffff
je 0x10017b63
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x10017b63
mov ecx, edi
call fcn.10019f30
mov eax, dword [edi + 0x3c]
cmp eax, 0xffffffff
je 0x10017b7b
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 + 0x18c]
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
mov ecx, dword [edi + 4]
lea ecx, [ecx + 0x24]
call fcn.1001d2e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x190]
call fcn.10019e60
mov esi, dword [esi + 0x17c]
push 0x30
add esi, 0x20
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call fcn.10059b7e
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 - 0x6c], eax
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 1
add eax, 0x198
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], esi
call fcn.1001d490
sub esp, 0x28
mov dword [ebp - 4], 2
mov eax, esp
lea ecx, [ebp - 0x6c]
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.1001a230
mov esi, dword [ebp - 0x4c]
test al, al
je 0x10017c50
push dword [ebp - 0x48]
mov ecx, esi
call fcn.1000aa40
mov ecx, dword [esi + 0x190]
call fcn.10019f60
test al, al
jne 0x10017d9a
mov edi, dword [esi + 0x168]
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], edi
test edi, edi
je 0x10017c81
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x10]
shr eax, 0x1f
xor al, 1
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 5
test edi, edi
je 0x10017ca8
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 2
test al, al
je 0x10017cd1
cmp word [ebp - 0x80], 3
jne 0x10017cd1
cmp byte [ebp - 0x78], 0
mov eax, dword [esi + 0x1ec]
je 0x10017cc8
or eax, 1
jmp 0x10017ccb
and eax, 0xfffffffe
mov dword [esi + 0x1ec], eax
test byte [esi + 0x1ec], 1
je 0x10017d9a
lea ecx, [ebp - 0x44]
call fcn.1000a6d0
push 0x13
push str.WeaselServer.exe
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.1000bf00
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x10017d06
mov eax, dword [eax]
push 1
push 0
push 0x100b79c0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x10017d50
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10017d46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017dc0
push ecx
push edx
call fcn.10059bae
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 8
jb 0x10017d9a
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10017d90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017dc0
push ecx
push edx
call fcn.10059bae
add esp, 8
lea ecx, [ebp - 0x6c]
call fcn.100058a0
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.10059b70
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006907f
int3