Function at 0x450852
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x5c], 0x527d48
mov dword [ebp - 0x58], 0x5ef5a6
lea eax, [ebp - 0x54]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x450db6
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x74]
mov dword [esp], eax
call fcn.005341e8
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00587cc0
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x1c
mov dword [esp], eax
mov dword [ebp - 0x70], 0xd
call fcn.005bbba8
jmp 0x4508dc
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00587cf0
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00587c24
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x28
mov dword [esp], eax
mov dword [ebp - 0x70], 0xc
call fcn.005bb428
jmp 0x45092c
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00587c54
mov eax, dword [ebp + 8]
add eax, 0x34
mov dword [esp], eax
mov dword [ebp - 0x70], 0xb
call fcn.005a95f0
mov eax, dword [ebp + 8]
add eax, 0x4c
mov dword [esp], eax
mov dword [ebp - 0x70], 0xa
call fcn.00563b74
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00587b2c
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
sub eax, 0xffffff80
mov dword [esp], eax
mov dword [ebp - 0x70], 9
call fcn.005bae58
jmp 0x4509ac
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00587b5c
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00587a84
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x70], 8
call fcn.005ba684
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
lea eax, [ebp - 0x39]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x9c
mov dword [esp], eax
mov dword [ebp - 0x70], 7
call fcn.005a1bc0
jmp 0x450a28
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x70], 8
call fcn.005ba7fc
jmp 0x450a5e
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00587ab4
mov eax, dword [ebp + 8]
add eax, 0xac
mov dword [esp], eax
mov dword [ebp - 0x70], 6
call fcn.005ae414
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00587f84
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0xe0
mov dword [esp], eax
mov dword [ebp - 0x70], 5
call fcn.005be288
jmp 0x450acd
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00587fc8
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.005877b8
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0xec
mov dword [esp], eax
mov dword [ebp - 0x70], 4
call fcn.005b164c
jmp 0x450b25
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.005877cc
mov eax, dword [ebp + 8]
mov dword [eax + 0xc4], 0x3e8
mov eax, dword [ebp + 8]
mov dword [eax + 0xd8], 1
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0xdc], 1
mov eax, dword [ebp + 8]
add eax, 4
mov dword [esp], eax
mov dword [ebp - 0x70], 3
call sub.KERNEL32.dll_InitializeCriticalSection
sub esp, 4
mov eax, dword [ebp + 8]
add eax, 0x64
mov dword [esp], eax
call sub.KERNEL32.dll_InitializeCriticalSection
sub esp, 4
mov dword [esp], 0x60e0e0
call sub.KERNEL32.dll_InitializeCriticalSection
sub esp, 4
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x98], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateEventA
sub esp, 0x10
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x7c], eax
mov eax, dword [ebp + 8]
add eax, 0x1c
mov dword [esp], eax
call fcn.005bb8dc
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x45185e
call sub.msvcrt.dll__beginthread
lea ebx, [ebp - 0x28]
mov eax, 0x463d68
mov edx, 0
mov dword [esp + 0x10], 0x2710
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call fcn.00547f28
sub esp, 4
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0054a9b0
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp], 0x2710
mov dword [esp + 4], 0
mov dword [ebp - 0x70], 2
call fcn.004f938c
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00451f24
jmp 0x450cb4
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x70], 3
call fcn.0054ab94
mov dword [ebp - 0x40], 0xe10
mov ecx, dword [ebp + 8]
mov edx, 0x3840
lea ebx, [ebp - 0x40]
mov dword [ebp - 0xcc], ebx
mov eax, edx
mov ebx, dword [ebp - 0xcc]
cdq
idiv dword [ebx]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ecx + 0x98], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x94], 0x363
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], 0xfa
mov eax, dword [ebp + 8]
mov dword [eax + 0x90], 0
lea ebx, [ebp - 0x28]
mov eax, 0x4640f8
mov edx, 0
mov dword [esp + 0x10], 0x2710
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call fcn.00547f28
sub esp, 4
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0054a9b0
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp], 0x2710
mov dword [esp + 4], 0
mov dword [ebp - 0x70], 1
call fcn.004f938c
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00451f24
jmp 0x450e8a
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x70], 3
call fcn.0054ab94
jmp 0x45101a
lea eax, [ebp - 0x74]
mov dword [esp], eax
call fcn.005342c8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret