Function at 0x1009ecf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10109626
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x10146fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 8], 0
jne 0x1009ef7e
mov eax, dword [ebx + 4]
test eax, eax
je 0x1009ed3f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], 0
cmp dword [ebx + 0x20098], 8
lea edx, [ebx + 0x20084]
jb 0x1009ed50
mov edx, dword [edx]
sub esp, 0x18
mov ecx, edx
mov esi, esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009ed70
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.1000b050
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x1009ee5c
call fcn.1007bb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1009ee55
push 0x60
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_srcpublish_subscribe_subscribe_imp.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], al
call fcn.1000af60
push 3
push 0x1010dcec
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.1000af60
mov byte [ebp - 4], 1
call fcn.1007bb70
mov edi, eax
lea ecx, [ebp - 0x110]
push 0xa2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10007c00
mov esi, eax
push str.client_instance_init_failed
push esi
mov byte [ebp - 4], 2
call fcn.10005ad0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10009000
lea ecx, [ebp - 0x30]
call fcn.100087a0
lea ecx, [ebp - 0x48]
call fcn.100087a0
xor al, al
jmp 0x1009ef80
mov edi, dword [ebx + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 1
push 0
push 0
push 0xffffffffffffffff
call esi
push 0
push 0x65
push eax
push edi
mov dword [ebx + 4], eax
call esi
cmp eax, dword [ebx + 4]
je 0x1009ef52
call fcn.1007bb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1009ee55
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x60
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_srcpublish_subscribe_subscribe_imp.cpp
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
mov ebx, eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.1000af60
push 3
push 0x1010dcec
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 3
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.1000af60
mov byte [ebp - 4], 4
call fcn.1007bb70
mov edi, eax
lea ecx, [ebp - 0x1a8]
push 0xa9
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10007c00
mov esi, eax
push str.bind_pipe_to_iocp_failed__last_err:
push esi
mov byte [ebp - 4], 5
call fcn.10005ad0
add esp, 8
mov ecx, esi
push ebx
call fcn.100146b0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.10009000
lea ecx, [ebp - 0x60]
call fcn.100087a0
lea ecx, [ebp - 0x78]
call fcn.100087a0
xor al, al
jmp 0x1009ef80
push 0
push 0
push ebx
push 0x1009ecd0
push 0
push 0
call fcn.100d6371
add esp, 0x18
mov dword [ebx + 8], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
lea ecx, [ebx + 0xc]
push eax
call fcn.1009ca50
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2ecd
mov esp, ebp
pop ebp
ret