Function at 0x485dd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0066
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x513624]
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 0x48605e
mov eax, dword [ebx + 4]
test eax, eax
je 0x485e1f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], 0
cmp dword [ebx + 0x20098], 8
lea edx, [ebx + 0x20084]
jb 0x485e30
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 0x485e50
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0040b910
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x485f3c
call fcn.00462c60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x485f35
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.0040b810
push 3
push 0x4e2990
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.0040b810
mov byte [ebp - 4], 1
call fcn.00462c60
mov edi, eax
lea ecx, [ebp - 0x110]
push 0xa2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404a90
mov esi, eax
push str.client_instance_init_failed
push esi
mov byte [ebp - 4], 2
call fcn.0040d6b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.00405f10
lea ecx, [ebp - 0x30]
call fcn.00405400
lea ecx, [ebp - 0x48]
call fcn.00405400
xor al, al
jmp 0x486060
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 0x486032
call fcn.00462c60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x485f35
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.0040b810
push 3
push 0x4e2990
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.0040b810
mov byte [ebp - 4], 4
call fcn.00462c60
mov edi, eax
lea ecx, [ebp - 0x1a8]
push 0xa9
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00404a90
mov esi, eax
push str.bind_pipe_to_iocp_failed__last_err:
push esi
mov byte [ebp - 4], 5
call fcn.0040d6b0
add esp, 8
mov ecx, esi
push ebx
call fcn.00405940
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.00405f10
lea ecx, [ebp - 0x60]
call fcn.00405400
lea ecx, [ebp - 0x78]
call fcn.00405400
xor al, al
jmp 0x486060
push 0
push 0
push ebx
push 0x485db0
push 0
push 0
call fcn.004afe3d
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.00483e70
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.00464020
mov esp, ebp
pop ebp
ret