Function at 0x4efed0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc6e4
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x63d284]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0x24], 0
je 0x4eff16
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
lea edi, [ebx + 4]
mov byte [ebx + 0x24], 1
cmp edi, eax
je 0x4eff6d
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x18], eax
jb 0x4eff32
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov eax, dword [eax + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp eax, ecx
ja 0x4eff9d
mov dword [ebp + 8], edi
mov edx, edi
cmp ecx, 8
jb 0x4eff51
mov edx, dword [edi]
mov dword [ebp + 8], edx
lea esi, [eax + eax]
mov dword [edi + 0x10], eax
push esi
push dword [ebp - 0x18]
push edx
call fcn.00572f50
mov eax, dword [ebp + 8]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
mov eax, dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x30], eax
call fcn.004ee400
push 0x18
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4f00f4
jmp 0x4f00a8
cmp eax, 0x7ffffffe
ja 0x4f0102
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4effc1
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4efffb
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x4effdc
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4efffb
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4f0128
add eax, eax
cmp eax, 0x1000
jb 0x4f0024
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4f0128
push ecx
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4f0107
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4f0040
test eax, eax
je 0x4f003e
push eax
call fcn.00591cad
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4f0115
jmp 0x4f0043
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ecx
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x18]
push eax
call fcn.005729d0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add esp, 0xc
mov word [esi + eax], cx
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x4f00a1
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4f0094
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f0123
mov eax, edx
push ecx
push eax
call fcn.0056c61e
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [edi], eax
jmp 0x4eff6d
mov dword [ebp + 8], eax
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.004eed70
lea ecx, [ebx + 0x28]
mov dword [ebp - 4], 0xffffffff
push ecx
push 0
push eax
push 0x4efb10
push 0
push 0
call fcn.00595261
add esp, 0x18
mov dword [ebx], eax
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x638780
lea eax, [ebp + 0xf]
push eax
call fcn.0057359b
call fcn.0040791f
push 0x638780
lea eax, [ebp + 0xb]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0xd]
push eax
call fcn.0057359b
call fcn.0057da80
call fcn.00407b84
int3