Function at 0x40f540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 3
mov dword [ebp - 0x48], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x462e64
call fcn.00417860
mov ecx, esi
call fcn.00405b20
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x462dec
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 0x38]
mov dword [ebp - 0x4c], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp + 0x20]
mov dword [ebp - 0x50], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00417860
mov byte [ebp - 4], 3
call fcn.0040e390
add esp, 0x78
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push 3
push 0x458dfc
call fcn.00417f20
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x2c]
call fcn.00417860
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov ecx, 0x463464
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00417f20
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
mov ecx, 0x46311c
push eax
call fcn.00417f20
push 0
push 0
push 0
mov dword [0x466468], 1
push 0x40e360
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x18]
mov dword [0x466464], eax
cmp edx, 0x10
jb 0x40f6a8
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f69e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f806
push edx
push ecx
call fcn.0041d4c4
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x40f6ee
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f6e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f806
push edx
push ecx
call fcn.0041d4c4
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40f722
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f718
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80b
push edx
push ecx
call fcn.0041d4c4
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40f768
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f75e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80b
push edx
push ecx
call fcn.0041d4c4
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x40f7aa
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80b
push edx
push ecx
call fcn.0041d4c4
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x40f7ec
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80b
push edx
push ecx
call fcn.0041d4c4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ce51
mov esp, ebp
pop ebp
ret
call fcn.00436aca
call fcn.00436aca
int3