Function at 0x69644b39
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov eax, 0x102c
call fcn.696475d0
sub esp, eax
call sym._F7UJrkeqXcvO2
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x69644b63
mov eax, 0
jmp 0x69644ec7
mov dword [esp], 0x4c2
call sym._affZoZyj5QQfO
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], str.87f6185243377f1eeac7328cdade90be9eae1a95113ceaae49a0519f1f6d16ab06d63de77904ab83
lea eax, [ebp - 0x3fb]
mov ebx, 0x69650160
mov edx, 0x3a3
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + edx - 4]
mov dword [eax + edx - 4], ecx
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
sub ebx, eax
add edx, eax
and edx, 0xfffffffc
mov eax, edx
shr eax, 2
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3fb]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 0x3a3
call sym._y2Ob5
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], str.3394e21c3a7c08be
lea eax, [ebp - 0x7f7]
mov ebx, 0x69650520
mov edx, 0x3fc
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + edx - 4]
mov dword [eax + edx - 4], ecx
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
sub ebx, eax
add edx, eax
and edx, 0xfffffffc
mov eax, edx
shr eax, 2
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x7f7]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], 0x3fc
call sym._y2Ob5
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4c2
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._snprintf
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
movsx eax, al
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strrchr
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], str.bdde50f6bd24b8be04bfe3f8fbc3c39a275f58010067d2715cef196d6c10e03c
lea eax, [ebp - 0xbdb]
mov ebx, 0x69650920
mov edx, 0x3e4
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + edx - 4]
mov dword [eax + edx - 4], ecx
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
sub ebx, eax
add edx, eax
and edx, 0xfffffffc
mov eax, edx
shr eax, 2
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xbdb]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [esp], 0x3e4
call sym._y2Ob5
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._strcmp
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._free
cmp dword [ebp - 0x38], 0
je 0x69644dc3
cmp dword [ebp - 0x44], 0
jne 0x69644dc3
mov dword [ebp - 0x48], str.1ce19ba8900e8b5b
lea eax, [ebp - 0x1017]
mov ebx, 0x69650d20
mov edx, 0x43c
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + edx - 4]
mov dword [eax + edx - 4], ecx
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
sub ebx, eax
add edx, eax
and edx, 0xfffffffc
mov eax, edx
shr eax, 2
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1017]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], 0x43c
call sym._y2Ob5
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call sym._free
jmp 0x69644e48
lea eax, [ebp - 0x1017]
mov ebx, 0x69651160
mov edx, 0x41f
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + edx - 4]
mov dword [eax + edx - 4], ecx
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
sub ebx, eax
add edx, eax
and edx, 0xfffffffc
mov eax, edx
shr eax, 2
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x50], str.4f30b0dcaa6ee2ad79f0b1f4847e0e67
lea eax, [ebp - 0x1017]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov dword [esp], 0x41f
call sym._y2Ob5
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call sym._free
cmp dword [ebp - 0x1c], 0
je 0x69644ec4
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._strlen
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fwrite
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._strlen
cmp dword [ebp - 0x58], eax
je 0x69644eb9
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
call eax
sub esp, 4
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._sgk4njGBbtPefjqY4fKbImdzY0p3PY
mov eax, 0
jmp 0x69644ec7
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x24]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret