Function at 0x468360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x635996
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x71de04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x268], ebx
xor eax, eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
lea ecx, [ebp - 0x284]
mov dword [ebp - 4], eax
xor esi, esi
mov dword [ebp - 0x258], eax
call fcn.004c176d
movaps xmm0, xmmword [0x6629a0]
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], 0x46
mov dword [ebp - 0x22c], 0xffffffff
call fcn.005f03e0
mov dword [ebp - 0x264], eax
add esp, 4
and eax, edx
mov dword [ebp - 0x260], edx
cmp eax, 0xffffffff
jne 0x468421
push 0x80070057
call fcn.00416410
movaps xmm0, xmmword [0x6629b0]
lea eax, [ebp - 0x24c]
push eax
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0x8a
mov dword [ebp - 0x22c], 0xffffffff
call fcn.005f03e0
mov ecx, eax
mov dword [ebp - 0x250], eax
and ecx, edx
mov dword [ebp - 0x254], edx
add esp, 4
cmp ecx, 0xffffffff
jne 0x46847b
push 0x80070057
call fcn.00416410
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004a0318
add esp, 0xc
mov dword [ebx + 0xf7b8], 1
mov ecx, ebx
mov dword [ebx + 0xf66c], 0
call fcn.00478eb0
add ebx, 0x1fc4
cmp word [ebx], 0
jne 0x4684bc
xor eax, eax
jmp 0x4684d0
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4684c1
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x228]
call fcn.00415720
push esi
push str.Qsave_02d.dat
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.0041a3d0
add esp, 0x10
cmp word [ebp - 0x210], 0
jne 0x468505
xor ecx, ecx
jmp 0x46851f
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468510
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.0041a260
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x284]
push eax
call fcn.004c187b
mov edi, eax
cmp edi, 1
jne 0x4685a8
lea ecx, [ebp - 0x284]
call fcn.004c1a2e
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x284]
call fcn.004c1d39
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [ebp - 0x254]
jg 0x4685a8
mov eax, dword [ebp - 0x264]
jl 0x468596
cmp eax, dword [ebp - 0x250]
jae 0x4685a8
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x258], esi
lea ecx, [ebp - 0x284]
call fcn.004c1822
test edi, edi
je 0x468649
inc esi
cmp esi, 0x32
jl 0x4684b2
cmp word [ebx], 0
jne 0x4685cf
xor ecx, ecx
jmp 0x4685e3
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4685d4
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x228]
call fcn.00415720
mov eax, dword [ebp - 0x258]
push eax
push str.Qsave_02d.dat
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.0041a3d0
add esp, 0x10
cmp word [ebp - 0x210], 0
jne 0x46861e
xor ecx, ecx
jmp 0x468636
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468627
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.0041a260
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0x662810
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.005ef4e8
mov eax, dword [ebp - 0x25c]
add esp, 0xc
test eax, eax
je 0x4686a4
push eax
mov eax, dword [ebp - 0x268]
push dword [eax + 0x119c]
push 1
push dword [eax + 0x1194]
call fcn.005efbfb
push dword [ebp - 0x25c]
call fcn.005ef6c7
add esp, 0x14
lea ecx, [ebp - 0x284]
call fcn.004c17a7
mov eax, dword [ebp - 0x214]
cmp eax, 8
jb 0x4686cd
inc eax
lea ecx, [ebp - 0x228]
push eax
push dword [ebp - 0x228]
call fcn.00415820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e0710
mov esp, ebp
pop ebp
ret