Function at 0x719df5a2
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x25c
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
add eax, dword [ebp + 0x1c]
push ebx
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp + 0x18]
shr eax, 1
push esi
and eax, 1
push edi
mov edi, dword [0x719f8658]
mov dword [ebp - 0x18], eax
jmp 0x719dfab0
push edi
push dword [ebp + 8]
call fcn.719e4c4d
test eax, eax
je 0x719dfaab
mov eax, dword [ebp - 0x14]
and dword [ebp - 4], 0
mov ebx, dword [eax + 0x18]
lea esi, [ebp - 0x25c]
push edi
push dword [ebp + 8]
call fcn.719e4c4d
test eax, eax
je 0x719df613
inc dword [ebp - 4]
mov dword [esi], edi
add esi, 0x34
cmp ebx, 0x3e7
jbe 0x719df637
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, 0x719f8658
je 0x719df637
cmp dword [eax + 0x18], ebx
jne 0x719df637
cmp dword [ebp - 4], 0xa
mov edi, eax
mov dword [ebp - 0x14], eax
jb 0x719df5fe
cmp dword [ebp - 4], 1
jne 0x719df71e
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
sub eax, dword [ebp - 0xc]
mov ecx, 0x400
cmp eax, ecx
mov dword [ebp - 0x1c], eax
jg 0x719df658
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x1c]
push 0
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
mov edi, eax
test edi, edi
je 0x719dfad6
mov eax, dword [ebp + 0x28]
test eax, eax
mov ebx, dword [ebp - 0x10]
je 0x719df693
mov eax, dword [eax]
cmp ebx, eax
jbe 0x719df689
and dword [ebp - 0x20], 0
jmp 0x719df68e
sub eax, ebx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
jmp 0x719df695
xor eax, eax
push 0
push eax
mov eax, dword [ebp + 0x24]
add eax, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x25c]
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jle 0x719df6e7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
mov eax, dword [ebp + 0x20]
push dword [eax]
push dword [ebp + 0x1c]
push esi
push edi
call fcn.719df4df
add dword [ebp - 8], esi
cmp dword [ebp + 0x28], 0
je 0x719df6e7
add ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ebx
push edi
push 0
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
test esi, esi
jle 0x719dfaab
cmp dword [ebp - 0x18], 0
jne 0x719dfaab
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x20]
cmp eax, dword [ecx]
ja 0x719dfac9
mov dword [ebp - 8], esi
jmp 0x719dfaf7
xor edi, edi
cmp dword [ebp - 4], edi
jbe 0x719df905
lea esi, [ebp - 0x230]
xor ebx, ebx
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
sub eax, dword [ebp - 0xc]
push eax
push ebx
push dword [0x719f71dc]
mov dword [esi - 8], eax
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, ebx
mov dword [esi - 0xc], eax
je 0x719dface
cmp dword [ebp + 0x24], ebx
je 0x719df803
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x719df803
mov eax, dword [eax]
push eax
push ebx
push dword [0x719f71dc]
mov dword [esi], eax
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, ebx
mov dword [esi - 4], eax
jne 0x719df808
mov eax, edi
imul eax, eax, 0x34
push 8
pop ebx
push dword [ebp + eax - 0x23c]
push 0
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
test edi, edi
jbe 0x719dfaf3
mov dword [ebp + 0x28], edi
mov edi, dword [sym.imp._CKERNEL.DLL_CloseHandle]
lea esi, [ebp - 0x234]
push dword [esi - 8]
push 0
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
mov eax, dword [esi]
test eax, eax
je 0x719df7e0
push eax
push 0
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
push dword [esi + 8]
call edi
push 0
push dword [esi - 0x24]
call dword [sym.imp._CKERNEL.DLL_TerminateThread]
push dword [esi - 0x24]
call edi
add esi, 0x34
dec dword [ebp + 0x28]
je 0x719dfaf3
jmp 0x719df7ba
mov dword [esi], ebx
mov dword [esi - 4], ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp._CKERNEL.DLL_CreateEventW]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x719df869
mov eax, dword [ebp + 0xc]
mov dword [esi - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esi - 0x10], eax
lea eax, [esi - 0x24]
push eax
push 4
lea eax, [esi - 0x2c]
push eax
push 0x719df490
push ebx
push ebx
mov dword [esi - 0x20], ebx
call dword [sym.imp._CKERNEL.DLL_CreateThread]
cmp eax, ebx
mov dword [esi - 0x28], eax
je 0x719df8a2
mov dword [ebp + edi*4 - 0x54], eax
inc edi
add esi, 0x34
cmp edi, dword [ebp - 4]
jae 0x719df8ee
jmp 0x719df731
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov esi, edi
imul esi, esi, 0x34
push dword [ebp + esi - 0x23c]
mov ebx, eax
push 0
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
push dword [ebp + esi - 0x234]
push 0
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
jmp 0x719df8e6
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov esi, edi
imul esi, esi, 0x34
push dword [ebp + esi - 0x23c]
mov ebx, eax
push 0
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
push dword [ebp + esi - 0x234]
push 0
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
push dword [ebp + esi - 0x22c]
call dword [sym.imp._CKERNEL.DLL_CloseHandle]
test ebx, ebx
jne 0x719df7a3
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x258]
push dword [esi]
call dword [sym.imp._CKERNEL.DLL_ResumeThread]
add esi, 0x34
dec edi
jne 0x719df8f7
mov ebx, dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp - 0x18]
lea eax, [ebp - 0x54]
push eax
push ebx
call dword [sym.imp._CKERNEL.DLL_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x719dfadb
xor esi, esi
cmp dword [ebp - 4], esi
jbe 0x719df944
mov edx, dword [ebp + eax*4 - 0x54]
lea ecx, [ebp - 0x258]
cmp dword [ecx], edx
je 0x719df941
inc esi
add ecx, 0x34
cmp esi, dword [ebp - 4]
jae 0x719df944
jmp 0x719df932
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x18], 0
jne 0x719df9a7
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x34
cmp dword [ebp + ecx - 0x250], 0
jg 0x719df971
dec ebx
cmp eax, ebx
jae 0x719df96d
mov ecx, ebx
lea edi, [ebp + eax*4 - 0x54]
lea esi, [ebp + eax*4 - 0x50]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
test ebx, ebx
ja 0x719df908
xor edi, edi
cmp dword [ebp - 4], edi
jbe 0x719df996
lea esi, [ebp - 0x258]
push dword [esi + 0x2c]
call dword [sym.imp._CKERNEL.DLL_SetEvent]
mov eax, dword [esi]
mov dword [ebp + edi*4 - 0x54], eax
inc edi
add esi, 0x34
cmp edi, dword [ebp - 4]
jb 0x719df97e
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 4]
call dword [sym.imp._CKERNEL.DLL_WaitForMultipleObjects]
mov edi, dword [ebp + 0x24]
and dword [ebp - 0x10], 0
test edi, edi
je 0x719df9b6
and word [edi], 0
mov eax, dword [ebp - 4]
test eax, eax
jbe 0x719dfa86
lea esi, [ebp - 0x250]
mov dword [ebp - 4], eax
mov eax, dword [esi]
test eax, eax
jle 0x719dfa45
mov ebx, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
push ebx
push dword [ecx]
push dword [ebp + 0x1c]
push eax
push dword [esi + 0x14]
call fcn.719df4df
add ebx, dword [esi]
test edi, edi
mov dword [ebp - 8], ebx
je 0x719dfa42
cmp dword [ebp + 0x28], 0
je 0x719dfa42
mov ebx, dword [esi + 0x1c]
jmp 0x719dfa3c
push ebx
call dword [sym.imp._Cmvrt.DLL_wcslen]
lea edi, [eax + eax + 2]
mov eax, dword [ebp - 0x10]
pop ecx
mov ecx, dword [ebp + 0x28]
add eax, edi
cmp eax, dword [ecx]
mov dword [ebp - 0x2c], eax
ja 0x719dfa42
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x24]
shr eax, 1
lea eax, [ecx + eax*2]
push ebx
push eax
call dword [sym.imp._Cmvrt.DLL_wcscat]
mov eax, dword [ebp - 0x2c]
pop ecx
shr edi, 1
pop ecx
mov dword [ebp - 0x10], eax
lea ebx, [ebx + edi*2]
cmp word [ebx], 0
jne 0x719dfa01
mov edi, dword [ebp + 0x24]
push dword [esi + 0x24]
mov ebx, dword [sym.imp._CKERNEL.DLL_CloseHandle]
call ebx
push dword [esi - 8]
call ebx
push dword [esi + 0x14]
mov ebx, dword [sym.imp._Cntl.DLL_RtlFreeHeap]
push 0
push dword [0x719f71dc]
call ebx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x719dfa7a
push eax
push 0
push dword [0x719f71dc]
call ebx
add esi, 0x34
dec dword [ebp - 4]
jne 0x719df9ca
test edi, edi
je 0x719dfa9f
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x719dfa9f
mov ecx, dword [ebp - 0x10]
mov edx, ecx
shr edx, 1
and word [edi + edx*2], 0
mov dword [eax], ecx
cmp dword [ebp - 8], 0
jbe 0x719dfaab
cmp dword [ebp - 0x18], 0
je 0x719dfae5
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
cmp edi, 0x719f8658
mov dword [ebp - 0x14], edi
jne 0x719df5dd
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x20]
cmp eax, dword [ecx]
jbe 0x719dfaf1
push 0x7a
pop ebx
jmp 0x719dfb06
push 8
pop ebx
jmp 0x719df7a3
push 8
pop ebx
jmp 0x719dfb0e
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov ebx, eax
jmp 0x719dfaf3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x20]
cmp eax, dword [ecx]
ja 0x719dfac9
jmp 0x719dfaf7
xor ebx, ebx
test ebx, ebx
jne 0x719dfb01
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
jmp 0x719dfb19
cmp ebx, 0x7a
jne 0x719dfb0e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
push ebx
call dword [sym.imp._CKERNEL.DLL_SetLastError]
or dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x24