Function at 0x10016d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x1007f860]
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 0x10016d88
xor eax, eax
jmp 0x10016d8b
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.1000ad30
lea eax, [esi + 0x20]
mov byte [edi + 4], 0
push eax
mov ecx, edi
call fcn.1000ad30
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 0x10016dc2
xor al, al
jmp 0x10016dc5
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 0x10016de1
xor al, al
jmp 0x10016de4
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 0x10016e00
xor eax, eax
jmp 0x10016e04
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 0x10016e21
xor al, al
jmp 0x10016e24
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 0x10016e40
xor al, al
jmp 0x10016e43
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 0x10016e5f
xor al, al
jmp 0x10016e62
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 0x10016e7e
xor al, al
jmp 0x10016e81
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 0x10016e9d
xor al, al
jmp 0x10016ea0
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 0x10016ebc
xor al, al
jmp 0x10016ebf
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 0x10016edb
xor al, al
jmp 0x10016ede
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 0x10016efa
xor al, al
jmp 0x10016efd
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 0x10016f19
xor eax, eax
jmp 0x10016f1c
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 0x10016f38
xor eax, eax
jmp 0x10016f3b
mov eax, dword [edi + edx]
mov dword [ecx + 8], ebx
mov ecx, dword [0x1007f868]
mov dword [esi + 0x50], eax
mov byte [0x1007f8dc], 1
test ecx, ecx
je 0x10016f5e
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x10016f5e
call fcn.1001f5d0
mov eax, dword [0x1007f864]
test eax, eax
je 0x10016f8e
cmp byte [eax], 0
jne 0x10016f8e
push 0
push 0
push eax
push 0x10018cf0
push 0
push 0
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10016f8e
mov ecx, eax
call fcn.100188c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4