Function at 0x45bca3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a29da
mov eax, dword fs:[0]
push eax
sub esp, 0xed0
mov eax, dword [0x606c40]
xor eax, esp
mov dword [esp + 0xec8], eax
push ebx
push esi
push edi
mov eax, dword [0x606c40]
xor eax, esp
push eax
lea eax, [esp + 0xee0]
mov dword fs:[0], eax
xor eax, eax
mov esi, 0x206
xor edi, edi
push esi
mov word [esp + 0xcd0], ax
lea eax, [esp + 0xcd2]
push edi
push eax
mov ebx, ecx
mov dword [esp + 0x20], edi
call fcn.005847c0
lea eax, [ebx + 0xc8]
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x45bd1d
mov eax, dword [eax + 4]
jmp 0x45bd20
add eax, 4
push 0x5d694c
push eax
lea eax, [esp + 0xcd4]
push eax
call dword [0x5b14d0]
lea eax, [esp + 0xccc]
push eax
call dword [0x5b14d8]
test eax, eax
je 0x45bfa1
cmp dword [ebp + 8], edi
jne 0x45bd7c
cmp dword [ebx + 0x54], 8
jb 0x45bd5a
mov ebx, dword [ebx + 0x40]
jmp 0x45bd5d
add ebx, 0x40
push edi
lea eax, [esp + 0xcd0]
push edi
push eax
call fcn.004259b5
add esp, 0xc
mov dword [esp + 0x14], 1
jmp 0x45bfa1
xor eax, eax
push esi
mov word [esp + 0xac8], ax
lea eax, [esp + 0xaca]
push edi
push eax
call fcn.005847c0
add esp, 0xc
push str.main.ico
push str.ico_newmv
call fcn.00403ab6
push eax
push 0x5d6994
lea eax, [esp + 0xad4]
push 0x103
push eax
call fcn.0057d72e
add esp, 0x18
xor eax, eax
push 9
mov word [esp + 0xaa0], ax
pop ecx
lea edi, [esp + 0xa9e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0xc]
lea ecx, [eax - 1]
cmp ecx, 8
ja 0x45bdff
push eax
push str._d.ico
lea eax, [esp + 0xaa4]
push 0x13
push eax
call fcn.0057d72e
add esp, 0x10
jmp 0x45be16
push str.n.ico
lea eax, [esp + 0xaa0]
push 0x13
push eax
call fcn.0057d72e
add esp, 0xc
lea ecx, [esp + 0xac4]
call fcn.00472d66
lea esi, [esp + 0x24c]
call fcn.00508634
push str.BINARY
xor esi, esi
push str.IDR_NEWMV_ZIP
mov dword [esp + 0xef0], esi
push dword [0x621c1c]
lea ecx, [esp + 0x258]
call fcn.005086e6
test eax, eax
je 0x45bf4b
lea eax, [esp + 0x24c]
push eax
call fcn.0050879f
mov edi, eax
test edi, edi
jle 0x45bf3f
and dword [esp + 0x1c], 0
push 0x22c
lea eax, [esp + 0x24]
push 0
push eax
call fcn.005847c0
add esp, 0xc
push esi
lea edx, [esp + 0x20]
lea ecx, [esp + 0x250]
call fcn.005087f3
test eax, eax
je 0x45bf3f
test byte [esp + 0x228], 0x10
jne 0x45bec6
lea eax, [esp + 0xa9c]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0057d999
pop ecx
pop ecx
test eax, eax
je 0x45becd
inc esi
cmp esi, edi
jl 0x45be72
jmp 0x45bf3f
push dword [esp + 0x1c]
lea esi, [esp + 0x250]
call fcn.005088e0
mov esi, eax
test esi, esi
je 0x45bf3f
push 5
lea eax, [esp + 0xac8]
push eax
xor edi, edi
push edi
push edi
call dword [0x5b1428]
push 0x5cba40
lea eax, [esp + 0xac8]
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], edi
call fcn.0058138c
add esp, 0xc
test eax, eax
jne 0x45bf38
push dword [esp + 0x18]
push dword [esp + 0x24c]
push 1
push esi
call fcn.00581b18
push dword [esp + 0x28]
call fcn.00581c11
add esp, 0x14
push esi
call fcn.0057db06
pop ecx
lea ecx, [esp + 0x24c]
call fcn.0050877f
lea eax, [esp + 0xac4]
push eax
call dword [0x5b14d8]
test eax, eax
je 0x45bf8d
cmp dword [ebx + 0x54], 8
jb 0x45bf68
mov ebx, dword [ebx + 0x40]
jmp 0x45bf6b
add ebx, 0x40
lea eax, [esp + 0xac4]
push eax
lea eax, [esp + 0xcd0]
push 0
push eax
call fcn.004259b5
add esp, 0xc
mov dword [esp + 0x14], 1
or dword [esp + 0xee8], 0xffffffff
lea ecx, [esp + 0x24c]
call fcn.005086b3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xee0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xec8]
xor ecx, esp
call fcn.0057d6ce
mov esp, ebp
pop ebp
ret 8