Function at 0x11676c0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
cmp ebx, edi
je 0x1167abe
mov eax, dword [ebx + 4]
push eax
call fcn.01165cc0
cmp dword [esi + 8], edi
je 0x1167733
mov ecx, dword [ebx]
push 1
add ecx, 0x13324
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push ebx
call fcn.01129fc0
test eax, eax
je 0x1167abe
push ebx
call fcn.0112cd60
test eax, eax
je 0x1167abe
mov eax, dword [ebx]
lea edx, [eax + 0x1332c]
push edx
push eax
call fcn.01121140
mov dword [ebp - 0xc], 1
jmp 0x11677a3
push ebx
call fcn.0112cd10
test eax, eax
je 0x1167abe
push ebx
call fcn.010fd610
test eax, eax
je 0x1167abe
mov eax, dword [ebx]
mov ecx, dword [eax + 0x35b0]
push 0x14
push 0x1023bb4
add ecx, 0x1cc
push ecx
call fcn.0102c460
mov edx, dword [ebx]
mov eax, dword [edx + 0x35b0]
push eax
push ebx
call fcn.0109f500
mov eax, dword [ebx]
mov ecx, dword [eax + 0x35b0]
push ecx
push eax
call fcn.010dba60
mov edx, dword [ebx]
mov dword [edx + 0x13324], 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x35b0]
and dword [eax + 0x228], 0xffffffef
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x2b0]
mov dword [ebp - 4], ecx
call edx
mov dword [ebp - 8], eax
cmp dword [esi + 0x8be8], edi
je 0x11677ca
cmp dword [esi + 0x8bf8], edi
jne 0x11678f1
lea eax, [esi + 0x8d94]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp dword [esi + 0x8bf8], edi
jne 0x11677eb
push esi
call fcn.010f2ae0
test eax, eax
je 0x1167840
cmp dword [esi + 0x8be8], edi
jne 0x11678f1
push esi
call fcn.011177b0
mov eax, dword [ebp - 4]
push eax
push esi
call fcn.011605c0
mov edi, eax
cmp edi, 1
jne 0x116781f
push 0
lea eax, [esi + 0x8d94]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jmp 0x1167837
mov ecx, dword [esi]
push ecx
call fcn.01129220
test eax, eax
je 0x1167837
mov edx, dword [ebp - 4]
push edx
push esi
call fcn.011605c0
mov edi, eax
cmp edi, 1
je 0x11678f1
cmp dword [esi + 0x8da0], 0
jne 0x11678f1
mov ecx, dword [esi + 0x1465c]
mov eax, dword [ebp - 8]
add ecx, 0x927c0
cmp eax, ecx
jbe 0x1167896
mov dword [esi + 0x1465c], eax
mov eax, 1
mov dword [esi + 0x14658], eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1167896
push esi
call fcn.011177b0
mov edx, dword [ebp - 4]
push edx
push esi
call fcn.011605c0
dec dword [ebp - 8]
mov edi, eax
cmp edi, 1
jne 0x1167874
jmp 0x11678f1
cmp edi, 1
je 0x11678f1
mov eax, dword [esi + 0x35b0]
test eax, eax
je 0x11678ba
test dword [eax + 0x138], 0x20000000
jne 0x11678f1
cmp dword [eax + 0x270], 0
jne 0x11678f1
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, 0x927c0
ja 0x11678d0
cmp dword [esi + 0x1e048], 0
jne 0x11678dc
mov eax, dword [ebp - 4]
push eax
push esi
call fcn.01160bc0
mov edi, eax
cmp edi, 1
je 0x11678f1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push 6
push 0
push 0
push eax
push esi
call ecx
push 1
add esi, 0x8bec
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov edi, dword [ebp + 8]
cmp dword [edi + 8], 0
jne 0x1167935
mov edx, dword [edi + 0x30968]
mov eax, dword [edx + 0x2b594]
cmp dword [eax + 0x440], 0
jne 0x1167935
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x35b0]
cmp dword [edx + 0x924], 0
je 0x1167935
push edi
call fcn.011160d0
mov eax, dword [ebx]
push 0
push 0
push eax
call fcn.0110ab90
mov esi, eax
test esi, esi
je 0x1167a93
push 2
mov dword [edi + 0x3095c], esi
push 0
push esi
mov dword [esi + 0x494], edi
mov dword [esi + 0x490], 0x107f9e0
mov dword [esi + 0x434], 1
call fcn.01042150
lea ecx, [ebp - 8]
push ecx
push 0
push esi
push 0x115b6e0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
je 0x1167a06
cmp edi, 0xffffffff
je 0x1167a06
mov ebx, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0x4e20
push edi
call ebx
cmp eax, 0x102
jne 0x11679fc
push 1
lea edx, [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 0x9c40
push edi
call ebx
cmp eax, 0x102
jne 0x11679fc
push 0x7530
push edi
mov dword [esi + 0x440], 1
call ebx
cmp eax, 0x102
jne 0x11679fc
cmp dword [esi + 0xa0], 0
je 0x11679f0
push 0x7530
push edi
call ebx
push 0xffffffffffffffff
push edi
mov dword [esi + 0x10], 1
call ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, dword [ebp - 0x10]
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [esi + 0x49c]
mov edi, dword [ebp + 8]
mov dword [edi + 0x30398], eax
mov ecx, dword [esi + 0x480]
mov dword [edi + 0x3039c], ecx
mov edx, dword [esi + 0x484]
mov dword [edi + 0x303a0], edx
mov eax, dword [esi + 0x410]
mov dword [edi + 0x30428], eax
mov ecx, dword [esi + 0xb4]
push 1
lea edx, [edi + 0x30960]
mov dword [edi + 0x3042c], ecx
push edx
mov dword [esi + 0x49c], 0
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp dword [edi + 0x30964], 0
je 0x1167a83
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [edi + 0x30964], 0
jne 0x1167a72
push esi
call fcn.0108a5f0
mov dword [edi + 0x3095c], 0
cmp dword [ebp - 0xc], 0
je 0x1167abe
push 0
push ebx
call fcn.0109aed0
mov eax, dword [ebx]
mov dword [eax + 0x35b0], 0
mov ebx, dword [ebx]
mov ecx, dword [ebx + 0x3598]
push 0
push ecx
push ebx
call fcn.0109a940
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4