Function at 0x401830
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x415220]
push ebx
push esi
push edi
test eax, eax
je case.0x401866.21
mov esi, dword [esp + 0x10]
mov dword [0x415220], 0
mov eax, dword [esi + 0x8c]
dec eax
cmp eax, 0x26
ja case.0x401866.21
xor ecx, ecx
mov cl, byte [eax + 0x402184]
jmp dword [ecx*4 + 0x402130]
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x406550
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x401883
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x406310
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x4018c8
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x406680
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x40190d
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x4067d0
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x401952
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x406430
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x401997
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x406940
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x4019dc
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x4069d0
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x401a21
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x415050], 1
jne 0x401a9e
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x407280
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x401a6f
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x406310
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x401ab4
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x415050], 1
jne 0x401b37
mov edx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add edx, 0x14
xor edi, edi
test edx, edx
jle 0x40211b
push 0
push 0
push esi
push 0x407910
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
add eax, 0x14
cmp edi, eax
jl 0x401b05
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add ecx, 0x14
xor edi, edi
test ecx, ecx
jle 0x40211b
push 0
push 0
push esi
push 0x406310
push 0
push 0
call ebx
mov edx, dword [esi + 0x88]
inc edi
add edx, 0x14
cmp edi, edx
jl 0x401b50
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x415050], 1
jne 0x401bd6
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add eax, 0x14
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x407d30
push 0
push 0
call ebx
mov ecx, dword [esi + 0x88]
inc edi
add ecx, 0x14
cmp edi, ecx
jl 0x401ba4
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov edx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add edx, 0x14
xor edi, edi
test edx, edx
jle 0x40211b
push 0
push 0
push esi
push 0x406310
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
add eax, 0x14
cmp edi, eax
jl 0x401bef
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x415050], 1
jne 0x401c75
mov ecx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add ecx, 0x14
xor edi, edi
test ecx, ecx
jle 0x40211b
push 0
push 0
push esi
push 0x4076a0
push 0
push 0
call ebx
mov edx, dword [esi + 0x88]
inc edi
add edx, 0x14
cmp edi, edx
jl 0x401c43
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add eax, 0x14
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x406310
push 0
push 0
call ebx
mov ecx, dword [esi + 0x88]
inc edi
add ecx, 0x14
cmp edi, ecx
jl 0x401c8e
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x415050], 1
jne 0x401d14
mov edx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add edx, 0x14
xor edi, edi
test edx, edx
jle 0x40211b
push 0
push 0
push esi
push 0x407280
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
add eax, 0x14
cmp edi, eax
jl 0x401ce2
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add ecx, 0x14
xor edi, edi
test ecx, ecx
jle 0x40211b
push 0
push 0
push esi
push 0x406550
push 0
push 0
call ebx
mov edx, dword [esi + 0x88]
inc edi
add edx, 0x14
cmp edi, edx
jl 0x401d2d
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x415050], 1
jne 0x401db3
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add eax, 0x14
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x407910
push 0
push 0
call ebx
mov ecx, dword [esi + 0x88]
inc edi
add ecx, 0x14
cmp edi, ecx
jl 0x401d81
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov edx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add edx, 0x14
xor edi, edi
test edx, edx
jle 0x40211b
push 0
push 0
push esi
push 0x406550
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
add eax, 0x14
cmp edi, eax
jl 0x401dcc
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x415050], 1
jne 0x401e52
mov ecx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add ecx, 0x40
xor edi, edi
test ecx, ecx
jle 0x40211b
push 0
push 0
push esi
push 0x406550
push 0
push 0
call ebx
mov edx, dword [esi + 0x88]
inc edi
add edx, 0x40
cmp edi, edx
jl 0x401e20
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add eax, 0x14
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x406550
push 0
push 0
call ebx
mov ecx, dword [esi + 0x88]
inc edi
add ecx, 0x14
cmp edi, ecx
jl 0x401e6b
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x415050], 1
jne 0x401ef1
mov edx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add edx, 0x14
xor edi, edi
test edx, edx
jle 0x40211b
push 0
push 0
push esi
push 0x4076a0
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
add eax, 0x14
cmp edi, eax
jl 0x401ebf
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add ecx, 0x14
xor edi, edi
test ecx, ecx
jle 0x40211b
push 0
push 0
push esi
push 0x406550
push 0
push 0
call ebx
mov edx, dword [esi + 0x88]
inc edi
add edx, 0x14
cmp edi, edx
jl 0x401f0a
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add eax, 0x14
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x407280
push 0
push 0
call ebx
mov ecx, dword [esi + 0x88]
inc edi
add ecx, 0x14
cmp edi, ecx
jl 0x401f55
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov edx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add edx, 0x14
xor edi, edi
test edx, edx
jle 0x40211b
push 0
push 0
push esi
push 0x407280
push 0
push 0
call ebx
push 0
push 0
push esi
push 0x406310
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
add eax, 0x14
cmp edi, eax
jl 0x401fa0
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add ecx, 0x14
xor edi, edi
test ecx, ecx
jle 0x40211b
push 0
push 0
push esi
push 0x406550
push 0
push 0
call ebx
push 0
push 0
push esi
push 0x406310
push 0
push 0
call ebx
mov edx, dword [esi + 0x88]
inc edi
add edx, 0x14
cmp edi, edx
jl 0x401ffb
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add eax, 0x14
xor edi, edi
test eax, eax
jle 0x40211b
push 0
push 0
push esi
push 0x406550
push 0
push 0
call ebx
push 0
push 0
push esi
push 0x406680
push 0
push 0
call ebx
mov ecx, dword [esi + 0x88]
inc edi
add ecx, 0x14
cmp edi, ecx
jl 0x402056
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x415050], 1
jne 0x4020e8
mov edx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add edx, 0x14
xor edi, edi
test edx, edx
jle 0x40211b
push 0
push 0
push esi
push 0x407910
push 0
push 0
call ebx
mov eax, dword [esi + 0x88]
inc edi
add eax, 0x14
cmp edi, eax
jl 0x4020b6
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esi + 0x88]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
add ecx, 0x14
xor edi, edi
test ecx, ecx
jle 0x40211b
push 0
push 0
push esi
push 0x406550
push 0
push 0
call ebx
mov edx, dword [esi + 0x88]
inc edi
add edx, 0x14
cmp edi, edx
jl 0x4020fd
push 0
push 0
push esi
push 0x4017d0
push 0
push 0
call ebx
pop edi
pop esi
pop ebx
ret