Function at 0x77c9cca5
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x18]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
push esi
mov dword [eax], ebx
mov esi, dword [0x77d1e338]
push edi
mov dword [ebp - 4], ebx
cmp esi, 0x77d1e338
je 0x77c9cdae
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea ebx, [esi - 0xc]
mov edi, dword [ebx + 0x28]
lea eax, [ebx + 0x14]
push eax
and edi, 1
call dword [sym.imp.RPCRT4.dll_UuidEqual]
test eax, eax
je 0x77cd8cc1
xor eax, eax
inc eax
cmp dword [ebp + 0x10], eax
je 0x77cd8cd4
test edi, edi
je 0x77cd8d1e
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14
cmp dword [ebp + 0x10], 0
jne 0x77c9cdc9
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.RPCRT4.dll_UuidIsNil]
test eax, eax
je 0x77cd8cc8
push 0x34
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x77cd8d10
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [ebp + 0x18], eax
je 0x77cd8d28
mov esi, dword [ebp + 8]
mov dword [ebx], 0x74736c6e
lea edi, [ebx + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 4]
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea esi, [ebx + 0xc]
mov dword [esi + 4], esi
mov dword [esi], esi
call dword [sym.imp.RPCRT4.dll_UuidIsNil]
test eax, eax
je 0x77cd8d33
or dword [ebx + 0x28], 1
mov eax, dword [0x77d1e33c]
mov dword [esi + 4], eax
mov dword [esi], 0x77d1e338
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [0x77d1e33c], esi
mov dword [eax], ebx
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x2c], eax
jmp 0x77c9cd0b
mov esi, dword [esi]
jmp 0x77c9ccc4
mov dword [ebp - 4], 0x4d3
jmp 0x77cd8da7
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
lea esi, [ebx + 0x30]
push eax
jmp 0x77cd8cf1
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 1
push esi
call edi
cmp eax, 1
je 0x77cd8ce2
mov ecx, dword [ebx + 0x10]
add ebx, 0xc
mov eax, dword [ebx]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov dword [ebx + 4], ebx
mov dword [ebx], ebx
jmp 0x77c9cdc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x77cd8d9e
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x77c9cd06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x77cd8d8e
lea eax, [ebx + 0x24]
push eax
xor edi, edi
push edi
push dword [ebp + 0xc]
push 0x77d083f8
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x77cd8d5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x77cd8d80
mov eax, dword [0x77d1e33c]
mov dword [esi + 4], eax
mov dword [esi], 0x77d1e338
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [0x77d1e33c], esi
mov dword [eax], ebx
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x2c], eax
mov dword [ebp + 0x18], edi
cmp dword [ebp + 8], edi
je 0x77cd8d8e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebp + 0x18], esi
je 0x77cd8d9e
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], esi
je 0x77c9cd0b
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x77c9cd0b