Function at 0x4241c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8fe3
mov eax, dword fs:[0]
push eax
sub esp, 0x56c
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3fe
xor ebx, ebx
lea ecx, [ebp - 0x412]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x414], ax
call fcn.004da450
add esp, 0xc
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
call fcn.00462560
test eax, eax
je 0x4244ba
mov edx, dword [ebp - 0x418]
push edx
lea eax, [ebp - 0x414]
push 0x200
push eax
call fcn.004d72e3
add esp, 0xc
push 0x504a74
lea ecx, [ebp - 0x414]
push 0x200
push ecx
call fcn.004d65c3
add esp, 0xc
push str.AEProtectionTimerVal.dat
lea edx, [ebp - 0x414]
push 0x200
push edx
call fcn.004d65c3
add esp, 0xc
cmp byte [ebp + 8], bl
je 0x424325
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x4cc]
push ecx
call fcn.004250e0
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x4cc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + eax - 0x4c0]
shr ecx, 2
test cl, 1
je 0x4242e7
push str.Failed_to_open_AEPROTECTIONTIMERVAL_FILENAME_file
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or esi, 0xffffffff
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x464]
call fcn.00425220
lea edx, [ebp - 0x464]
mov dword [ebp - 0x418], edx
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], esi
mov eax, edx
push eax
jmp 0x4244a8
lea ecx, [ebp - 0x4cc]
push ecx
call fcn.00424be0
or esi, 0xffffffff
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x464]
call fcn.00425220
lea edx, [ebp - 0x464]
mov dword [ebp - 0x418], edx
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], esi
mov eax, edx
push eax
jmp 0x4244a8
push 0x32
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x4c4]
push edx
call fcn.00425b60
mov dword [ebp - 4], 3
lea eax, [ebp - 0x4c0]
call fcn.004263c0
test eax, eax
jne 0x424383
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x4b8]
lea ecx, [ebp + ecx - 0x4c4]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x424372
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x424383
push ebx
call fcn.0041ef00
push 0x20
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x574]
push edx
call fcn.00425b60
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x574]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + ecx - 0x568]
shr edx, 2
test dl, 1
je 0x424429
push str.Failed_to_open_AEPROTECTIONTIMERVAL_FILENAME_file
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x514]
call fcn.00425ca0
lea eax, [ebp - 0x514]
mov ebx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x514], ebx
mov byte [ebp - 4], 3
mov ecx, eax
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004d49c1
or esi, 0xffffffff
add esp, 4
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x464]
call fcn.00425ca0
lea edx, [ebp - 0x464]
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 4], esi
mov eax, edx
push eax
jmp 0x4244a8
lea ecx, [ebp - 0x574]
push ecx
call fcn.004249a0
lea esi, [ebp - 0x574]
call fcn.00425d60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x514]
call fcn.00425ca0
lea edx, [ebp - 0x514]
mov ebx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x514], ebx
mov byte [ebp - 4], 3
mov eax, edx
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004d49c1
or esi, 0xffffffff
add esp, 4
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x464]
call fcn.00425ca0
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 4], esi
mov edx, ecx
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004d49c1
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4