Function at 0x1001ca00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b94a9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x102100f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1001ca54
sub eax, 1
jne 0x1001cc54
mov esi, dword [ebp + 8]
test esi, esi
je 0x1001ca45
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push esi
push 0x1001c950
jmp 0x1001cc3f
call fcn.100b5070
cmp dword [0x102c727c], 0
je 0x1001ca69
xor ecx, ecx
call fcn.100b4f70
xor eax, eax
mov ebx, 0x102c7278
xchg dword [ebx], eax
call fcn.100b5070
cmp dword [0x102c727c], 0
je 0x1001cb0a
xor ecx, ecx
call fcn.100b4f70
test eax, eax
jne 0x1001cb0a
mov eax, dword [0x102ccf5c]
mov dword [0x102ccf5c], 0
test eax, eax
je 0x1001cac2
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFree]
nop dword [eax + eax]
mov esi, dword [eax]
push 0x8000
push 0
push eax
call edi
mov eax, esi
test esi, esi
jne 0x1001cab0
push dword [0x102ccf50]
push 0
push dword [0x102c727c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x102c727c]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [0x102c727c], 0
mov dword [0x102ccf50], 0
mov dword [0x102ccf54], 0
mov dword [0x102ccf58], 0
xor eax, eax
xchg dword [ebx], eax
mov esi, dword [0x102c7200]
push 0
push str.Valve001
call dword [sym.imp.USER32.dll_FindWindowA]
push esi
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x102c8684]
mov edi, dword [0x102c71f0]
test eax, eax
jne 0x1001cb88
push 0x128
call fcn.101559fd
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.100b7520
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x102c8684]
mov dword [0x102c8684], eax
test esi, esi
je 0x1001cb88
mov ecx, esi
call fcn.100bc490
push 0x128
push esi
call fcn.10155db7
mov eax, dword [0x102c8684]
add esp, 8
mov esi, dword [eax + 4]
mov edx, 0xd50c118f
mov ecx, 0x101ed575
call fcn.1001af60
mov dword [ebp + 0xc], eax
lea ecx, [esi + 0x78]
lea eax, [ebp + 0xc]
push eax
call fcn.1001cd60
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [eax], edi
mov eax, dword [0x102c8684]
mov edi, dword [0x102c7204]
test eax, eax
jne 0x1001cc0c
push 0x128
call fcn.101559fd
add esp, 4
mov dword [ebp + 0xc], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.100b7520
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x102c8684]
mov dword [0x102c8684], eax
test esi, esi
je 0x1001cc0c
mov ecx, esi
call fcn.100bc490
push 0x128
push esi
call fcn.10155db7
mov eax, dword [0x102c8684]
add esp, 8
mov esi, dword [eax + 4]
mov edx, 0xd70c14b5
mov ecx, 0x101ed57d
call fcn.1001af60
mov dword [ebp - 0x10], eax
lea ecx, [esi + 0x78]
lea eax, [ebp - 0x10]
push eax
call fcn.1001cd60
push 0
push 0
push dword [ebp + 8]
mov eax, dword [eax]
push 0x1001c990
mov eax, dword [eax]
mov dword [eax], edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1001cc54
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc