Function at 0x1009e370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10108af6
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x10145fb4]
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 0x1009e5fe
mov eax, dword [ebx + 4]
test eax, eax
je 0x1009e3bf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], 0
cmp dword [ebx + 0x20098], 8
lea edx, [ebx + 0x20084]
jb 0x1009e3d0
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 0x1009e3f0
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 0x1009e4dc
call fcn.1007b1e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1009e4d5
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 0x1010ccec
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.1007b1e0
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 0x1009e600
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 0x1009e5d2
call fcn.1007b1e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1009e4d5
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 0x1010ccec
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.1007b1e0
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.10014680
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 0x1009e600
push 0
push 0
push ebx
push 0x1009e350
push 0
push 0
call fcn.100d59f1
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.1009c0d0
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.100b254d
mov esp, ebp
pop ebp
ret