Function at 0x100066b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9d7a
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10121b54]
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 esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x200b4], 0
mov dword [ebp - 4], 3
jne 0x10006719
push 0
push 0
push esi
push 0x10009e50
push 0
push 0
call fcn.100b8963
add esp, 0x18
mov dword [esi + 0x200b4], eax
push 0x14
call fcn.1008ef00
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x10006767
sub esp, 0x18
lea eax, [ebp + 0x58]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.10007f10
push dword [ebp + 0x54]
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10007f10
push edi
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.10007170
mov dword [ebp - 0x40], eax
jmp 0x1000676e
mov dword [ebp - 0x40], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.1008ef00
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x10006792
mov ecx, eax
call fcn.10008170
mov edi, eax
jmp 0x10006794
xor edi, edi
push ebx
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.1000c310
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x8c], 0x10005d70
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x100067e0
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
call dword [eax]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 9
push eax
call fcn.10007810
mov ecx, dword [ebp - 0x58]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x10006826
mov edx, dword [ecx]
lea eax, [ebp - 0x7c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x2008c]
call fcn.1000ca50
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10006851
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10006870
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 0x100068a0
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006896
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006902
push edx
push ecx
call fcn.10097bcf
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 0x100068e2
mov ecx, dword [ebp + 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100068d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006907
push edx
push ecx
call fcn.10097bcf
add esp, 8
mov eax, ebx
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.10097f4e
mov esp, ebp
pop ebp
ret 0x68
call fcn.100b5e29
call fcn.100b5e29
int3