Function at 0x47fec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9856
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x50b624]
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 0x48014e
mov eax, dword [ebx + 4]
test eax, eax
je 0x47ff0f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], 0
cmp dword [ebx + 0x20098], 8
lea edx, [ebx + 0x20084]
jb 0x47ff20
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 0x47ff40
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0040a7f0
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x48002c
call fcn.0045d090
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x480025
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.0040a6f0
push 3
push 0x4db970
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.0040a6f0
mov byte [ebp - 4], 1
call fcn.0045d090
mov edi, eax
lea ecx, [ebp - 0x110]
push 0xa2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404840
mov esi, eax
push str.client_instance_init_failed
push esi
mov byte [ebp - 4], 2
call fcn.0040c3a0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.00405b20
lea ecx, [ebp - 0x30]
call fcn.004051b0
lea ecx, [ebp - 0x48]
call fcn.004051b0
xor al, al
jmp 0x480150
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 0x480122
call fcn.0045d090
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x480025
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.0040a6f0
push 3
push 0x4db970
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.0040a6f0
mov byte [ebp - 4], 4
call fcn.0045d090
mov edi, eax
lea ecx, [ebp - 0x1a8]
push 0xa9
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00404840
mov esi, eax
push str.bind_pipe_to_iocp_failed__last_err:
push esi
mov byte [ebp - 4], 5
call fcn.0040c3a0
add esp, 8
mov ecx, esi
push ebx
call fcn.004056f0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.00405b20
lea ecx, [ebp - 0x60]
call fcn.004051b0
lea ecx, [ebp - 0x78]
call fcn.004051b0
xor al, al
jmp 0x480150
push 0
push 0
push ebx
push 0x47fea0
push 0
push 0
call fcn.004a9f2d
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.0047e110
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.0045e450
mov esp, ebp
pop ebp
ret