Function at 0x10040fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca983
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x101063e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea esi, [eax + 0xc]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], esi
push 0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x10041047
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [ebp - 0x5c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x58], 1
push 0x80
mov byte [ebp - 4], 1
call fcn.10075b85
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x10041111
mov ecx, edi
call fcn.10041320
lea esi, [edi + 0x4c]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x50], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10043530
mov dword [esi], eax
mov esi, dword [ebp - 0x44]
add edi, 0x54
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
add esi, 0x78
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [ebp - 0x50], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1002e3e0
push 0
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x100410f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x44]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
jmp 0x10041113
xor esi, esi
mov byte [ebp - 4], 1
test esi, esi
je 0x10041290
cmp dword [esi + 0x40], 0
jne 0x10041178
push 0
push 0
push 1
push 0
mov dword [esi + 0x40], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x1004115e
push 0
push 0
push esi
push 0x10043340
push 0
push 0
call fcn.100a0087
add esp, 0x18
mov dword [esi + 0x48], eax
test eax, eax
jne 0x10041178
mov ecx, esi
call fcn.10041670
push 0x80
push esi
call fcn.100757e2
add esp, 8
jmp 0x10041290
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], esi
mov ecx, dword [eax + 4]
cmp dword [eax + 8], ecx
je 0x1004118e
mov dword [ecx], esi
add dword [eax + 4], 4
jmp 0x1004119a
lea edx, [ebp - 0x44]
push edx
push ecx
mov ecx, eax
call fcn.10040c00
call fcn.10057ca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10041290
push 0x6b
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145monitor_filemonitor.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.100056d0
push 3
push 0x100d61c4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100056d0
mov byte [ebp - 4], 7
call fcn.10057ca0
push str.Start_Listen_Process.
mov edi, eax
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.10057a70
add esp, 0xc
push 0x39c
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf4]
call fcn.10008240
mov esi, eax
mov eax, dword [ebp - 0x44]
mov ecx, 0x100d5f94
test eax, eax
mov byte [ebp - 4], 9
cmovne ecx, eax
push ecx
push esi
call fcn.10006cb0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.10009a50
mov edx, dword [ebp - 0x44]
or eax, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10041280
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.10003d60
lea ecx, [ebp - 0x40]
call fcn.10003d60
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10075b61
mov esp, ebp
pop ebp
ret