Function at 0x1002f07b
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xc
mov eax, 0x10084326
call fcn.1006a09e
cmp byte [0x100b4082], 0
jne 0x1002f095
call fcn.1002ed82
cmp byte [edi + 0x24], 0
je 0x1002f0ad
mov esi, edi
call fcn.1002f7aa
push 0xffffffffffffffff
push dword [edi + 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x1002f0b9
mov dword [edi + 0xc], eax
mov esi, 0x1000
cmp dword [edi + 0x28], esi
jae 0x1002f0de
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x1002f0d1
push eax
call fcn.1006004e
pop ecx
push esi
call fcn.1006074f
pop ecx
mov dword [edi + 0x60], eax
mov dword [edi + 0x28], esi
mov byte [edi + 0x24], 1
mov dword [edi + 0x2c], ebx
call fcn.10045100
push 0x1002eed3
mov esi, eax
push 0x4e2b
push esi
call fcn.10045132
add esp, 0xc
push edi
push 0x2711
push esi
call fcn.10045132
add esp, 0xc
cmp dword [ebp + 0x14], ebx
je 0x1002f121
push dword [ebp + 0x14]
push 0x4e
push esi
call fcn.10045132
add esp, 0xc
push 0x1002ee32
push 0x4e58
push esi
call fcn.10045132
add esp, 0xc
push edi
push 0x2749
push esi
call fcn.10045132
add esp, 0xc
push ebx
push 0x2b
push esi
call fcn.10045132
add esp, 0xc
push edi
push 0x272d
push esi
call fcn.10045132
add esp, 0xc
push 0x1002ef63
push 0x4e6f
push esi
call fcn.10045132
add esp, 0xc
push 1
push 0x34
push esi
call fcn.10045132
add esp, 0xc
mov dword [ebp + 0x14], ebx
cmp byte [ebp + 8], bl
je 0x1002f1ae
push str.Cache_Control:_no_cache
push ebx
call fcn.1004525a
push str.Pragma:_no_cache
push eax
call fcn.1004525a
push eax
push 0x2727
push esi
mov dword [ebp + 0x14], eax
call fcn.10045132
add esp, 0x1c
push dword [ebp + 0xc]
mov ecx, 0x100b41b8
call fcn.1002fc28
cmp eax, ebx
je 0x1002f1ce
push eax
push 0x2714
push esi
call fcn.10045132
add esp, 0xc
push dword [ebp + 0xc]
push 0x2712
push esi
call fcn.10045132
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi + 0x20], eax
lea eax, [edi + 0x5c]
push eax
push 4
push edi
push 0x1002eff0
push ebx
push ebx
mov dword [edi + 0x74], esi
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
call fcn.10061b68
add esp, 0x18
push eax
mov dword [edi + 0x58], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [edi + 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x58]
mov byte [edi + 0x24], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [edi + 0x70]
neg ebx
sbb ebx, ebx
jne 0x1002f2a5
mov eax, dword [edi + 0x78]
cmp eax, 0xc8
jl 0x1002f23f
cmp eax, 0x190
jl 0x1002f2a5
mov esi, dword [ebp + 0x18]
push 0x1009de6a
call fcn.1002d486
push 0x1000
or ebx, 0xffffffff
call fcn.1005fb39
mov dword [ebp + 8], eax
pop ecx
lea eax, [ebp + 8]
push eax
mov eax, edi
call fcn.1002f2cb
test al, al
je 0x1002f27e
push dword [ebp + 8]
call fcn.1002d4f1
push 0x100a0640
call fcn.1002d4f1
lea ecx, [ebp - 0x18]
mov eax, edi
call fcn.1002efd5
and dword [ebp - 4], 0
push dword [eax]
mov esi, dword [ebp + 0x18]
call fcn.1002d4f1
cmp dword [ebp - 0x18], 0
je 0x1002f2a5
push dword [ebp - 0x18]
call fcn.10060146
pop ecx
cmp dword [ebp + 0x14], 0
je 0x1002f2b4
push dword [ebp + 0x14]
call fcn.100452a8
pop ecx
push dword [edi + 0x74]
call fcn.100451e7
and dword [edi + 0x74], 0
pop ecx
mov eax, ebx
call fcn.1006a176
ret 0x18