Function at 0x410610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6112d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x6e0ea0]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push 0x6c3db8
push eax
mov byte [esp + 0x38], 2
call fcn.004ec2c0
mov ecx, dword [0x6fea94]
add esp, 8
xor eax, eax
test ecx, ecx
mov dword [esp + 0x1c], eax
jle 0x410812
lea ecx, [esi + 0x6110]
lea edi, [esi + 0x288]
push ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
mov cl, byte [esi + eax + 0xa031]
test cl, cl
je 0x4107e2
inc eax
lea edx, [esp + 0x18]
push eax
push str.Camera_d
push edx
call fcn.004ec2c0
add esp, 0xc
xor eax, eax
lea ebp, [esi + 0x248]
lea ebx, [eax + 1]
lea eax, [esp + 0x14]
push ebx
push str.Day_d
push eax
call fcn.004ec2c0
add esp, 0xc
lea ecx, [esp + 0x10]
push str.______________________________________________
call fcn.004ea6a0
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.004e9cc0
mov cx, word [edi]
mov edx, dword [esp + 0x10]
add cx, 0x30
add edi, 4
mov word [esi + edx], cx
add esi, 4
cmp esi, 0x60
jl 0x4106db
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
call fcn.0044da50
mov eax, ebx
cmp eax, 7
jl 0x4106b5
mov esi, dword [esp + 0x24]
xor eax, eax
lea ebp, [eax + 1]
lea eax, [esp + 0x14]
push ebp
push str.Day_d
push eax
call fcn.004ec2c0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [esi - 4]
push ecx
push edx
mov dl, byte [esi - 8]
xor ecx, ecx
push eax
test dl, dl
setne cl
push ecx
lea edx, [esp + 0x2c]
push str._d__04d__02d__02d_
push edx
call fcn.004ec2c0
push str.______________________________________________
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x28
lea ecx, [esp + 0x10]
push eax
push str.______________________________________________
push eax
call fcn.004ea760
xor edi, edi
lea ebx, [esi + 8]
lea ecx, [esp + 0x10]
call fcn.004e9cc0
mov ax, word [ebx]
mov ecx, dword [esp + 0x10]
add ax, 0x30
add ebx, 4
mov word [edi + ecx + 0x1a], ax
add edi, 4
cmp edi, 0x60
jl 0x41077c
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [edx + 0x268]
call fcn.0044da50
mov eax, ebp
add esi, 0x70
cmp eax, 4
jl 0x410721
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004104c0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, dword [0x6fea94]
inc eax
add edi, 0x2a0
add edx, 0x1c0
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edx
jl 0x41068a
pop ebp
xor ecx, ecx
lea edx, [esp + 0xc]
mov cl, byte [esi + 0x190]
push ecx
push 0x6c2acc
push edx
call fcn.004ec2c0
add esp, 0xc
lea ecx, [esp + 0x14]
push str.Schedule
call fcn.004ea6a0
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push str.Enable
lea ecx, [esp + 0x18]
lea edi, [esi + 0x248]
call fcn.004ea6a0
push eax
push ebx
mov ecx, edi
call fcn.0044da50
mov al, byte [esi + 0xa055]
test al, al
je 0x410870
mov ecx, esi
call fcn.004105a0
mov ecx, edi
call fcn.0044d8a0
lea ecx, [esi + 0x268]
call fcn.0044d8a0
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.MSVCRT.dll_free]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4108a4
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4108a4
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4108c0
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4108c0
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4108db
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4108db
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret