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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b39c
mov eax, dword fs:[0]
push eax
sub esp, 0x8b4
mov eax, dword [0x437454]
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
mov edi, edx
push edi
mov esi, ecx
mov dword [ebp - 0x8b8], edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - method.CResourceZip.virtual_0], vtable.CResourceZip.0
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 0xffffffff
call fcn.00423b30
add esp, 0xc
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x448]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x448]
call eax
push str.BINARY
push str.IDU_ZIP
push esi
lea ecx, [ebp - 0x448]
call fcn.004141c0
cmp eax, ebx
je 0x40eed1
mov ecx, dword [ebp - 0x440]
mov edx, dword [ebp - 0x444]
push ecx
push edx
call fcn.00418690
add esp, 8
mov dword [ebp - 0x42c], eax
cmp eax, ebx
jne 0x40ef3d
mov eax, dword [ebp - 0x448]
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x448]
call edx
mov dword [ebp - method.CResourceZip.virtual_0], vtable.CResourceZip.0
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], 3
call fcn.00414590
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x444]
mov dword [ebp - method.CResourceFile.virtual_0], vtable.CResourceFile.0
mov dword [ebp - 0x434], ebx
cmp eax, ebx
je 0x40ef1f
cmp dword [ebp - 0x430], ebx
jne 0x40ef1f
push eax
call fcn.0041a9c2
add esp, 4
xor eax, eax
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.0041884c
mov esp, ebp
pop ebp
ret
push 0x22c
lea eax, [ebp - 0x674]
push ebx
push eax
mov dword [ebp - 0x8ac], 1
mov dword [ebp - 0x678], ebx
call fcn.00423b30
add esp, 0xc
lea ecx, [ebp - 0x8bc]
push ecx
mov ecx, 0x431200
call fcn.00405dd0
or ecx, 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x8b0], ecx
cmp dword [ebp - 0x434], ebx
je 0x40efb1
mov eax, dword [ebp - 0x42c]
cmp eax, ebx
je 0x40efb1
push eax
lea edx, [ebp - 0x8a8]
call fcn.00418700
add esp, 4
test eax, eax
jne 0x40efb1
mov edx, dword [ebp - 0x8a8]
mov dword [ebp - 0x8b0], edx
xor esi, esi
mov dword [ebp - 0x8b4], esi
cmp dword [ebp - 0x8b0], ebx
jle 0x40f0ad
jmp 0x40efd0
lea eax, [ebp - 0x448]
push eax
lea edx, [ebp - 0x678]
mov ecx, esi
call fcn.00414600
test eax, eax
je 0x40f092
push edi
lea ecx, [ebp - 0x880]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x674]
push edx
lea eax, [ebp - 0x880]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test byte [ebp - 0x46c], 0x10
je 0x40f027
push ebx
lea ecx, [ebp - 0x880]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40f092
push esi
lea esi, [ebp - 0x448]
call fcn.004146f0
mov edi, eax
cmp edi, ebx
je 0x40f0a7
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea edx, [ebp - 0x880]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40f0a7
mov ecx, dword [ebp - 0x44c]
push ebx
lea eax, [ebp - 0x8c0]
push eax
push ecx
push edi
push esi
mov dword [ebp - 0x8c0], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x40f0a7
mov esi, dword [ebp - 0x8b4]
mov edi, dword [ebp - 0x8b8]
inc esi
mov dword [ebp - 0x8b4], esi
cmp esi, dword [ebp - 0x8b0]
jl 0x40efd0
jmp 0x40f0ad
mov dword [ebp - 0x8ac], ebx
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x434], ebx
cmp eax, ebx
je 0x40f0ce
cmp dword [ebp - 0x430], ebx
jne 0x40f0ce
push eax
call fcn.0041a9c2
add esp, 4
mov edi, dword [ebp - 0x42c]
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
cmp edi, ebx
je 0x40f11a
cmp dword [edi], 1
je 0x40f0fb
mov dword [0x44c010], 0x80000
jmp 0x40f11a
mov esi, dword [edi + 4]
call fcn.00418630
push esi
mov dword [0x44c010], eax
call fcn.0041a43e
add esp, 4
push edi
call fcn.0041a43e
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x8bc]
add eax, 0xfffffff0
mov dword [ebp - 0x42c], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f145
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - method.CResourceZip.virtual_0], vtable.CResourceZip.0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x434], ebx
cmp eax, ebx
je 0x40f177
cmp dword [ebp - 0x430], ebx
jne 0x40f177
push eax
call fcn.0041a9c2
add esp, 4
mov eax, dword [ebp - 0x42c]
xor ecx, ecx
mov dword [ebp - 0x444], ecx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
cmp eax, ebx
je 0x40f1cd
cmp dword [eax], 1
mov edi, eax
je 0x40f1a8
mov dword [0x44c010], 0x80000
jmp 0x40f1cd
mov esi, dword [eax + 4]
call fcn.00418630
push esi
mov dword [0x44c010], eax
call fcn.0041a43e
add esp, 4
push edi
call fcn.0041a43e
mov ecx, dword [ebp - 0x444]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x42c], ebx
mov dword [ebp - method.CResourceFile.virtual_0], vtable.CResourceFile.0
mov dword [ebp - 0x434], ebx
cmp ecx, ebx
je 0x40f1ff
cmp dword [ebp - 0x430], ebx
jne 0x40f1ff
push ecx
call fcn.0041a9c2
add esp, 4
mov eax, dword [ebp - 0x8ac]
jmp 0x40ef21