Function at 0x7379d7
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b42a9
mov eax, dword fs:[0]
push eax
mov eax, 0x158c
call fcn.006e6170
mov eax, dword [0x8cf144]
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
call fcn.00402330
mov ebx, 0x208
lea eax, [ebp - 0x718]
push ebx
xor esi, esi
push esi
push eax
call fcn.007512b0
push str.C:log_
lea eax, [ebp - 0x718]
push 0x104
push eax
call fcn.0076171a
push 0x3e8
lea eax, [ebp - 0xf90]
push esi
push eax
call fcn.007512b0
add esp, 0x24
mov dword [ebp - 0x1598], esi
mov dword [ebp - 0x1594], esi
mov dword [ebp - 0x1590], esi
mov dword [ebp - 4], esi
lea edi, [ebp - 0x130c]
push 0x71
pop ecx
mov esi, str.C9LxklysHKd8yaSgiIE1lV7NBXYWQ7izCz9FgcEBWiKUSiGFOTSXG5fjRtYLYRtLmnQDq32pu3QvSuHOge7sBVIHmyQugiXXYrCGtV8D8BlFcIOxSy2U4ZRbgkMfcPLgycm3uH0z9DNefA3m9ZjdBraCigbnKkyWIbtrAwgldpLrGcgiBIPLEJWodP7kycE7LHLVK9BWJFiMbmMaAEpaWlind1ow0r9JDvxhKQoxUdsvCft6XcULE2KbFZ3TvSDh79ooZgUJXqshyvLhqAvcQot5keJ2yMVQINtFCQCeOYbATwcwhq4XvxQxLk0JX4Vy29hMZ7Ew6vQMgBu9ucWJ2gWrlThesaMKzJ8Ylp3rUCFFP8YsT6AiYBiQSAJI4zlmBK7u1xs5syr0BboTdJICFqwQNXRv80meEErraVa9gMlrSqBEiBnRwB7PhqbXduOmMji2k
lea eax, [ebp - 0x130c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x1518]
movsw word es:[edi], word [esi]
call fcn.00405a00
xor eax, eax
lea ecx, [ebp - 0x1598]
inc eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x1518]
push eax
call fcn.00407ea0
xor esi, esi
lea ecx, [ebp - 0x1518]
push esi
push 1
call fcn.006eb1be
lea eax, [ebp - 0x718]
push eax
lea eax, [ebp - 0x420]
push str._sxzq.log
push eax
call fcn.007378e5
push ebx
lea eax, [ebp - 0xba8]
push esi
push eax
call fcn.007512b0
push ebx
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.007512b0
add esp, 0x24
mov dword [ebp - 0x158c], ebx
mov dword [ebp - 0x1588], ebx
mov dword [ebp - 0x1584], ebx
push 0x4c
pop ecx
mov esi, str.N9UJ4o7nxyKi5g9U6mfw42PEXsLNOZ5VYZqaaWFEQsgtSWftBHLvJiYMINa6Cpgn2Iz2YhwF739uBkDar9SnUQ5PDfNZakCUKp8o0e73VlVKeUPaZu26leNwIJzUKgDnf5AN61eYD9F3n8XHclbDo36m1XCA5sIq7QehcV7VeYLwS51tn0L756s5mu62HwjGWLX9VnRpByxA8rOvs7HzLLwItrq00IRSyttwVwN7eIs6hW2tXjdBufM0jmJy6Tjz4yWJElDA8YmgHWEPo75ncFFvaUU2y4MW3K1tb0gSu8r7t9ay
mov byte [ebp - 4], 2
lea edi, [ebp - 0x84c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x84c]
push eax
lea ecx, [ebp - 0x1518]
movsb byte es:[edi], byte [esi]
call fcn.00405a00
lea eax, [ebp - 0x1518]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x158c]
call fcn.00407ea0
push ebx
push 1
lea ecx, [ebp - 0x1518]
mov byte [ebp - 4], 2
call fcn.006eb1be
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.007505c4
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
call fcn.006ee3d9
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x420]
push eax
call ebx
test eax, eax
je 0x737e7e
xor esi, esi
mov dword [ebp - 0x150c], esi
mov dword [ebp - 0x1508], esi
mov dword [ebp - 0x1504], esi
push 0x3c
pop ecx
mov esi, str.YMSB3AJpHGK7GMeZ7WL8UITGWp13QAp377Dm6wggzvDxr6jAU9p8AvSbz6TZ1EJtsZAEmh4xTsXrcn3aQU9uH1P5d3k7ZLLq4uDfK3IiVH8JWKy1Ap4hgmDw4H7JdZt5wjDjlYD5gZTIEwab22MztmA9W4p8S6gACu1CcEm53IPMjIJMWD0zNB9g2sSBpNVF8NFg4VTKZANFDN1izGftN5JVrORz9GdBOs2Mv6rQlgjvJTC
mov byte [ebp - 4], 4
lea edi, [ebp - 0x510]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x1560]
call fcn.00405a00
lea eax, [ebp - 0x1560]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x150c]
call fcn.00407ea0
xor esi, esi
mov byte [ebp - 4], 4
xor edi, edi
lea ecx, [ebp - 0x1560]
push esi
inc edi
push edi
call fcn.006eb1be
lea eax, [ebp - 0x218]
push eax
call fcn.00761599
lea ecx, [ebp - 0x216]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0xba8]
push 0x104
push eax
call fcn.0076171a
lea eax, [ebp - 0xba8]
push eax
lea eax, [ebp - 0x718]
push eax
lea eax, [ebp - 0x420]
push str._s_s.txt
push eax
call fcn.007378e5
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xf90]
push 0x1f3
push 0x1f4
push eax
call fcn.00405060
xor eax, eax
add esp, 0x38
mov word [ebp - 0xbaa], ax
lea eax, [ebp - 0x420]
push eax
call ebx
test eax, eax
mov ecx, esi
cmovne ecx, edi
mov dword [ebp - 0x1580], ecx
call fcn.006f01f5
lea eax, [ebp - 0x420]
push 0x896d0c
push eax
call fcn.00758520
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x737e73
mov dword [ebp - 0x1554], esi
mov dword [ebp - 0x1550], esi
mov dword [ebp - 0x154c], esi
push 0x7c
pop ecx
mov esi, str.SM8tMitm7B40MEU6wpfW76R2TmTAolOaj0o8vPQWyQISg3l4lTr8hVRSUnhXPzrcMStxoCQRiPmOdW78cYoqhvsBRpwSdt16gmqPSBY63K56vxn6aJIWksh0aQlnAzyp8HKASCspnKf4IvYRKczCVFVyMwRixPvJutXVkmuopO1M81hjhP3wVY8oOMbhdc6CfLKp1HoynLQcBVxMW7tkN9JfvaZ2sYVgor6m8Xqm2wGz4wITb6ytbmpC8cHk3vbdilxifusZrzuDGLacbG2BDj27BBNP3FeQQv2pjB7R07mbjbJhldtuEvRhNBeHLwhTOdKxDCGoaKMwUNSur9Bv4q5N9aSVImRqe6EJUF9GO6gZ8DLrctkRHEDAVWuvdOQMnilhldVcXwhAOolcJphWi6UGqkLpzCV73NydMG5CQwOrzWKoXvFYqY4WZgtfVwZpLBR9GiQKFbzTrsyiZUQRDcIdIAlxZ9j8tI8pGTWcRRKuS0LN
mov byte [ebp - 4], 6
lea edi, [ebp - 0x1500]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1500]
push eax
lea ecx, [ebp - 0x1548]
movsb byte es:[edi], byte [esi]
call fcn.00405a00
lea eax, [ebp - 0x1548]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1554]
call fcn.00407ea0
xor esi, esi
mov byte [ebp - 4], 6
xor edi, edi
lea ecx, [ebp - 0x1548]
push esi
inc edi
push edi
call fcn.006eb1be
cmp dword [ebp - 0x1580], esi
jne 0x737d2a
call fcn.006f2598
push ebx
push 2
lea eax, [ebp - 0x1580]
mov dword [ebp - 0x1580], 0xfeff
push edi
push eax
call fcn.00759367
add esp, 0x10
mov dword [ebp - 0x153c], esi
mov dword [ebp - 0x1538], esi
mov dword [ebp - 0x1534], esi
push 0x6c
pop ecx
mov esi, str.Cx8DHUjAnufEHIThJbA99aFhQCEHYJJZGwUFkml2b6cb73ZTPmi0oEXcAMBj6yRpf5ewRnAJUiEnJ2Y3u0n8et72NTH41f9tsz0iqYQfTSIAHzwPMG8mv3g3sRORD22AEOzPXBOIsOauw2c8s2n5FzZsZVjOdfC0kpUYR0EbjunEpUTqE6IHVH5h9LBpLzYSGnOHqKKqyHyHmgiRqWPwUc8UZg048TFRd0upAFotkhu9usQ1f0CWC5BDGylriHIAgvMqHPYKn0Qr2fHWndczYIJQfV33GOA80sq1DAxoeo2YWkkpujZV97AYi8tu6kZhlDNlC7Z7BetGZEEGMmPuYZN9ZvviCXmI64NfJ0W7HziFfWnbnRpW34ut7bKSIpEcIn1z37ZgyqIOqOzoEAy73dryQJJsP79XfPUqAZZ2IjRxoHwk
mov byte [ebp - 4], 8
lea edi, [ebp - 0x1144]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1144]
push eax
lea ecx, [ebp - 0x1530]
movsb byte es:[edi], byte [esi]
call fcn.00405a00
lea eax, [ebp - 0x1530]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x153c]
call fcn.00407ea0
xor esi, esi
lea ecx, [ebp - 0x1530]
xor edi, edi
push esi
inc edi
push edi
call fcn.006eb1be
lea eax, [ebp - 0xf90]
push eax
call fcn.00761599
push ebx
add eax, eax
push eax
lea eax, [ebp - 0xf90]
push edi
push eax
call fcn.00759367
add esp, 0x14
mov dword [ebp - 0x1524], esi
mov dword [ebp - 0x1520], esi
mov dword [ebp - 0x151c], esi
push 0x54
pop ecx
mov esi, str.QaJAgI6KinS02MmF8TVHJ6ubWI73YlaMgS2o6ZewivOdiIjYakJSvxA5vHSfboNrMUFmBuMFVCCEODnMXs7a2ksKXqYRH3pU4GKX4D6G8OYNuvcF5QBZ0HChYuJctsiqH0C73QsMVcy33u0txtddrzQtqu8rj4w7BZx9cW8E8dDslx6efl0gKE1Fxya1Zg6BWx7EgSwYwAqOcMgFDH4SXbfG65yF554OEMUILIpFZzzrMp4mYYJYrLix3O1R5DEYfbUvrBoAVyJZkTsaZ5zNB7LcCdVLqZCEEqCHACMNW4Ud0XkSzjDPGtdDasPgqQ1wXj2A6QJhXMvJ4HH0j6
mov byte [ebp - 4], 0xa
lea edi, [ebp - 0x9a0]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x9a0]
push eax
lea ecx, [ebp - 0x1578]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00405a00
lea eax, [ebp - 0x1578]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x1524]
call fcn.00407ea0
xor esi, esi
mov byte [ebp - 4], 0xa
push esi
inc esi
lea ecx, [ebp - 0x1578]
push esi
call fcn.006eb1be
push ebx
push 2
lea eax, [ebp - 0x157c]
mov dword [ebp - 0x157c], 0xd
push esi
push eax
call fcn.00759367
mov dword [ebp - 0x157c], 0xa
call fcn.006eb9b9
push ebx
push 2
push esi
lea eax, [ebp - 0x157c]
push eax
call fcn.00759367
push ebx
call fcn.007582f3
add esp, 0x24
lea ecx, [ebp - 0x1524]
call fcn.006eb210
lea ecx, [ebp - 0x153c]
call fcn.006eb210
lea ecx, [ebp - 0x1554]
call fcn.006eb210
lea ecx, [ebp - 0x150c]
call fcn.006eb210
lea ecx, [ebp - 0x158c]
call fcn.006eb210
lea ecx, [ebp - 0x1598]
call fcn.006eb210
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.006e615c
mov esp, ebp
pop ebp
ret