Function at 0x1003a2a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10086ba0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [0x100a5360], 0xd
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x5f82]
test ecx, ecx
jne 0x1003a303
mov edx, dword [ebp + 8]
mov byte [edx + 0xb46c], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1002b930
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40c], 0
mov edx, dword [ebp + 8]
push edx
call fcn.10030f30
add esp, 4
mov byte [0x100a534d], 0
jmp 0x1003a564
mov byte [ebp - 5], 0
call fcn.1002c420
mov dword [ebp - 4], 0
jmp 0x1003a31e
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 5
jge 0x1003a3b5
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1002c3c0
movzx ecx, al
test ecx, ecx
je 0x1003a364
push 0x14
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.100139b0
add esp, 0xc
push 0x14
lea eax, [ebp - 0x20]
push eax
push 0xff818083
push 1
call sub.RtlIhvOid.dll_Ordinal_2
add esp, 0x10
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3970]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3928]
push ecx
call fcn.1002bdf0
add esp, 8
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb448]
imul eax, eax, 0x134
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x7820]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1002e260
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x1003a3b0
jmp 0x1003a3b5
jmp 0x1003a315
push 0x21
push 0
push 0x1008b658
call fcn.100139b0
add esp, 0xc
push 0x41
push 0
push 0x1008b684
call fcn.100139b0
add esp, 0xc
push 0x20
mov edx, dword [ebp + 8]
add edx, 0x3904
push edx
push 0x1008b658
call fcn.10013640
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3928]
mov dword [0x1008b67c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3970]
mov dword [0x1008b680], eax
mov ecx, dword [ebp + 8]
add ecx, 0x392c
push ecx
call fcn.10013a30
add esp, 4
push eax
mov edx, dword [ebp + 8]
add edx, 0x392c
push edx
push 0x1008b684
call fcn.10013640
add esp, 0xc
cmp dword [0x1008b680], 2
jne 0x1003a4da
cmp dword [0x100a5350], 4
je 0x1003a45f
cmp dword [0x100a5350], 5
je 0x1003a45f
cmp dword [0x100a5350], 0xa
jne 0x1003a46f
mov eax, dword [0x100a538c]
mov ecx, dword [eax + 0x68]
mov dword [0x1008b730], ecx
jmp 0x1003a480
mov edx, dword [0x100a538c]
mov eax, dword [edx + 0x68]
sub eax, 1
mov dword [0x1008b730], eax
mov dword [ebp - 0x24], 0
jmp 0x1003a492
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 4
jge 0x1003a4bd
push 0x1a
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x1a
add edx, dword [0x100a538c]
push edx
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x1a
add eax, 0x1008b6c5
push eax
call fcn.10013640
add esp, 0xc
jmp 0x1003a489
mov ecx, dword [0x100a538c]
mov edx, dword [ecx + 0x6c]
mov dword [0x1008b734], edx
mov eax, dword [0x100a538c]
push eax
call fcn.10016931
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40c], 0x10
mov edx, dword [ebp + 8]
mov byte [edx + 0xb458], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0xb459], 0
mov ecx, dword [0x100a5380]
add ecx, 1
mov dword [0x100a5380], ecx
mov byte [0x100a534d], 1
xor edx, edx
je 0x1003a564
push 0x20
call fcn.100165a5
add esp, 4
mov dword [ebp - 0x28], eax
push 0x20
push 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.100139b0
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x3904
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.10016b40
add esp, 8
lea eax, [ebp - 0x30]
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
push 0x100311d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1001362b
mov esp, ebp
pop ebp
ret