Function at 0x10013c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090f3a
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100cb9b0]
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 0x10013c89
push 0
push 0
push esi
push 0x10005230
push 0
push 0
call fcn.1006b82e
add esp, 0x18
mov dword [esi + 0x200b4], eax
push 0x14
call fcn.1004b336
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x10013cd7
sub esp, 0x18
lea eax, [ebp + 0x58]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.100046b0
push dword [ebp + 0x54]
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
push eax
call fcn.100046b0
push edi
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.100144e0
mov dword [ebp - 0x3c], eax
jmp 0x10013cde
mov dword [ebp - 0x3c], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.1004b336
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x10013d02
mov ecx, eax
call fcn.100047d0
mov edi, eax
jmp 0x10013d04
xor edi, edi
push ebx
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.100063b0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x8c], 0x10003a30
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x10013d50
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.10004380
mov ecx, dword [ebp - 0x58]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x10013d95
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x7c]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x2008c]
call fcn.100065b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10013dc0
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 0x10013ddf
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 0x10013e0f
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013e05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013e71
push edx
push ecx
call fcn.1004b366
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 0x10013e51
mov ecx, dword [ebp + 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013e47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013e76
push edx
push ecx
call fcn.1004b366
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.1004b6e5
mov esp, ebp
pop ebp
ret 0x68
call fcn.1006b649
call fcn.1006b649
int3