Function at 0x10017be0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x10081800]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
sub eax, edx
lea ebx, [ecx + 4]
cmp ebx, eax
jbe 0x10017c08
xor eax, eax
jmp 0x10017c0b
mov eax, dword [edx + ecx]
mov dword [edi + 8], ebx
mov ecx, edi
mov dword [esi], eax
lea eax, [esi + 8]
push eax
call fcn.1000ad80
lea eax, [esi + 0x20]
mov byte [edi + 4], 0
push eax
mov ecx, edi
call fcn.1000ad80
mov ecx, eax
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 1]
cmp ebx, eax
jbe 0x10017c42
xor al, al
jmp 0x10017c45
mov al, byte [edi + edx]
mov dword [ecx + 8], ebx
mov byte [esi + 0x38], al
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 1]
cmp ebx, eax
jbe 0x10017c61
xor al, al
jmp 0x10017c64
mov al, byte [edi + edx]
mov dword [ecx + 8], ebx
mov byte [esi + 0x39], al
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 2]
cmp ebx, eax
jbe 0x10017c80
xor eax, eax
jmp 0x10017c84
movzx eax, word [edi + edx]
mov dword [ecx + 8], ebx
mov word [esi + 0x3e], ax
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 1]
cmp ebx, eax
jbe 0x10017ca1
xor al, al
jmp 0x10017ca4
mov al, byte [edi + edx]
mov dword [ecx + 8], ebx
mov byte [esi + 0x3a], al
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 1]
cmp ebx, eax
jbe 0x10017cc0
xor al, al
jmp 0x10017cc3
mov al, byte [edi + edx]
mov dword [ecx + 8], ebx
mov byte [esi + 0x3b], al
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 1]
cmp ebx, eax
jbe 0x10017cdf
xor al, al
jmp 0x10017ce2
mov al, byte [edi + edx]
mov dword [ecx + 8], ebx
mov byte [esi + 0x3c], al
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 1]
cmp ebx, eax
jbe 0x10017cfe
xor al, al
jmp 0x10017d01
mov al, byte [edi + edx]
mov dword [ecx + 8], ebx
mov byte [esi + 0x68], al
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 1]
cmp ebx, eax
jbe 0x10017d1d
xor al, al
jmp 0x10017d20
mov al, byte [edi + edx]
mov dword [ecx + 8], ebx
mov byte [esi + 0x69], al
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 1]
cmp ebx, eax
jbe 0x10017d3c
xor al, al
jmp 0x10017d3f
mov al, byte [edi + edx]
mov dword [ecx + 8], ebx
mov byte [esi + 0x6a], al
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 1]
cmp ebx, eax
jbe 0x10017d5b
xor al, al
jmp 0x10017d5e
mov al, byte [edi + edx]
mov dword [ecx + 8], ebx
mov byte [esi + 0x6b], al
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 1]
cmp ebx, eax
jbe 0x10017d7a
xor al, al
jmp 0x10017d7d
mov al, byte [edi + edx]
mov dword [ecx + 8], ebx
mov byte [esi + 0x6c], al
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 4]
cmp ebx, eax
jbe 0x10017d99
xor eax, eax
jmp 0x10017d9c
mov eax, dword [edi + edx]
mov dword [ecx + 8], ebx
mov dword [esi + 0x4c], eax
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
lea ebx, [edx + 4]
cmp ebx, eax
jbe 0x10017db8
xor eax, eax
jmp 0x10017dbb
mov eax, dword [edi + edx]
mov dword [ecx + 8], ebx
mov ecx, dword [0x10081808]
mov dword [esi + 0x50], eax
mov byte [0x1008187c], 1
test ecx, ecx
je 0x10017dde
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x10017dde
call fcn.10026e40
mov eax, dword [0x10081804]
test eax, eax
je 0x10017e0e
cmp byte [eax], 0
jne 0x10017e0e
push 0
push 0
push eax
push 0x1001ffa0
push 0
push 0
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10017e0e
mov ecx, eax
call fcn.1001fb50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4