Function at 0x10047680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5d03
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x1011449c]
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 0x100476f7
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.100806a5
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x100477c1
mov ecx, edi
call fcn.100479d0
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.10049bf0
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.100324c0
push 0
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x100477a7
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 0x100477c3
xor esi, esi
mov byte [ebp - 4], 1
test esi, esi
je 0x10047940
cmp dword [esi + 0x40], 0
jne 0x10047828
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 0x1004780e
push 0
push 0
push esi
push 0x10049a00
push 0
push 0
call fcn.100aab67
add esp, 0x18
mov dword [esi + 0x48], eax
test eax, eax
jne 0x10047828
mov ecx, esi
call fcn.10047d20
push 0x80
push esi
call fcn.10080302
add esp, 8
jmp 0x10047940
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], esi
mov ecx, dword [eax + 4]
cmp dword [eax + 8], ecx
je 0x1004783e
mov dword [ecx], esi
add dword [eax + 4], 4
jmp 0x1004784a
lea edx, [ebp - 0x44]
push edx
push ecx
mov ecx, eax
call fcn.100472b0
call fcn.1005f9c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10047940
push 0x6b
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145_bro_mon_filemonitor.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.100058c0
push 3
push 0x100e21cc
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.100058c0
mov byte [ebp - 4], 7
call fcn.1005f9c0
push str.Start_Listen_Process.
mov edi, eax
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.1005f5e0
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.10008480
mov esi, eax
mov eax, dword [ebp - 0x44]
mov ecx, 0x100e1fb4
test eax, eax
mov byte [ebp - 4], 9
cmovne ecx, eax
push ecx
push esi
call fcn.10006ea0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.10009f10
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 0x10047930
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.10003f50
lea ecx, [ebp - 0x40]
call fcn.10003f50
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.10080681
mov esp, ebp
pop ebp
ret