Function at 0x40f4e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637b89
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6eed24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 0x3e8
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push 1
push 1
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
and eax, 0x7fffffff
mov dword [ebx + 0x18], eax
lea esi, [ebx + 0x24]
mov byte [ebp - 4], 1
push 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebp - 0x20], esi
call fcn.00447e10
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], eax
mov dword [ebp - 4], 2
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
lea esi, [ebx + 0x3c]
mov byte [ebp - 4], 3
mov dword [ebp + 8], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004b2888
mov dword [esi], eax
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
add ebx, 0x5c
mov byte [ebp - 4], 5
mov dword [ebp + 8], ebx
fldz
push 0
fstp dword [ebx]
push 0
lea ecx, [ebx + 4]
mov dword [ebp + 8], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.00410e40
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
fld1
lea ecx, [ebx + 0xc]
push 0x10
fstp dword [ebx]
mov byte [ebp - 4], 7
call fcn.00410ea0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x10
lea ecx, [ebx + 0xc]
call fcn.00410fc0
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x1c], 8
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 8
lea ecx, [ebx + 0x90]
call fcn.004aa490
mov dword [ebp - 0x28], 0x64df58
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
mov ecx, ebx
call fcn.004adff0
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0xb0], eax
mov byte [ebp - 4], 9
test edx, edx
jns 0x40f6f3
mov ecx, dword [ebp - 0x28]
and edx, 0x7fffffff
mov eax, ecx
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x40f6e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f77d
push edx
push ecx
call fcn.004b22a2
add esp, 8
add ebx, 0xb4
mov dword [ebp + 8], ebx
fldz
push 0
fstp dword [ebx]
push 0
lea ecx, [ebx + 4]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.00410e70
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
fld1
lea ecx, [ebx + 0xc]
push 0x10
fstp dword [ebx]
mov byte [ebp - 4], 0xc
call fcn.00410ea0
mov eax, dword [ebx + 4]
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
call fcn.00410fc0
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x1c], 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004b959b
int3