Function at 0x4500e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4a7008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x45031d
mov ebx, dword [esi + 8]
lea ecx, [ebp - 0x40]
push 0x1a
push str.resetting_powerupstatus...
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00403610
mov eax, dword [0x4d1afc]
test al, 1
jne 0x450186
xorps xmm0, xmm0
or eax, 1
movdqu xmmword [0x4afd00], xmm0
push 0x48cbf0
movdqu xmmword [0x4afd10], xmm0
mov dword [0x4d1afc], eax
mov dword [0x4afd00], 0
mov dword [0x4afd04], 0
mov dword [0x4afd1c], 0xf
mov dword [0x4afd18], 0
mov byte [0x4afd08], 0
call fcn.0046fb6c
add esp, 4
cmp dword [0x4afd00], 0
je 0x4501f7
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
push str.__d:_d:_d:_d____s_n
push dword [0x4afd00]
call fcn.004710c4
add esp, 0x1c
push dword [0x4afd00]
call fcn.004708f7
add esp, 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x497614
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x2c], 0x10
jb 0x450208
push dword [ebp - 0x40]
call fcn.0046fdb4
add esp, 4
push ebx
call fcn.0046fdb4
add esp, 4
mov dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push 0xb
push str....complete
call fcn.00403610
mov eax, dword [0x4d1afc]
test al, 1
jne 0x450292
xorps xmm0, xmm0
or eax, 1
movdqu xmmword [0x4afd00], xmm0
push 0x48cbf0
movdqu xmmword [0x4afd10], xmm0
mov dword [0x4d1afc], eax
mov dword [0x4afd00], 0
mov dword [0x4afd04], 0
mov dword [0x4afd1c], 0xf
mov dword [0x4afd18], 0
mov byte [0x4afd08], 0
call fcn.0046fb6c
add esp, 4
cmp dword [0x4afd00], 0
je 0x450301
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
push str.__d:_d:_d:_d____s_n
push dword [0x4afd00]
call fcn.004710c4
add esp, 0x1c
push dword [0x4afd00]
call fcn.004708f7
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x40]
add esp, 4
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
push 0x497614
call ebx
cmp dword [ebp - 0x2c], 0x10
jb 0x450312
push dword [ebp - 0x40]
call fcn.0046fdb4
add esp, 4
mov esi, dword [esi]
cmp esi, dword [edi + 8]
jne 0x450102
mov eax, dword [edi + 8]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [edi + 8]
mov dword [eax + 4], eax
mov dword [edi + 0xc], 0
cmp ecx, dword [edi + 8]
je 0x450348
mov esi, dword [ecx]
push ecx
call fcn.0046fdb4
add esp, 4
mov ecx, esi
cmp esi, dword [edi + 8]
jne 0x450336
mov dword [edi + 0x2c], 0x3f800000
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
cmp eax, ecx
je 0x450381
mov ecx, dword [eax + 8]
cmp dword [ecx], 5
jne 0x45037a
movss xmm0, dword [ecx + 4]
comiss xmm0, dword [ecx + 8]
jbe 0x45037a
movss xmm0, dword [ecx + 0xc]
addss xmm0, dword [edi + 0x2c]
movss dword [edi + 0x2c], xmm0
mov eax, dword [eax]
cmp eax, dword [edi + 8]
jne 0x450358
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f27e
mov esp, ebp
pop ebp
ret