Function at 0x100163a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x1007f010]
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 0x100163c8
xor eax, eax
jmp 0x100163cb
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.1000d920
lea eax, [esi + 0x20]
mov byte [edi + 4], 0
push eax
mov ecx, edi
call fcn.1000d920
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 0x10016402
xor al, al
jmp 0x10016405
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 0x10016421
xor al, al
jmp 0x10016424
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 0x10016440
xor eax, eax
jmp 0x10016444
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 0x10016461
xor al, al
jmp 0x10016464
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 0x10016480
xor al, al
jmp 0x10016483
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 0x1001649f
xor al, al
jmp 0x100164a2
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 0x100164be
xor al, al
jmp 0x100164c1
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 0x100164dd
xor al, al
jmp 0x100164e0
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 0x100164fc
xor al, al
jmp 0x100164ff
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 0x1001651b
xor al, al
jmp 0x1001651e
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 0x1001653a
xor al, al
jmp 0x1001653d
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 0x10016559
xor eax, eax
jmp 0x1001655c
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 0x10016578
xor eax, eax
jmp 0x1001657b
mov eax, dword [edi + edx]
mov dword [ecx + 8], ebx
mov ecx, dword [0x1007f018]
mov dword [esi + 0x50], eax
mov byte [0x1007f01e], 1
test ecx, ecx
je 0x1001659e
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x1001659e
call fcn.10018c70
mov eax, dword [0x1007f014]
test eax, eax
je 0x100165ce
cmp byte [eax], 0
jne 0x100165ce
push 0
push 0
push eax
push 0x100181b0
push 0
push 0
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100165ce
mov ecx, eax
call fcn.10017d80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4