Function at 0x4036cd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x408514], 1
jne 0x4036e1
jmp case.default.0x403714
mov dword [0x408514], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x104]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 7
ja case.default.0x403714
mov eax, dword [ebp - 8]
jmp dword [eax*4 + 0x40393f]
mov dword [ebp - 4], 0
jmp 0x40372d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x108]
jge 0x40375b
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x401fcf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403724
jmp case.default.0x403714
mov dword [ebp - 4], 0
jmp 0x403772
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x108]
jge 0x4037a0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x4024f7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403769
jmp case.default.0x403714
mov dword [ebp - 4], 0
jmp 0x4037b7
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x108]
jge 0x4037e5
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x402609
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4037ae
jmp case.default.0x403714
mov dword [ebp - 4], 0
jmp 0x4037fc
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x108]
jge 0x40382a
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x402883
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4037f3
jmp case.default.0x403714
mov dword [ebp - 4], 0
jmp 0x403841
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x108]
jge 0x40386f
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x402aab
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403838
jmp case.default.0x403714
mov dword [ebp - 4], 0
jmp 0x403886
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x108]
jge 0x4038b4
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x402bcc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40387d
jmp case.default.0x403714
mov dword [ebp - 4], 0
jmp 0x4038cb
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x108]
jge 0x4038f9
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x40279e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4038c2
jmp case.default.0x403714
mov dword [ebp - 4], 0
jmp 0x40390d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x108]
jge case.default.0x403714
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x402ced
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403904
mov esp, ebp
pop ebp
ret