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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4603eb
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x47ea94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], 0
push 0x412
push 0
lea eax, [ebp - 0x424]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x42c], 0
push 0x10000
lea ecx, [ebp - 0x468]
call fcn.00401e70
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x430], 0
push 0x208
lea ecx, [ebp - 0x424]
push ecx
call fcn.00436a00
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x436ba6
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x448], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.00401ec0
mov eax, dword [ebp - 0x448]
jmp 0x436e61
push 0
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00437af0
lea ecx, [ebp - 0x468]
call fcn.00401400
mov dword [ebp - 0x440], eax
lea ecx, [ebp - 0x468]
call fcn.00401ee0
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x440], 0
je 0x436c0b
cmp dword [ebp - 0x428], 0
jne 0x436c32
mov dword [ebp - 0x44c], 0x65b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.00401ec0
mov eax, dword [ebp - 0x44c]
jmp 0x436e61
mov ecx, dword [ebp - 0x428]
add ecx, 1
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x436c7b
mov dword [ebp - 0x450], 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.00401ec0
mov eax, dword [ebp - 0x450]
jmp 0x436e61
mov edx, dword [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x42c]
add edx, dword [ebp - 0x428]
mov byte [edx], 0
mov dword [ebp - 0x438], 0
jmp 0x436cc2
mov eax, dword [ebp - 0x438]
add eax, 1
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 0x438]
cmp ecx, dword [ebp - 0x428]
jae 0x436cf2
mov edx, dword [ebp - 0x42c]
add edx, dword [ebp - 0x438]
movsx eax, byte [edx]
xor eax, 0x2b
mov ecx, dword [ebp - 0x42c]
add ecx, dword [ebp - 0x438]
mov byte [ecx], al
jmp 0x436cb3
mov edx, dword [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x440]
push eax
call fcn.00437c10
add esp, 8
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x434], 0xffffffff
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0xffffffff
je 0x436e1a
mov dword [ebp - 0x444], 0
push 0
lea edx, [ebp - 0x444]
push edx
push 4
lea eax, [ebp - 0x454]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x436de1
cmp dword [ebp - 0x444], 4
jne 0x436de1
push 0
lea edx, [ebp - 0x444]
push edx
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
mov edx, dword [ebp - 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x436dd5
mov eax, dword [ebp - 0x444]
cmp eax, dword [ebp - 0x428]
jne 0x436dd5
mov dword [ebp - 0x430], 0
jmp 0x436ddf
mov dword [ebp - 0x430], 0x570
jmp 0x436deb
mov dword [ebp - 0x430], 0x570
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x434], 0
cmp dword [ebp - 0x43c], 0
jne 0x436e18
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x436e24
mov dword [ebp - 0x430], 2
cmp dword [ebp - 0x42c], 0
je 0x436e3d
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x458], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.00401ec0
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045be1b
mov esp, ebp
pop ebp
ret