Function at 0x6b90f0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
call fcn.006b9bd0
mov eax, dword [0x6b22e0]
xor ebx, ebx
cmp eax, ebx
je 0x6b9173
mov edx, dword [0x6a5a74]
mov eax, dword [0x6b447c]
push 4
push ebx
push 0x6b22b4
push 0x6b22b0
inc edx
push 0x60000
push 0x6b22f4
mov dword [0x6b2790], ebx
mov dword [0x6a5a74], edx
mov dword [0x6b22b0], eax
mov dword [0x6b22b4], ebx
call fcn.006bb3c0
mov esi, eax
cmp si, bx
jne 0x6b915c
mov ecx, dword [0x6b22b4]
mov eax, dword [0x6b447c]
xor ecx, eax
je 0x6b940b
mov al, byte [0x6a507a]
cmp al, 0x31
jne 0x6b93a2
mov esi, 3
jmp 0x6b93ac
mov eax, dword [0x6a5a74]
mov ecx, dword [0x6a5a70]
mov edi, 1
cmp eax, ecx
mov dword [0x6b2790], edi
je 0x6b9275
cmp dword [0x6a5a78], ebx
jne 0x6b9275
mov esi, dword [0x6a5a74]
mov ecx, dword [0x6b447c]
push 4
push ebx
push 0x6b22b4
push 0x6b22b0
inc esi
push 0x60000
push 0x6b22f4
mov dword [0x6a5a74], esi
mov dword [0x6b22b0], ecx
mov dword [0x6b22b4], ebx
call fcn.006bb3c0
mov esi, eax
cmp si, bx
jne 0x6b91f2
mov edx, dword [0x6b22b4]
mov eax, dword [0x6b447c]
xor edx, eax
je 0x6b940b
mov al, byte [0x6a507a]
cmp al, 0x31
jne 0x6b9202
mov esi, 3
jmp 0x6b920c
cmp al, 0x32
je 0x6b920a
cmp al, 0x33
jne 0x6b920c
xor esi, esi
mov ecx, dword [0x6b20bc]
mov dword [0x6a5a78], edi
cmp ecx, ebx
jne 0x6b940b
cmp al, 0x32
je 0x6b922c
cmp al, 0x33
jne 0x6b940b
mov eax, dword [0x6b22e4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2010
mov dword [0x6b22bc], 0xc
call fcn.006b8070
push eax
call fcn.006b9bb0
mov ecx, dword [0x6b22e4]
add esp, 8
mov dword [0x6b22bc], ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x6b20bc], edi
mov ax, si
pop edi
pop esi
pop ebx
ret
push ebx
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 5
push 4
idiv ecx
mov eax, dword [0x6b447c]
mov ecx, dword [0x6a2fb8]
and eax, 0x1f3
push ebx
mov dword [0x6b22c0], eax
push 0x6b22b4
push 0x6b22b0
mov dword [0x6a5a74], edi
mov dword [0x6b22b4], ebx
inc edx
mov dword [0x6a5a70], edx
mov edx, dword [eax*4 + 0x6a2010]
mov ax, word [0x6a200a]
xor edx, 0xfd0699d6
push eax
push ecx
push 0x6b22f4
mov dword [0x6b22b0], edx
call fcn.006bb420
mov esi, eax
cmp si, bx
jne 0x6b931e
mov edx, dword [0x6b22c0]
mov eax, dword [edx*4 + 0x6a27e0]
mov edx, dword [0x6b22b4]
xor eax, edx
xor eax, 0x7b2309a7
jne 0x6b931e
mov ax, si
pop edi
mov dword [0x6a5a78], ebx
pop esi
pop ebx
ret
mov al, byte [0x6a507a]
cmp al, 0x31
jne 0x6b932e
mov esi, 3
jmp 0x6b9338
cmp al, 0x32
je 0x6b9336
cmp al, 0x33
jne 0x6b9338
xor esi, esi
mov ecx, dword [0x6b20bc]
mov dword [0x6a5a78], edi
cmp ecx, ebx
jne 0x6b940b
cmp al, 0x32
je 0x6b9358
cmp al, 0x33
jne 0x6b940b
mov ecx, dword [0x6b22e4]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2010
mov dword [0x6b22bc], 0xc
call fcn.006b8070
push eax
call fcn.006b9bb0
mov edx, dword [0x6b22e4]
add esp, 8
mov dword [0x6b22bc], ebx
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x6b20bc], edi
mov ax, si
pop edi
pop esi
pop ebx
ret
cmp al, 0x32
je 0x6b93aa
cmp al, 0x33
jne 0x6b93ac
xor esi, esi
mov ecx, dword [0x6b20bc]
mov edi, 1
cmp ecx, ebx
mov dword [0x6a5a78], edi
jne 0x6b940b
cmp al, 0x32
je 0x6b93c9
cmp al, 0x33
jne 0x6b940b
mov edx, dword [0x6b22e4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2010
mov dword [0x6b22bc], 0xc
call fcn.006b8070
push eax
call fcn.006b9bb0
mov eax, dword [0x6b22e4]
add esp, 8
mov dword [0x6b22bc], ebx
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x6b20bc], edi
mov ax, si
pop edi
pop esi
pop ebx
ret