Function at 0x4c9fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df9b9
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
sub esp, 8
mov dword [ebp - 4], 1
mov ecx, esp
call fcn.004253e0
sub esp, 0x28
lea eax, [ebp + 0x234]
mov ecx, esp
push eax
call fcn.0047ab20
mov ecx, esi
call fcn.004cd310
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea edi, [esi + 0xa8]
call fcn.004253e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x274]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x278], eax
lea eax, [ebp + 0xc]
push eax
call fcn.0043b7f0
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x230]
mov dword [ebp - 0x50], eax
push 0
push 0x9c4
push 0
push 0xfa
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x24], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push esi
sub esp, 0x22c
mov byte [ebp - 4], 6
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x278]
mov dword [esi], eax
lea ecx, [esi + 4]
lea eax, [ebp - 0x274]
push eax
call fcn.0043b7f0
mov eax, dword [ebp - 0x54]
mov ecx, edi
mov dword [esi + 0x224], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x228], eax
mov byte [ebp - 4], 5
call fcn.0056e7f0
mov eax, dword [ebp - 0x58]
cmp eax, 7
jbe 0x4ca0e8
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x70]
push eax
call fcn.0043b8e0
add esp, 4
mov edi, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
test edi, edi
je 0x4ca138
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4ca138
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4ca138
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
add edi, 0xa8
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
lea edx, [edi + 0x23c]
call fcn.0056ec30
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x20]
cmp dword [esi + 4], 0
jne 0x4ca211
push dword [edi + 0x274]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 4
call fcn.0059a103
mov dword [ebp - 0x14], eax
mov dword [eax], edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
push ecx
push 0
push eax
push 0x571520
push 0
push 0
call fcn.005a9f2c
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x4ca2a9
mov byte [ebp - 4], 8
cmp dword [esi + 4], 0
jne 0x4ca2b7
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
mov dword [esi + 4], eax
lea eax, [edi + 0x21c]
mov dword [esi], ecx
cmp dword [eax + 0x14], 7
movlpd qword [ebp - 0x2c], xmm0
jbe 0x4ca1dc
mov eax, dword [eax]
push 0x1b
push str.registry_change_watcher:_
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x4c]
call fcn.00458dc0
add esp, 8
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 7
jbe 0x4ca200
mov eax, dword [eax]
mov ecx, dword [esi]
mov edx, eax
call fcn.00574800
lea ecx, [ebp - 0x4c]
call fcn.00428f30
cmp byte [ebp - 0x18], 0
je 0x4ca222
push dword [ebp - 0x1c]
call fcn.005997df
add esp, 4
mov eax, dword [ebp + 0x228]
cmp eax, 7
jbe 0x4ca242
mov edx, dword [ebp + 0x214]
lea ecx, [ebp + 0x210]
push eax
call fcn.0043b8e0
add esp, 4
mov edi, dword [ebp + 0x258]
xor eax, eax
mov dword [ebp + 0x224], 0
mov dword [ebp + 0x228], 7
mov word [ebp + 0x214], ax
test edi, edi
je 0x4ca289
mov esi, dword [edi]
lea eax, [ebp + 0x234]
cmp edi, eax
setne al
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx edx, al
push edx
call dword [0x5f3508]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x30]
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.00599e5b
mov esp, ebp
pop ebp
ret 0x254
push 6
mov dword [ebp - 0x28], 0
call fcn.00596d23
call fcn.005a5640
int3