Function at 0x5530c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], 0xce7300
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 0x55326a
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 0x55326a
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 0x55326a
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 [0xce7519]
call fcn.0066c210
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 0x55326a
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 [0x80c210]
test eax, eax
je 0x553259
mov edx, dword [0xce7519]
add edx, edx
push edx
call fcn.0066c210
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 0x55326a
mov edx, dword [0x80c210]
cmp edx, 6
jne 0x553259
mov ecx, dword [0xce7519]
add ecx, ecx
push ecx
call fcn.0066c210
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 0x55326a
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp ecx, eax
jl 0x5530ed
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp edx, ecx
jge 0x553284
push dword [ebp - 4]
call fcn.00552f30
pop ecx
xor eax, eax
jmp 0x553366
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp ecx, eax
jge 0x5532de
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 0x5517b1
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 0x5532de
inc dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp edx, ecx
jl 0x553293
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp eax, edx
je 0x5532f5
push dword [ebp + 8]
call fcn.00552f30
pop ecx
xor eax, eax
jmp 0x553366
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp ecx, eax
jge 0x553329
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 0x553304
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