Function at 0x682050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x729f78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], vtable.CSyncLyricsCache::CSync.0
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x682099
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
mov byte [ebp - 4], 1
test eax, eax
je 0x682299
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x682299
push 2
push 0
push eax
call fcn.006b724c
push dword [esi + 8]
call fcn.006b765f
add esp, 0x10
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x40]
call fcn.005c3740
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, esi
call fcn.00681ee0
lea ecx, [edi + 8]
call fcn.004290e0
test eax, eax
jne 0x682106
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 8]
call fcn.004289a0
lea ecx, [edi + 0xc]
call fcn.004290e0
test eax, eax
jne 0x68211e
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0xc]
call fcn.004289a0
lea ecx, [edi + 0x10]
call fcn.004290e0
test eax, eax
jne 0x682136
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 0x10]
call fcn.004289a0
lea ecx, [edi + 0x14]
call fcn.004290e0
test eax, eax
jne 0x68214e
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x14]
call fcn.004289a0
lea ecx, [edi + 0x18]
call fcn.004290e0
test eax, eax
jne 0x682166
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x18]
call fcn.004289a0
lea ecx, [edi + 0x1c]
call fcn.004290e0
test eax, eax
jne 0x68217e
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x1c]
call fcn.004289a0
lea ecx, [edi + 0x20]
call fcn.004290e0
test eax, eax
jne 0x682196
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x20]
call fcn.004289a0
lea ecx, [edi + 0x24]
call fcn.004290e0
test eax, eax
jne 0x6821ae
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x24]
call fcn.004289a0
push dword [esi + 8]
push 1
push 8
push edi
call fcn.006b5539
add esp, 0x10
cmp eax, 1
jb 0x682279
lea eax, [edi + 8]
mov ecx, esi
push eax
call fcn.00682480
test eax, eax
je 0x682279
lea eax, [edi + 0xc]
mov ecx, esi
push eax
call fcn.00682480
test eax, eax
je 0x682279
lea eax, [edi + 0x10]
mov ecx, esi
push eax
call fcn.00682480
test eax, eax
je 0x682279
lea eax, [edi + 0x14]
mov ecx, esi
push eax
call fcn.00682480
test eax, eax
je 0x682279
lea eax, [edi + 0x18]
mov ecx, esi
push eax
call fcn.00682480
test eax, eax
je 0x682279
lea eax, [edi + 0x1c]
mov ecx, esi
push eax
call fcn.00682480
test eax, eax
je 0x682279
lea eax, [edi + 0x20]
mov ecx, esi
push eax
call fcn.00682480
test eax, eax
je 0x682279
lea eax, [edi + 0x24]
mov ecx, esi
push eax
call fcn.00682480
test eax, eax
je 0x682279
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00429100
push eax
lea ecx, [esi + 0xc]
call fcn.004412c0
push dword [esi + 8]
call fcn.006b80ca
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov esi, 1
call fcn.005c4670
jmp 0x68229b
push 0
push dword [ebp + 0xc]
push dword [esi + 8]
call fcn.006b724c
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
xor esi, esi
call fcn.005c4670
jmp 0x68229b
xor esi, esi
test ebx, ebx
je 0x6822a6
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8