Function at 0x40f8a4
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0x60], 0
jne 0x40f8cc
mov dword [ebp + 0x5c], 1
cmp dword [ebp + 0x68], 0
jne 0x40f8dd
mov dword [ebp + 0x64], 1
cmp dword [ebp + 0x48], 0
je 0x40f8f5
cmp dword [ebp + 0x44], 0
je 0x40f8f5
xor eax, eax
jmp 0x40f8fa
mov eax, 1
test eax, eax
je 0x40f909
mov dword [ebp + 0x44], 0x5a
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x40f927
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x423927]
test ebx, ebx
je 0x40f93b
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x423927], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x40f95f
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x42392b]
test ebx, ebx
je 0x40f973
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x42392b], eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x40f997
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x42392f]
test ebx, ebx
je 0x40f9ab
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x42392f], eax
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x40f9cf
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x423933]
test ebx, ebx
je 0x40f9e3
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x423933], eax
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x40fa07
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x423937]
test ebx, ebx
je 0x40fa1b
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x423937], eax
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
je 0x40fa3f
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x42393b]
test ebx, ebx
je 0x40fa53
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x42393b], eax
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x40fa77
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x42393f]
test ebx, ebx
je 0x40fa8b
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x42393f], eax
mov ebx, dword [ebp + 0x3c]
mov eax, dword [ebx]
test eax, eax
je 0x40faaf
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x423943]
test ebx, ebx
je 0x40fac3
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x423943], eax
mov eax, dword [ebp + 0x44]
mov dword [0x423947], eax
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x40faef
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x42394b]
test ebx, ebx
je 0x40fb03
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x42394b], eax
mov eax, dword [ebp + 0x8c]
mov dword [0x42394f], eax
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x40fb32
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x423953]
test ebx, ebx
je 0x40fb46
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x423953], eax
mov eax, dword [ebp + 0x5c]
mov dword [0x423957], eax
mov eax, dword [ebp + 0x64]
mov dword [0x42395b], eax
mov eax, dword [ebp + 0x7c]
mov dword [0x42395f], eax
mov eax, dword [ebp + 0x84]
mov dword [0x423963], eax
mov eax, 0x41b209
test eax, eax
je 0x40fb8b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x423967]
test ebx, ebx
je 0x40fb9f
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x423967], eax
mov eax, dword [ebp + 0x6c]
mov dword [0x42396b], eax
cmp dword [ebp + 0x78], 0
jne 0x40fbc6
mov dword [0x42396f], 1
jmp 0x40fbce
mov eax, dword [ebp + 0x74]
mov dword [0x42396f], eax
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x413cc3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40fc12
push 6
call fcn.00415938
add esp, 4
mov dword [ebp - 4], eax
fild dword [ebp + 0x44]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x41bc4a]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
push 0x4bf
fld qword [ebp - 0x18]
call fcn.00401408
push eax
push 0
lea eax, [ebp - 4]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40fc62
push 6
call fcn.00415938
add esp, 4
mov dword [ebp - 8], eax
push 0
mov ebx, 0x350
call fcn.00416450
add esp, 4
cmp dword [ebp - 8], 0
je 0x40fc95
cmp dword [ebp - 8], 0x102
je 0x40fc95
mov eax, 1
jmp 0x40fc97
xor eax, eax
test eax, eax
jne 0x40fc15
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40fcc6
push 6
call fcn.00415938
add esp, 4
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40fce8
push 6
call fcn.00415938
add esp, 4
cmp dword [ebp - 8], 0x102
jne 0x40fd9a
mov eax, 0x41b209
test eax, eax
je 0x40fd11
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x423967]
test ebx, ebx
je 0x40fd25
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov dword [0x423967], eax
mov dword [ebp - 0xc], esp
push dword [0x423973]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40fd50
push 6
call fcn.00415938
add esp, 4
mov dword [ebp - 0xc], esp
push dword [0x423977]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40fd75
push 6
call fcn.00415938
add esp, 4
mov dword [ebp - 0xc], esp
push dword [0x42397b]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40fd9a
push 6
call fcn.00415938
add esp, 4
cmp dword [ebp + 0x50], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40fdea
mov eax, dword [0x42394b]
test eax, eax
je 0x40fdd1
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40fde4
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
cmp dword [ebp + 0x58], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40fe3a
mov eax, dword [0x423953]
test eax, eax
je 0x40fe21
push eax
mov ebx, eax
call fcn.0040139d
inc eax
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40fe34
push ebx
call fcn.0041594a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
mov eax, dword [0x423967]
test eax, eax
je 0x40fe56
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00415932
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40fe5b
mov esp, ebp
pop ebp
ret 0x8c