Function at 0x4776c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8257
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x507254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44c], 0
cmp dword [edi + 0x1c], 0
je 0x477947
xorps xmm0, xmm0
movups xmmword [ebp - 0x420], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov dword [ebp - 0x444], ecx
mov eax, 0x88888889
mov ecx, edx
shr ecx, 6
mul ecx
mov eax, 0x88888889
shr edx, 5
mov dword [ebp - 0x43c], edx
mul edx
mov eax, 0xaaaaaaab
shr edx, 5
mov dword [ebp - 0x440], edx
mul edx
imul eax, ecx, 0x3e8
shr edx, 4
mov dword [ebp - 0x448], edx
mov edx, dword [ebp - 0x444]
sub edx, eax
mov dword [ebp - 0x450], edx
mov edx, dword [ebp - 0x43c]
imul eax, edx, 0xffffffc4
add ecx, eax
mov dword [ebp - 0x454], ecx
mov ecx, dword [ebp - 0x440]
imul eax, ecx, 0xffffffc4
add edx, eax
imul eax, dword [ebp - 0x448], 0xffffffe8
mov dword [ebp - 0x43c], edx
add ecx, eax
lea eax, [ebp - 0x420]
push eax
mov dword [ebp - 0x440], ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
test esi, esi
je 0x4777d3
push 0
push 0
push 0
lea eax, [ebp - 0x484]
push 0x400000
push eax
call fcn.0046eb70
add esp, 0x18
mov ecx, 1
jmp 0x47780c
push 0x4eb7ca
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0xf
call fcn.00403c60
lea eax, [ebp - 0x46c]
mov ecx, 2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x438], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x428], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
test cl, 2
je 0x477853
and ecx, 0xfffffffd
mov dword [ebp - 0x44c], ecx
lea ecx, [ebp - 0x46c]
call fcn.00403e90
mov ecx, dword [ebp - 0x44c]
test cl, 1
je 0x477863
lea ecx, [ebp - 0x484]
call fcn.00403e90
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
mov ecx, str.________________________________n_Closed__at_:__.4d__.2d__.2d__.2d:_.2d:_.2d_n_UpTime_____:__lu_Days__.2luh__.2lum__.2lus_::__lu_ms___lu__n_s________________________________n
cmovae eax, dword [ebp - 0x438]
test esi, esi
push eax
push dword [ebp - 0x444]
movzx eax, word [ebp - 0x414]
push dword [ebp - 0x450]
push dword [ebp - 0x454]
push dword [ebp - 0x43c]
push dword [ebp - 0x440]
push dword [ebp - 0x448]
push eax
movzx eax, word [ebp - 0x416]
push eax
movzx eax, word [ebp - 0x418]
push eax
movzx eax, word [ebp - 0x41a]
push eax
movzx eax, word [ebp - 0x41e]
push eax
movzx eax, word [ebp - 0x420]
push eax
mov eax, str.________________________________n_Started_at_:__.4d__.2d__.2d__.2d:_.2d:_.2d_n_UpTime_____:__lu_Days__.2luh__.2lum__.2lus_::__lu_ms___lu__n_Version____:__s_n________________________________n
cmove eax, ecx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00468ca0
push dword [edi + 0x34]
mov esi, eax
lea eax, [ebp - 0x410]
push eax
call fcn.00478060
add esp, 0x44
lea eax, [ebp - 0x410]
push dword [edi + 0x1c]
push esi
push 1
push eax
call fcn.004ac136
mov edx, dword [ebp - 0x424]
add esp, 0x10
cmp edx, 0x10
jb 0x477947
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47793d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477964
push edx
push ecx
call fcn.004a6287
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6256
mov esp, ebp
pop ebp
ret 4
call fcn.004ab23f
int3