Function at 0x438f02
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
sub esp, 0x3e8
lea ebp, [esp - 4]
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp + 0x3e8], eax
push 0x44
mov eax, 0x473bb4
call fcn.004550bc
mov edi, dword [ebp + 0x3f4]
lea ecx, [ebp - 0x50]
call fcn.0044d476
xor esi, esi
push esi
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], esi
call fcn.004087d0
mov byte [ebp - 4], 1
call fcn.00442144
push eax
lea ecx, [ebp - 0x14]
call fcn.0040132d
push 0x483c9c
push edi
mov byte [ebp - 4], 2
call fcn.004589a9
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jne 0x439053
push 0x47b5e0
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004589bc
add esp, 0xc
cmp dword [ebp - 0x10], esi
jne 0x439031
push edi
lea ecx, [ebp - 0x18]
call fcn.00401c93
push eax
lea eax, [ebp - 0x1c]
push 0x49090c
push eax
mov byte [ebp - 4], 3
call fcn.00407549
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0040170c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004010af
lea ecx, [ebp - 0x14]
call fcn.00438cd7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [ebp - 0x40], vtable.CFileException.0
call fcn.004010af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0044d54a
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 + 0x3e8]
xor ecx, ebp
call fcn.004550ad
add ebp, 0x3ec
leave
ret
push 0x478148
push dword [ebp - 0x10]
call fcn.00458f2e
push dword [ebp - 0x10]
call fcn.0045abef
push dword [ebp - 0x10]
call fcn.004584a6
add esp, 0x10
jmp 0x438fe3
push 2
push esi
push eax
call fcn.00458860
push dword [ebp - 0x10]
call fcn.00459b69
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
call fcn.00459d1c
mov eax, dword [ebp - 0x1c]
mov ebx, 0x3e8
cdq
mov ecx, ebx
idiv ecx
xor ecx, ecx
add esp, 0x14
mov dword [ebp - 0x28], esi
cmp edx, esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
setne cl
add ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x28]
and eax, 0x80000001
jns 0x4390a3
dec eax
or eax, 0xfffffffe
inc eax
push ebx
lea eax, [ebp]
je 0x4390ad
push 0x55
jmp 0x4390b2
push 0xaa
push eax
call fcn.00457260
add esp, 0xc
push dword [ebp - 0x10]
call fcn.00459d1c
xor eax, eax
cmp dword [ebp - 0x18], eax
pop ecx
mov dword [ebp - 0x24], eax
jle 0x439107
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x10]
dec eax
cmp dword [ebp - 0x24], eax
jne 0x4390e6
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
push eax
jmp 0x4390eb
push 0xbb8
lea eax, [ebp]
push 1
push eax
call fcn.0045977a
add dword [ebp - 0x20], ebx
add esp, 0x10
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x18]
jl 0x4390d1
push dword [ebp - 0x10]
call fcn.0045abef
pop ecx
push 0xa
call esi
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 3
jl 0x439094
push dword [ebp - 0x10]
call fcn.004584a6
pop ecx
push 0xa
call esi
push 0x47b5e0
push edi
call fcn.004589a9
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jne 0x4391cd
push edi
lea ecx, [ebp - 0x18]
call fcn.00401c93
push eax
lea eax, [ebp - 0x1c]
push 0x49090c
push eax
mov byte [ebp - 4], 5
call fcn.00407549
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0040170c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004010af
lea ecx, [ebp - 0x14]
call fcn.00438cd7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [ebp - 0x40], vtable.CFileException.0
call fcn.004010af
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0044d54a
mov eax, esi
jmp 0x43900e
push 0x478148
push eax
call fcn.00458f2e
push dword [ebp - 0x10]
call fcn.0045abef
add esp, 0xc
push 0xa
call esi
push dword [ebp - 0x10]
call fcn.004584a6
push edi
call fcn.00438e1d
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00401c93
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push 0x49090c
push eax
mov byte [ebp - 4], 7
call fcn.00407549
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0040170c
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.004010af
lea ecx, [ebp - 0x14]
call fcn.00438cd7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xa
call esi
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [ebp - 0x40], vtable.CFileException.0
call fcn.004010af
xor esi, esi
inc esi
jmp 0x4391ba