Function at 0x4024d2
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
cmp dword [esi + 0x118], edi
jne 0x4024f0
cmp dword [0x407368], edi
je 0x402851
mov dword [0x407368], edi
mov eax, dword [esi + 4]
cmp eax, 9
jg 0x402727
je 0x4026cc
dec eax
je 0x40268b
dec eax
je 0x40264a
dec eax
dec eax
je 0x4025ef
dec eax
je 0x402594
sub eax, 3
jne 0x402851
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x40243d
push edi
push edi
call ebx
cmp dword [esi + 0x8c], edi
mov dword [esp + 0x14], edi
jle 0x402851
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
push 0x401f5b
push edi
push edi
call ebx
push eax
call ebp
push edi
push edi
push esi
push 0x402035
push edi
push edi
call ebx
push eax
call ebp
push edi
push edi
push esi
push 0x40210f
push edi
push edi
call ebx
push eax
call ebp
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x8c]
jl 0x402552
jmp 0x402851
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x40243d
push edi
push edi
call ebx
cmp dword [esi + 0x8c], edi
mov dword [esp + 0x14], edi
jle 0x402851
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
push 0x401911
push edi
push edi
call ebx
push eax
call ebp
push edi
push edi
push esi
push 0x401a03
push edi
push edi
call ebx
push eax
call ebp
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x8c]
jl 0x4025bc
jmp 0x402851
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x40243d
push edi
push edi
call ebx
cmp dword [esi + 0x8c], edi
mov dword [esp + 0x14], edi
jle 0x402851
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
push 0x401d4b
push edi
push edi
call ebx
push eax
call ebp
push edi
push edi
push esi
push 0x401911
push edi
push edi
call ebx
push eax
call ebp
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x8c]
jl 0x402617
jmp 0x402851
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x40243d
push edi
push edi
call ebp
xor ebx, ebx
cmp dword [esi + 0x8c], edi
jle 0x402851
push edi
push edi
push esi
push 0x4016f2
push edi
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 0x8c]
jl 0x40266a
jmp 0x402851
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x40243d
push edi
push edi
call ebp
xor ebx, ebx
cmp dword [esi + 0x8c], edi
jle 0x402851
push edi
push edi
push esi
push 0x4017c0
push edi
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 0x8c]
jl 0x4026ab
jmp 0x402851
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x40243d
push edi
push edi
call ebx
cmp dword [esi + 0x8c], edi
mov dword [esp + 0x14], edi
jle 0x402851
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
push 0x401a03
push edi
push edi
call ebx
push eax
call ebp
push edi
push edi
push esi
push 0x401f5b
push edi
push edi
call ebx
push eax
call ebp
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x8c]
jl 0x4026f4
jmp 0x402851
sub eax, 0x10
je 0x4027ff
sub eax, 6
je 0x4027c5
dec eax
je 0x402784
dec eax
jne 0x402851
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x40243d
push edi
push edi
call ebp
xor ebx, ebx
cmp dword [esi + 0x8c], edi
jle 0x402851
push edi
push edi
push esi
push 0x4015cc
push edi
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 0x8c]
jl 0x402763
jmp 0x402851
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x40243d
push edi
push edi
call ebp
xor ebx, ebx
cmp dword [esi + 0x8c], edi
jle 0x402851
push edi
push edi
push esi
push 0x4014e2
push edi
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 0x8c]
jl 0x4027a4
jmp 0x402851
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x40243d
push edi
push edi
call ebp
xor ebx, ebx
cmp dword [esi + 0x8c], edi
jle 0x402851
push edi
push edi
push esi
push 0x401091
push edi
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 0x8c]
jl 0x4027e1
jmp 0x402851
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x40243d
push edi
push edi
call ebx
cmp dword [esi + 0x8c], edi
mov dword [esp + 0x14], edi
jle 0x402851
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
push 0x4021e9
push edi
push edi
call ebx
push eax
call ebp
push edi
push edi
push esi
push 0x401d4b
push edi
push edi
call ebx
push eax
call ebp
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x8c]
jl 0x402823
pop edi
pop esi
pop ebp
pop ebx
ret