Function at 0x1003d5a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006507f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x18]
call fcn.1003a4b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029d48
lea ecx, [ebp - 0x58]
call fcn.1003a330
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029d54
lea ecx, [ebp - 0x70]
call fcn.1003a330
mov byte [ebp - 4], 2
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x1a], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029d60
lea ecx, [ebp - 0x88]
call fcn.1003a330
mov byte [ebp - 4], 3
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029d6c
lea ecx, [ebp - 0xa0]
call fcn.1003a330
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
mov dl, byte [ecx]
mov byte [ebp - 0x19], dl
add dword [ebp - 0x24], 1
cmp byte [ebp - 0x19], 0
jne 0x1003d6f0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], 0
jmp 0x1003d723
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0xc]
jge 0x1003d88e
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029d78
lea ecx, [ebp - 0xb8]
call fcn.1003a330
mov byte [ebp - 4], 5
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov eax, dword [ebp - 0x20]
cdq
mov ecx, 0x1c20
idiv ecx
test edx, edx
jne 0x1003d7ee
push 0
push 0
push 0
push 0x1003c6f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x30], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029d84
lea ecx, [ebp - 0xd0]
call fcn.1003a330
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029d90
lea ecx, [ebp - 0xe8]
call fcn.1003a330
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.1003a6f0
movzx ecx, byte [ebp - 0x1a]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov byte [ecx], al
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029d9c
lea ecx, [ebp - 0x100]
call fcn.1003a330
mov byte [ebp - 4], 8
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
jmp 0x1003d71a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1003a750
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc