Function at 0x10006760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e84a9
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10130fc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x40], esi
lea eax, [edi + 0x200c4]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x50], eax
call fcn.1006ae5c
add esp, 4
test eax, eax
je 0x100067bc
push eax
call fcn.1006b265
add esp, 4
mov byte [ebp - 0x4c], 1
cmp dword [edi + 0x200c0], 0
mov byte [ebp - 4], 4
jne 0x100067e9
push 0
push 0
push edi
push 0x10009770
push 0
push 0
call fcn.100c4b81
add esp, 0x18
mov dword [edi + 0x200c0], eax
push 0x14
call fcn.100992a0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x40], ebx
mov byte [ebp - 4], 5
test ebx, ebx
je 0x1000684c
sub esp, 0x18
lea eax, [ebp + 0x70]
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.10007a80
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp + 0x58]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.10007a80
push dword [ebp + 0x54]
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10007a80
push ebx
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.10006fe0
mov dword [ebp - 0x40], eax
jmp 0x10006853
mov dword [ebp - 0x40], 0
push 0xc
mov byte [ebp - 4], 4
call fcn.100992a0
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x10006877
mov ecx, eax
call fcn.10007bf0
mov ebx, eax
jmp 0x10006879
xor ebx, ebx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.1000b850
cmp dword [edi + 4], 0
je 0x10006a3f
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push eax
mov ecx, ebx
mov dword [ebp - 0x30], 0xa
call fcn.1000c700
lea eax, [ebp - 0x48]
mov dword [esi], 0
cmp esi, eax
je 0x100068d6
mov eax, dword [ebp - 0x48]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x44]
mov byte [esi + 4], al
jmp 0x100068d9
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x18]
mov byte [esi + 4], 1
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x10006915
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000690b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006b90
push edx
push ecx
call fcn.100a20af
add esp, 8
mov byte [ebp - 4], 0xc
test edi, edi
je 0x1000693e
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1000693e
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x10006936
mov eax, dword [ecx]
push edi
jmp 0x1000693c
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.1006ae81
add esp, 4
test eax, eax
je 0x1000695a
push eax
call fcn.1006b265
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10006979
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x100069ad
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100069a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006b95
push edx
push ecx
call fcn.100a20af
add esp, 8
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
cmp edx, 0x10
jb 0x100069f3
mov ecx, dword [ebp + 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100069e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006b9a
push edx
push ecx
call fcn.100a20af
add esp, 8
mov edx, dword [ebp + 0x84]
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0xf
mov byte [ebp + 0x58], 0
cmp edx, 0x10
jb 0x10006b70
mov ecx, dword [ebp + 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006b66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006b9f
jmp 0x10006b66
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x94], 0x10005d80
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x10006a81
mov eax, dword [ecx]
lea edx, [ebp - 0x84]
push edx
call dword [eax]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x10
push eax
call fcn.10007380
mov ecx, dword [ebp - 0x60]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x10006ac3
mov edx, dword [ecx]
lea eax, [ebp - 0x84]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [edi + 0x20098]
call fcn.1000bf90
lea eax, [ebp - 0x48]
mov dword [esi], 0
cmp esi, eax
je 0x10006af2
mov eax, dword [ebp - 0x48]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x44]
mov byte [esi + 4], al
jmp 0x10006af5
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 4], 1
test ecx, ecx
je 0x10006b11
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 0x13
test edi, edi
je 0x10006b3a
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10006b3a
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x10006b32
mov eax, dword [ecx]
push edi
jmp 0x10006b38
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x50]
mov byte [ebp - 4], 0x14
call fcn.1006ae81
add esp, 4
test eax, eax
je 0x10006b56
push eax
call fcn.1006b265
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10006979
jmp 0x10006961
push edx
push ecx
call fcn.100a20af
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a242e
mov esp, ebp
pop ebp
ret 0x80
call fcn.100c042a
call fcn.100c042a
call fcn.100c042a
call fcn.100c042a
int3