Function at 0x1000bc10
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003538f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1007700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
or ebx, 0xffffffff
cmp byte [0x10077150], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
jne 0x1000be3b
push 0x104
push 0
push 0x10078920
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push 0
push 0x10078b28
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push 0
push 0x10078d30
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push 0x10078920
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0x104
push 0x10078d30
push 0x104
push 0x10078b28
push 0
push 0
push 0x10078920
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
push 0x10078b28
push str._sLog
push 0x10078f38
call ebx
add esp, 0xc
push 0
push 0x10078f38
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x10078d30
push 0x10078b28
mov ecx, 0x82
mov esi, 0x10078f38
mov edi, 0x10078b28
push str._s_s.log
rep movsd dword es:[edi], dword [esi]
push 0x10078f38
call ebx
add esp, 0x10
push 0x10078f38
push 0
call fcn.1000bff0
call fcn.10001260
mov ecx, eax
test ecx, ecx
jne 0x1000bd44
push 0x80004005
call fcn.10008930
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x10078d30
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push str.SOFTWARERAZERSynapse3_S
push eax
call fcn.1000cd30
mov esi, dword [ebp - 0x18]
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
cmp dword [esi - 4], 1
jle 0x1000bd92
push dword [esi - 0xc]
lea ecx, [ebp - 0x18]
call fcn.1000c9e0
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], vtable.CRegistry.0
call fcn.10001260
mov ecx, eax
test ecx, ecx
jne 0x1000bdae
push 0x80004005
call fcn.10008930
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.1000fd70
mov dword [ebp - 0x28], 0x80000002
mov byte [ebp - 4], 2
mov eax, dword [0x1007714c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 4
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000fa80
mov eax, dword [ebp - 0x1c]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov dword [0x1007714c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000be1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000be38
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
cmp eax, dword [0x1007714c]
jg 0x1000bfca
cmp byte [0x10077151], 0
je 0x1000bfca
call fcn.1000c4a0
push 0x10077118
mov dword [ebp - 0x34], 0x10077118
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
mov edi, dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
test eax, eax
je 0x1000be81
push eax
call edi
add esp, 4
mov dword [ebp - 4], 3
call fcn.10001260
mov ecx, eax
test ecx, ecx
jne 0x1000be9d
push 0x80004005
call fcn.10008930
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
call fcn.1000b9c0
call fcn.10001260
mov ecx, eax
test ecx, ecx
jne 0x1000beca
push 0x80004005
call fcn.10008930
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
push dword [ebp - 0x30]
push esi
call fcn.1000c880
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.1000c7c0
add esp, 4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.1000cbc0
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000bf22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.1000bb70
mov ecx, dword [0x10077114]
mov esi, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x1000bf74
mov dword [ebp - 0x20], 0
mov eax, dword [esi - 0xc]
add eax, eax
cmp dword [esi - 4], 1
mov dword [ebp - 0x30], eax
jle 0x1000bf65
push dword [esi - 0xc]
lea ecx, [ebp - 0x18]
call fcn.10006c50
mov esi, dword [ebp - 0x18]
mov ecx, dword [0x10077114]
mov eax, dword [ebp - 0x30]
push 0
lea edx, [ebp - 0x20]
push edx
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000bf8f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000bfab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x10077118
mov dword [ebp - 4], 7
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x1000bfca
push eax
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10033482
mov esp, ebp
pop ebp
ret 0xc