Function at 0x43df10
Capabilities:
Delete file
Get file size
Read file on windows
Set file attributes
Timestomp file
Write file on windows

Disassembly:
mov eax, 0x6079d4
call fcn.00465b38
sub esp, 0xb9c
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call fcn.004399ca
mov esi, dword [ebp + 8]
pop ecx
cmp esi, ebx
je 0x43e62b
cmp word [esi], bx
je 0x43e62b
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x43e62b
cmp word [edi], bx
je 0x43e62b
cmp dword [0x69e3b4], ebx
jne 0x43df68
push 0x26a1
push 2
jmp 0x43e632
push esi
call fcn.004529c4
test al, 0x10
pop ecx
mov dword [ebp - 0x58], eax
je 0x43df82
push 0x26a9
push 0x1d
jmp 0x43e632
push edi
call fcn.004529c4
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 0x14], eax
je 0x43dfa1
test al, 0x10
je 0x43dfa1
push 0x26b3
push 0x1e
jmp 0x43e632
mov edi, 0x80
push ebx
push edi
push 3
push ebx
push 5
push SysReAllocStringLen
push esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
call fcn.0043dd74
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x43e582
cmp dword [ebp - 0x14], 0xffffffff
je 0x43dfe8
test byte [ebp - 0x14], 1
je 0x43dfe8
mov eax, dword [ebp - 0x14]
and al, 0xfe
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push edi
push 4
push ebx
push 1
pop esi
push esi
push 0xc0000000
push dword [ebp + 0xc]
call fcn.0043dd74
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x43e595
xor eax, eax
cmp dword [ebp - 0x14], 0xffffffff
mov ecx, 0xf7
lea edi, [ebp - 0x81f]
sete al
mov dword [ebp - 0x38], eax
xor eax, eax
mov byte [ebp - 0x820], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x820]
push eax
call fcn.0043d750
test eax, eax
pop ecx
je 0x43e59e
mov edx, 0xe1
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x43f]
mov byte [ebp - 0x440], bl
cmp dword [ebp + 0x10], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
jne 0x43e0c7
cmp dword [ebp - 0x14], 0xffffffff
je 0x43e0c7
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0xba7]
mov byte [ebp - 0xba8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xba8]
push eax
push dword [ebp - 0x10]
call fcn.0043d385
pop ecx
test eax, eax
pop ecx
je 0x43e0c7
lea eax, [ebp - 0xba8]
push 0x10
push eax
lea eax, [ebp - 0x440]
push eax
xor esi, esi
call fcn.00465c70
lea eax, [ebp - 0xb60]
push 0x198
push eax
lea eax, [ebp - 0x3f8]
push eax
call fcn.00465c70
add esp, 0x18
lea eax, [ebp - 0x440]
push esi
push eax
call fcn.0043d7d8
pop ecx
test eax, eax
pop ecx
je 0x43e5a7
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0xb7]
mov byte [ebp - 0xb8], bl
mov dword [ebp - 0x44], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb8]
push 0x40
push eax
push dword [ebp - 0x24c]
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x254]
push dword [ebp - 0x420]
call fcn.00441d83
mov esi, eax
add esp, 0x20
cmp esi, ebx
mov dword [ebp - 0x64], esi
je 0x43e5b0
push esi
call fcn.00439674
cmp eax, ebx
pop ecx
mov dword [ebp - 0x1c], eax
je 0x43e5b9
xor eax, eax
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x6c], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x68]
mov dword [ebp - 0x74], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0x3c]
mov edi, eax
push edi
push dword [ebp - 0x10]
call fcn.0043c5f4
add esp, 0xc
test eax, eax
je 0x43e5c2
cmp dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], 1
je 0x43e1b3
or dword [ebp - 0x7fc], 8
cmp dword [ebp - 0x50], ebx
je 0x43e1bf
or dword [ebp - 0x7fc], 0x10
push dword [ebp - 0x18]
call fcn.00442075
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0xb8]
push dword [ebp - 0x28]
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x41c], esi
push eax
call fcn.00453ab2
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, 0x3e0
mov dword [ebp - 0x404], ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x408], edi
push dword [ebp - 0x18]
mov dword [ebp - 0x400], ebx
mov dword [ebp - 0x3fc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
call esi
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call esi
lea eax, [ebp - 0x820]
push edi
push eax
push dword [ebp - 0x10]
call fcn.0043d9ba
add esp, 0xc
test eax, eax
je 0x43e5cb
cmp dword [ebp - 0x428], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp + 0x10], ebx
jne 0x43e28c
cmp dword [ebp - 0x424], ebx
jne 0x43e28c
mov dword [ebp - 0x34], 1
mov dword [ebp + 0x10], ebx
jmp 0x43e452
mov edi, 0x10000
push edi
call fcn.005ed45a
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
push edi
mov eax, dword [ecx]
call dword [eax + 8]
add eax, 4
push eax
mov dword [ebp - 0x48], eax
call fcn.005ed45a
pop ecx
mov dword [ebp - 0x54], eax
push ebx
push ebx
push dword [ebp - 0x408]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
call esi
push edi
push ebx
push dword [ebp - 0x20]
call fcn.00466010
push dword [ebp - 0x48]
push ebx
push dword [ebp - 0x14]
call fcn.00466010
add esp, 0x18
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push ebx
push eax
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43e3a6
cmp dword [ebp - 0x24], ebx
je 0x43e3af
lea eax, [ebp - 0x78]
mov dword [ebp - 0x2c], ebx
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xb8]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0043ddc1
add esp, 0x28
cmp eax, ebx
jne 0x43e3b8
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x2c]
add eax, 4
push eax
call fcn.00453a8f
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push ebx
mov dword [ecx], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x4c], ebx
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43e409
mov eax, dword [ebp - 0x2c]
add eax, 4
cmp dword [ebp - 0x4c], eax
jb 0x43e410
cmp dword [ebp - 0x404], ebx
jne 0x43e395
mov dword [ebp - 0x400], eax
inc dword [ebp - 0x404]
mov dword [ebp - 0x3fc], eax
jmp 0x43e2ca
push 0x2779
push 0xd
jmp 0x43e417
mov dword [ebp - 0x34], 1
jmp 0x43e425
jge 0x43e400
push 0x69dc58
lea ecx, [ebp - 0x1c]
call fcn.00480200
push 0x278c
lea eax, [ebp - 0x1c]
push dword [ebp - 0x28]
mov dword [ebp - 4], ebx
push dword [ebp - 0x24]
push dword [ebp - 0x64]
push dword [ebp + 8]
push str.Error:_Encrypt_Data_Failed__File_s__Algrithm_d__DataLen_lu_KeyLen_lu__LINE_d
push eax
call fcn.00483a80
push dword [ebp - 0x1c]
call fcn.00442d4f
or dword [ebp - 4], 0xffffffff
add esp, 0x20
lea ecx, [ebp - 0x1c]
call fcn.00480a70
push 0x2790
push 0x11
jmp 0x43e417
push 0x279a
jmp 0x43e415
push 0x27a1
push 0xe
call fcn.004399ac
pop ecx
mov dword [ebp + 0x10], 1
pop ecx
cmp dword [ebp - 0x20], ebx
je 0x43e433
push dword [ebp - 0x20]
call fcn.005ed483
pop ecx
cmp dword [ebp - 0x54], ebx
je 0x43e441
push dword [ebp - 0x54]
call fcn.005ed483
pop ecx
cmp dword [ebp - 0x30], ebx
je 0x43e452
push dword [ebp - 0x30]
call fcn.005ed483
pop ecx
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [ebp - 0x34], ebx
je 0x43e5e9
cmp dword [ebp + 0x10], ebx
jne 0x43e5e9
cmp dword [ebp + 0x14], ebx
je 0x43e51e
mov eax, dword [ebp - 0x404]
cmp eax, ebx
jne 0x43e492
mov dword [ebp - 0xc8], 0x3e0
mov dword [ebp - 0xc4], ebx
jmp 0x43e4c0
push ebx
dec eax
push dword [ebp - 0x400]
push ebx
push eax
call fcn.00466f30
mov ecx, dword [ebp - 0x3fc]
xor edi, edi
add eax, ecx
adc edx, edi
add eax, 0x3e0
adc edx, ebx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x440]
push edi
push eax
push dword [ebp - 0x800]
push dword [ebp - 0x10]
call fcn.0043aa55
add esp, 0x10
test eax, eax
je 0x43e510
or dword [ebp - 0x7fc], 4
push edi
call fcn.00453b41
test eax, eax
pop ecx
jne 0x43e4f9
or dword [ebp - 0x7fc], 1
add edi, 0x10
push edi
call fcn.00453b41
test eax, eax
pop ecx
jne 0x43e51e
or dword [ebp - 0x7fc], 2
jmp 0x43e51e
push 0x27e2
push 0x10
call fcn.004399ac
pop ecx
pop ecx
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x820]
push eax
call fcn.0043d632
pop ecx
test eax, eax
pop ecx
je 0x43e5d2
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call esi
lea eax, [ebp - 0x820]
push 0x3e0
push eax
push dword [ebp - 0x10]
call fcn.0043d9ba
add esp, 0xc
test eax, eax
je 0x43e5db
test byte [ebp + 0x18], 1
mov dword [ebp - 0x40], 1
je 0x43e5e9
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x43e5e9
push 0x26cb
push 3
call fcn.004399ac
pop ecx
pop ecx
jmp 0x43e626
push 0x26de
push 4
jmp 0x43e5e2
push 0x26e9
push 7
jmp 0x43e5e2
push 0x26fe
push 8
jmp 0x43e5e2
push 0x2711
push 0xb
jmp 0x43e5e2
push 0x2718
push 0xc
jmp 0x43e5e2
push 0x272b
push 0x25
jmp 0x43e5e2
push 0x2752
jmp 0x43e5e0
push 0x27e9
push 0x13
jmp 0x43e5e2
push 0x27f1
push 0x10
call fcn.004399ac
pop ecx
pop ecx
push dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp - 0x10], 0xffffffff
je 0x43e5ff
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 0x40], ebx
je 0x43e618
test byte [ebp + 0x18], 2
je 0x43e626
push dword [ebp - 0x58]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x43e626
cmp dword [ebp - 0x38], ebx
je 0x43e626
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x40]
jmp 0x43e63b
push 0x269b
push 1
call fcn.004399ac
pop ecx
xor eax, eax
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret