Function at 0x405d10
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4998f2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x480
mov eax, dword [0x544070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x474], 0
cmp dword [edi], 0
je 0x405fae
xorps xmm0, xmm0
movups xmmword [ebp - 0x428], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov dword [ebp - 0x480], ecx
mov eax, 0x88888889
mov ecx, edx
shr ecx, 6
mul ecx
mov eax, 0x88888889
shr edx, 5
mov dword [ebp - 0x478], edx
mul edx
mov eax, 0xaaaaaaab
shr edx, 5
mov dword [ebp - 0x47c], edx
mul edx
mov eax, edx
mov edx, dword [ebp - 0x480]
shr eax, 4
mov dword [ebp - 0x484], eax
imul eax, ecx, 0x3e8
sub edx, eax
mov dword [ebp - 0x488], edx
mov edx, dword [ebp - 0x478]
imul eax, edx, 0xffffffc4
add ecx, eax
mov dword [ebp - 0x48c], ecx
mov ecx, dword [ebp - 0x47c]
imul eax, ecx, 0xffffffc4
add edx, eax
imul eax, dword [ebp - 0x484], 0xffffffe8
mov dword [ebp - 0x478], edx
add ecx, eax
lea eax, [ebp - 0x428]
push eax
mov dword [ebp - 0x47c], ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
test esi, esi
je 0x405e27
lea ecx, [ebp - 0x470]
call fcn.004058d0
mov ecx, 1
jmp 0x405e5f
push 0
push 0x4b10ad
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
call fcn.00402c80
lea eax, [ebp - 0x440]
mov ecx, 2
mov dword [ebp - 0x474], ecx
lea ecx, [ebp - 0x458]
push eax
call fcn.00405850
mov eax, dword [ebp - 0x474]
test al, 2
je 0x405ec5
mov ecx, dword [ebp - 0x42c]
and eax, 0xfffffffd
mov dword [ebp - 0x474], eax
cmp ecx, 0x10
jb 0x405eaa
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x440]
lea ecx, [ebp - 0x440]
call fcn.00402eb0
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
test al, 1
je 0x405ee7
mov eax, dword [ebp - 0x45c]
cmp eax, 0x10
jb 0x405ee7
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.00402eb0
cmp dword [ebp - 0x444], 0x10
lea eax, [ebp - 0x458]
mov ecx, str.________________________________n_Closed__at_:__.4d__.2d__.2d__.2d:_.2d:_.2d_n_UpTime_____:__u_Days__.2uh__.2um__.2us_::__u_ms___u__n_s________________________________n
cmovae eax, dword [ebp - 0x458]
test esi, esi
push eax
push dword [ebp - 0x480]
movzx eax, word [ebp - 0x41c]
push dword [ebp - 0x488]
push dword [ebp - 0x48c]
push dword [ebp - 0x478]
push dword [ebp - 0x47c]
push dword [ebp - 0x484]
push eax
movzx eax, word [ebp - 0x41e]
push eax
movzx eax, word [ebp - 0x420]
push eax
movzx eax, word [ebp - 0x422]
push eax
movzx eax, word [ebp - 0x426]
push eax
movzx eax, word [ebp - 0x428]
push eax
mov eax, str.________________________________n_Started_at_:__.4d__.2d__.2d__.2d:_.2d:_.2d_n_UpTime_____:__u_Days__.2uh__.2um__.2us_::__u_ms___u__n_Version____:__s_n________________________________n
cmove eax, ecx
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00405c70
add esp, 0x3c
lea ecx, [ebp - 0x418]
mov esi, eax
call fcn.00405c90
push dword [edi]
lea eax, [ebp - 0x418]
push esi
push 1
push eax
call fcn.0047bc0c
mov eax, dword [ebp - 0x444]
add esp, 0x10
cmp eax, 0x10
jb 0x405fae
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.00402eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045bdad
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4