Function at 0x40bf30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ce0a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x557834]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 2
mov ecx, dword [ebp - 0x18]
call fcn.00410f10
push 3
mov ecx, dword [ebp - 0x18]
call fcn.00410f10
mov eax, dword [ebp - 0x18]
add eax, 0x53f8
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x3e8
mov ecx, dword [ebp - 0x18]
call fcn.0043f389
mov ecx, eax
call fcn.0043f55c
push 0
push 0x452
mov ecx, dword [ebp - 0x18]
call fcn.0043f389
mov ecx, eax
call fcn.0043f55c
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xc8], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc4], 0xff
push 0x4717be
push 0x41f
mov ecx, dword [ebp - 0x18]
call fcn.0043f389
mov ecx, eax
call fcn.0043f486
push 0x4717bf
push 0x41c
mov ecx, dword [ebp - 0x18]
call fcn.0043f389
mov ecx, eax
call fcn.0043f486
mov ecx, dword [ebp - 0x18]
call fcn.00409880
mov ecx, dword [ebp - 0x18]
call fcn.00404520
test eax, eax
jne 0x40c07d
mov ecx, dword [ebp - 0x18]
call fcn.00408400
push 0
push 0x64
push 2
mov ecx, dword [ebp - 0x18]
call fcn.00410ee0
push 0
push 0x32
push 3
mov ecx, dword [ebp - 0x18]
call fcn.00410ee0
push 0x32
push 0x258
call dword [sym.imp.KERNEL32.dll_Beep]
push 0x472aa4
push 0x3e9
mov ecx, dword [ebp - 0x18]
call fcn.0043f389
mov ecx, eax
call fcn.0043f486
push 0x2c
mov eax, dword [ebp - 0x18]
add eax, 0x1f4
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c8
push ecx
call fcn.00452c10
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0043c07f
jmp 0x40c1af
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0043c07f
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x278], 0
push 0x4717c6
lea ecx, [ebp - 0x10]
call fcn.00401870
mov dword [ebp - 4], 0
push str.STOP
lea eax, [ebp - 0x10]
push eax
call fcn.004112c0
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.00401d70
push eax
push 0x3e8
mov ecx, dword [ebp - 0x18]
call fcn.0043f3d1
mov ecx, dword [ebp - 0x18]
call fcn.0040dc30
test eax, eax
je 0x40c148
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x2c8], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x2cc], eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0x4186b0
call fcn.00453392
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0x418910
call fcn.00453392
add esp, 0xc
push 0
push 0x64
push 2
mov ecx, dword [ebp - 0x18]
call fcn.00410ee0
push 0
push 0x32
push 3
mov ecx, dword [ebp - 0x18]
call fcn.00410ee0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x53d4]
call fcn.0041acd0
movzx eax, ax
cmp eax, 0x32a
jl 0x40c18a
mov dword [ebp - 0x14], 0
jmp 0x40c172
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x28
jge 0x40c18a
mov ecx, dword [ebp - 0x18]
call fcn.004098d0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40c169
push 0
push 0x3ea
mov ecx, dword [ebp - 0x18]
call fcn.0043f389
mov ecx, eax
call fcn.0043f55c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004018f0
push 1
push 0x3e8
mov ecx, dword [ebp - 0x18]
call fcn.0043f389
mov ecx, eax
call fcn.0043f55c
push 1
push 0x452
mov ecx, dword [ebp - 0x18]
call fcn.0043f389
mov ecx, eax
call fcn.0043f55c
push 0x3e8
mov ecx, dword [ebp - 0x18]
call fcn.0043f389
mov ecx, eax
call fcn.0043f57d
mov edx, dword [ebp - 0x18]
add edx, 0x53f8
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret