Function at 0x4af8c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de95a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004af600
push 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
push str._uis_evt
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00406e80
mov dword [ebp - 4], 0
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.00554250
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004075e0
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
cmp ebx, dword [edi + 8]
je 0x4af97f
mov edx, dword [edi + 4]
lea ecx, [edi + 4]
call dword [edx + 4]
mov dword [edi + 8], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004075e0
mov ecx, dword [edi + 0x14]
xor edx, edx
mov eax, dword [ecx]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [eax + 8]
mov dword [ebp - 0x58], 0x13ba
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 3
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], dx
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 5
lea edx, [ebp - 0x58]
push edx
call eax
mov bl, al
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004075e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004075e0
test bl, bl
je 0x4afabd
mov ecx, dword [edi + 0x14]
xor edx, edx
mov eax, dword [ecx]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x58], 0x13b9
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 8
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], dx
mov byte [ebp - 4], 9
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xa
lea edx, [ebp - 0x58]
push edx
call dword [eax + 8]
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x3c]
call fcn.004075e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004075e0
jmp 0x4afb1c
push 8
call fcn.005904a9
mov esi, eax
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 4], 0xd
mov dword [esi], 0x4afca0
mov dword [esi + 4], edi
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push esi
push 0x4326a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x4afb0b
push 8
push esi
call fcn.00590478
add esp, 8
cmp ebx, dword [edi + 0x10]
je 0x4afb1c
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0xc]
call dword [eax + 4]
mov dword [edi + 0x10], ebx
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
ret