Function at 0x472b1c
Capabilities:
Create directory
Delete file
Write file on windows

Disassembly:
push 0x7c
mov eax, 0x68d65e
call fcn.0056e23b
mov esi, ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x6c], edi
cmp dword [esi], edi
jne 0x472c4d
lea edi, [esi + 0xc]
cmp dword [edi + 0x14], 8
jb 0x472b56
mov eax, dword [edi]
jmp 0x472b58
mov eax, edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x472c24
cmp dword [edi + 0x14], 8
jb 0x472b73
mov eax, dword [edi]
jmp 0x472b75
mov eax, edi
push 0
push 1
push eax
push dword [ebp - 0x68]
mov ecx, esi
call fcn.00473359
cmp dword [ebp - 0x70], 0
mov dword [esi], 1
je 0x472bdf
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0x5c
push eax
mov ecx, edi
call fcn.0043ccf9
cmp eax, 0xffffffff
je 0x472bdf
push 0xffffffffffffffff
inc eax
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00407b80
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x472bc6
mov eax, dword [eax]
mov ecx, dword [ebp - 0x70]
push eax
call fcn.004179fb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00401d60
test ebx, ebx
je 0x472c42
cmp dword [edi + 0x14], 8
jb 0x472beb
mov edi, dword [edi]
push 0
push 0x2000080
push 3
push 0
push 1
push SysReAllocString
push edi
call fcn.005654e9
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x472c42
mov ecx, dword [ebp - 0x68]
push edi
call fcn.0045e2db
push edi
mov dword [ebx], eax
mov dword [ebx + 4], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x472c42
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x472c39
mov dword [esi], 2
jmp 0x472c4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
cmp dword [esi], 2
jne 0x472f5c
xor edi, edi
cmp dword [esi + 4], edi
jne 0x472db3
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x78], edi
call fcn.004173bc
mov dword [ebp - 4], 1
lea eax, [esi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x472c73
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push 0x6c2eac
push eax
call fcn.0041ccda
lea eax, [ebp - 0x78]
push eax
push 0x6c2ec8
push 0x796118
call fcn.00568f5e
add esp, 0x18
mov dword [ebp - 0x74], eax
test eax, eax
je 0x472d89
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push edi
cmovae ecx, dword [ebp - 0x28]
push 0x80
push 1
push edi
push edi
push 0x40000000
push ecx
call fcn.005654e9
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x472d60
mov ecx, dword [ebp - 0x68]
push ebx
push edi
call fcn.0045f88a
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
lea eax, [ebp - 0x84]
xorps xmm0, xmm0
push eax
push 0
push edi
movlpd qword [ebp - 0x88], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x472d1f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x472d6d
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push 0
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x74]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x70]
mov dword [esi + 4], 1
test eax, eax
je 0x472d7b
push str.Readme.txt
mov ecx, eax
call fcn.004179fb
jmp 0x472d7b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x50
jne 0x472d76
mov dword [esi + 4], 2
jmp 0x472d7b
call edi
mov dword [ebp - 0x6c], eax
push 1
push dword [ebp - 0x74]
call fcn.0056df27
pop ecx
pop ecx
jmp 0x472d90
mov dword [ebp - 0x6c], 0xe
cmp dword [esi + 4], 2
je 0x472da7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
jmp 0x472f5c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov eax, dword [esi + 0x80]
test eax, eax
je 0x472ee9
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x28]
add eax, ecx
cmp eax, 0x400
jae 0x472ee9
lea ecx, [ebp - 0x48]
call fcn.004173bc
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004173bc
mov byte [ebp - 4], 3
cmp dword [esi + 0x3c], 8
jb 0x472dfa
mov edi, dword [esi + 0x28]
jmp 0x472dfd
lea edi, [esi + 0x28]
mov ecx, dword [esi + 0x80]
lea eax, [ebp - 0x2c]
push eax
call fcn.004732d0
push eax
push edi
lea eax, [ebp - 0x48]
push 0x6c2ef8
push eax
call fcn.0041ccda
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
xor ecx, ecx
push ecx
push ecx
push 1
push ecx
push ecx
push 0xc0000000
push eax
call fcn.005654e9
mov edi, eax
add esp, 0x2c
cmp edi, 0xffffffff
jne 0x472e6e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x50
je 0x472def
call edi
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
jmp 0x472d9d
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x68]
push edi
call fcn.0045f88a
cmp dword [ebp + 0x10], 0
je 0x472e87
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x472ea6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004179fb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x64]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0041d41a
mov byte [ebp - 4], 4
lea eax, [ebp - 0x64]
mov ecx, dword [esi + 0x80]
add ecx, 0x24
push eax
push dword [ecx]
call fcn.00423fa8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.0041786a
inc dword [esi + 0x88]
jmp 0x472e56
push dword [ebp - 0x70]
mov ecx, esi
call fcn.004729e4
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x472f5c
lea edi, [esi + 0x28]
cmp dword [edi + 0x14], 8
jb 0x472f07
mov eax, dword [edi]
jmp 0x472f09
mov eax, edi
push 0
push dword [ebp + 0x10]
mov ecx, esi
push eax
push dword [ebp - 0x68]
call fcn.00473359
test ebx, ebx
je 0x472f5c
cmp dword [edi + 0x14], 8
jb 0x472f25
mov edi, dword [edi]
push 0
push 0x2000080
push 3
push 0
push 1
push SysReAllocString
push edi
call fcn.005654e9
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x472f5c
mov ecx, dword [ebp - 0x68]
push esi
call fcn.0045e2db
push esi
mov dword [ebx], eax
mov dword [ebx + 4], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x6c]
call fcn.0056e1e5
ret 0x10