Function at 0x5534e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], 0xcf4cd4
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 0xc], eax
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp ecx, eax
jge 0x553686
mov edx, dword [ebp - 4]
inc edx
imul ecx, dword [ebp - 4], 0xd
mov eax, dword [ebp - 0xc]
mov dword [eax + ecx*4], edx
imul edx, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [ecx + edx*4 + 4], eax
imul edx, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [ecx + edx*4 + 0xc], eax
push 0
push 0
push 1
push 0
call sub.KERNEL32.DLL_CreateEventA
imul edx, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
mov dword [ecx + edx*4 + 0x10], eax
imul eax, dword [ebp - 4], 0xd
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [edx + eax*4 + 0x14], ecx
imul eax, dword [ebp - 4], 0xd
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + eax*4 + 0x10]
test ecx, ecx
je 0x553686
imul eax, dword [ebp - 4], 0xd
mov edx, dword [ebp - 0xc]
push dword [edx + eax*4 + 0x10]
call sub.KERNEL32.DLL_ResetEvent
push 0
push 0
push 1
push 0
call sub.KERNEL32.DLL_CreateEventA
imul ecx, dword [ebp - 4], 0xd
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x14], eax
imul eax, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4 + 0x14]
test eax, eax
je 0x553686
imul edx, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
push dword [ecx + edx*4 + 0x14]
call sub.KERNEL32.DLL_ResetEvent
imul eax, dword [ebp - 4], 0xd
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [edx + eax*4 + 0x30], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [eax + edx*4 + 8], ecx
push dword [0xcf4eed]
call fcn.0066c62c
pop ecx
imul edx, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
mov dword [ecx + edx*4 + 0x1c], eax
imul eax, dword [ebp - 4], 0xd
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + eax*4 + 0x1c]
test eax, eax
je 0x553686
imul ecx, dword [ebp - 4], 0xd
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + ecx*4 + 0x28], edx
imul eax, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
mov dword [ecx + eax*4 + 0x24], edx
mov eax, dword [0x819be4]
test eax, eax
je 0x553675
mov edx, dword [0xcf4eed]
add edx, edx
push edx
call fcn.0066c62c
pop ecx
imul ecx, dword [ebp - 4], 0xd
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x24], eax
imul eax, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4 + 0x24]
test eax, eax
je 0x553686
mov edx, dword [0x819be4]
cmp edx, 6
jne 0x553675
mov ecx, dword [0xcf4eed]
add ecx, ecx
push ecx
call fcn.0066c62c
pop ecx
imul edx, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
mov dword [ecx + edx*4 + 0x28], eax
imul eax, dword [ebp - 4], 0xd
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + eax*4 + 0x28]
test eax, eax
je 0x553686
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp ecx, eax
jl 0x553509
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp edx, ecx
jge 0x5536a0
push dword [ebp - 4]
call fcn.0055334c
pop ecx
xor eax, eax
jmp 0x553782
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp ecx, eax
jge 0x5536fa
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push dword [edx + ecx*4 + 8]
push 0
imul eax, dword [ebp - 4], 0x34
mov edx, dword [ebp - 0xc]
add eax, edx
push eax
push 0x551bcd
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
imul ecx, dword [ebp - 4], 0xd
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x30], eax
imul eax, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4 + 0x30]
test eax, eax
je 0x5536fa
inc dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp edx, ecx
jl 0x5536af
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp eax, edx
je 0x553711
push dword [ebp + 8]
call fcn.0055334c
pop ecx
xor eax, eax
jmp 0x553782
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp ecx, eax
jge 0x553745
imul edx, dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + edx*4 + 0x14]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [edx + ecx*4 + 0x1c8], eax
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp eax, edx
jl 0x553720
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ecx + 0x1ec], eax
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [edx + 0x1f0], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [eax + 0x1e8], edx
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ecx + 0x1f4], eax
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [edx + 0x1f8], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret