Function at 0x10046350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d27c3
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x1010f404]
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 0x100463c7
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.1007d4b8
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x10046491
mov ecx, edi
call fcn.100466a0
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.100488c0
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.100318c0
push 0
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x10046477
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 0x10046493
xor esi, esi
mov byte [ebp - 4], 1
test esi, esi
je 0x10046610
cmp dword [esi + 0x40], 0
jne 0x100464f8
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 0x100464de
push 0
push 0
push esi
push 0x100486d0
push 0
push 0
call fcn.100a7907
add esp, 0x18
mov dword [esi + 0x48], eax
test eax, eax
jne 0x100464f8
mov ecx, esi
call fcn.100469f0
push 0x80
push esi
call fcn.1007d115
add esp, 8
jmp 0x10046610
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], esi
mov ecx, dword [eax + 4]
cmp dword [eax + 8], ecx
je 0x1004650e
mov dword [ecx], esi
add dword [eax + 4], 4
jmp 0x1004651a
lea edx, [ebp - 0x44]
push edx
push ecx
mov ecx, eax
call fcn.10045f80
call fcn.1005e780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10046610
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.100057a0
push 3
push 0x100de1bc
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.100057a0
mov byte [ebp - 4], 7
call fcn.1005e780
push str.Start_Listen_Process.
mov edi, eax
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.1005e3a0
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.10008360
mov esi, eax
mov eax, dword [ebp - 0x44]
mov ecx, 0x100ddfb4
test eax, eax
mov byte [ebp - 4], 9
cmovne ecx, eax
push ecx
push esi
call fcn.10006d80
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.10009f30
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 0x10046600
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.10003e30
lea ecx, [ebp - 0x40]
call fcn.10003e30
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.1007d494
mov esp, ebp
pop ebp
ret