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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
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 0x43fb0b
cmp word [esi], bx
je 0x43fb0b
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x43fb0b
cmp word [edi], bx
je 0x43fb0b
cmp dword [0x69e3b4], ebx
jne 0x43f49d
push 0x2b0d
push 2
jmp 0x43fb12
push esi
call fcn.004529c4
test al, 0x10
pop ecx
mov dword [ebp - 0x58], eax
je 0x43f4b7
push 0x2b15
push 0x1d
jmp 0x43fb12
push edi
call fcn.004529c4
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 4], eax
je 0x43f4d6
test al, 0x10
je 0x43f4d6
push 0x2b1f
push 0x1e
jmp 0x43fb12
or dword [ebp + 8], 0xffffffff
push ebx
push 0x80
push 3
push ebx
push 5
push SysReAllocStringLen
push esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
call fcn.0043dd74
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x43fa3d
xor eax, eax
lea edi, [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x40]
mov dword [ebp - 0x54], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call esi
mov ecx, 0xf7
xor eax, eax
lea edi, [ebp - 0x803]
mov byte [ebp - 0x804], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x804]
push 0x3e0
push eax
push dword [ebp - 0x10]
call fcn.0043d94a
add esp, 0xc
test eax, eax
je 0x43fa50
lea eax, [ebp - 0x804]
push eax
call fcn.0043da0b
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x43fa59
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x9b]
mov byte [ebp - 0x9c], bl
mov byte [ebp - 0x424], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe1
xor eax, eax
lea edi, [ebp - 0x423]
cmp dword [ebp - 8], 3
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x2c], ebx
stosb byte es:[edi], al
jne 0x43f638
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.0043d46e
pop ecx
test eax, eax
pop ecx
je 0x43fa60
lea eax, [ebp - 0x424]
push eax
call fcn.0044208d
test eax, eax
pop ecx
je 0x43fa69
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x3c], ebx
push eax
lea eax, [ebp - 0x9c]
push 0x40
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.004426d7
add esp, 0x14
test eax, eax
je 0x43fa72
push dword [ebp - 0x3c]
call fcn.00439674
cmp eax, ebx
pop ecx
mov dword [ebp - 0x24], eax
je 0x43fa7b
jmp 0x43f695
cmp dword [ebp - 8], 1
jne 0x43f653
push 1
call fcn.00439674
cmp eax, ebx
pop ecx
mov dword [ebp - 0x24], eax
je 0x43fa82
jmp 0x43f695
cmp dword [ebp - 8], 2
jne 0x43fabb
push 2
call fcn.00439674
cmp eax, ebx
pop ecx
mov dword [ebp - 0x24], eax
je 0x43fa89
mov edi, str.ocularsd
push edi
call fcn.00467290
push eax
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.00465c70
push edi
call fcn.00467290
add esp, 0x14
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 4], 0xffffffff
je 0x43f6b0
test byte [ebp - 4], 1
je 0x43f6b0
mov eax, dword [ebp - 4]
and al, 0xfe
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push 0x80
push 4
push ebx
push 1
push 0xc0000000
push dword [ebp + 0xc]
call fcn.0043dd74
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
mov dword [ebp + 8], edi
je 0x43fa92
xor eax, eax
cmp dword [ebp - 4], 0xffffffff
sete al
cmp dword [ebp - 8], 3
mov dword [ebp - 0x38], eax
jne 0x43f8b5
push dword [ebp - 0x408]
push dword [ebp - 0x40c]
push edi
call fcn.0043c5f4
add esp, 0xc
test eax, eax
je 0x43fa9b
push ebx
push ebx
push dword [ebp - 0x3ec]
mov dword [ebp - 0x38], 1
push dword [ebp - 0x10]
call esi
push ebx
push ebx
push ebx
push edi
call esi
cmp dword [ebp - 0x3e8], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43f743
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], ebx
jmp 0x43f89b
mov esi, dword [ebp - 0x3e4]
cmp dword [ebp - 0x3e8], 1
mov dword [ebp - 0x28], esi
jne 0x43f75e
mov esi, dword [ebp - 0x3e0]
mov dword [ebp - 0x28], esi
push esi
call fcn.005ed45a
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x43faa2
mov ecx, dword [ebp - 0x24]
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
mov dword [ebp - 0x20], eax
call fcn.005ed45a
cmp eax, ebx
pop ecx
mov dword [ebp - 0x30], eax
je 0x43faa9
mov dword [ebp - 0x14], ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x3e8]
mov esi, dword [ebp - 0x3e4]
jne 0x43f7b2
mov esi, dword [ebp - 0x3e0]
mov dword [ebp - 0xc], 1
push dword [ebp - 0x28]
push ebx
push dword [ebp - 4]
call fcn.00466010
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x30]
call fcn.00466010
add esp, 0x18
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], ebx
push ebx
push eax
push esi
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43f852
mov eax, dword [ebp - 4]
add esi, 0xfffffffc
push dword [eax]
lea edi, [eax + 4]
push esi
push edi
call fcn.00453a6b
add esp, 0xc
test eax, eax
je 0x43f85b
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
push edx
lea edx, [ebp - 0x9c]
push dword [ebp - 0x20]
mov eax, dword [ecx]
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x30]
push esi
push edi
push dword [ebp - 0x2c]
push edx
call dword [eax + 0x14]
test eax, eax
je 0x43f864
lea eax, [ebp - 0x1c]
push ebx
push eax
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x18]
push dword [ebp - 0x30]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43f86d
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jb 0x43f874
cmp dword [ebp - 0xc], ebx
je 0x43f791
jmp 0x43f889
push 0x2bf3
push 0xd
jmp 0x43f87b
push 0x2bfb
push 0x1c
jmp 0x43f87b
push 0x2c04
push 0x12
jmp 0x43f87b
push 0x2c0c
jmp 0x43f879
push 0x2c13
push 0xe
call fcn.004399ac
pop ecx
mov dword [ebp - 8], 1
pop ecx
push dword [ebp - 4]
call fcn.005ed483
push dword [ebp - 0x30]
call fcn.005ed483
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [ebp - 0xc], ebx
je 0x43fac9
cmp dword [ebp - 8], ebx
jmp 0x43fa0c
cmp dword [ebp - 8], 1
je 0x43f8c5
cmp dword [ebp - 8], 2
jne 0x43fac9
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.0043c5f4
add esp, 0xc
test eax, eax
je 0x43fab2
push ebx
push ebx
push 0x100
mov dword [ebp - 0x38], 1
push dword [ebp - 0x10]
call esi
push ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
mov edi, 0x10000
push edi
call fcn.005ed45a
mov esi, eax
pop ecx
cmp esi, ebx
je 0x43fac9
push edi
call fcn.005ed45a
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
je 0x43fac9
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
push edi
push ebx
push esi
call fcn.00466010
push edi
push ebx
push dword [ebp - 0xc]
call fcn.00466010
add esp, 0x18
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push ebx
push eax
push edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43f9b0
cmp dword [ebp - 0x18], ebx
je 0x43f9b9
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
push edx
push edi
push dword [ebp - 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 0x9c]
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x2c]
push edx
call dword [eax + 0x14]
test eax, eax
je 0x43f9c2
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43f9cb
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jb 0x43f9d2
jmp 0x43f935
push 0x2c57
push 0xd
jmp 0x43f9d9
mov dword [ebp - 0x28], 1
jmp 0x43f9e7
push 0x2c66
push 0x12
jmp 0x43f9d9
push 0x2c6e
jmp 0x43f9d7
push 0x2c75
push 0xe
call fcn.004399ac
pop ecx
mov dword [ebp - 4], 1
pop ecx
push esi
call fcn.005ed483
push dword [ebp - 0xc]
call fcn.005ed483
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [ebp - 0x28], ebx
je 0x43fac9
cmp dword [ebp - 4], ebx
jne 0x43fac9
test byte [ebp + 0x10], 1
mov dword [ebp - 0x34], 1
je 0x43fac9
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x43fac9
push 0x2b37
push 3
call fcn.004399ac
pop ecx
pop ecx
jmp 0x43fb06
push 0x2b47
push 0xf
jmp 0x43fac2
push 0x2b4e
jmp 0x43fac0
push 0x2b5d
push 0x14
jmp 0x43fac2
push 0x2b66
push 0x1f
jmp 0x43fac2
push 0x2b6f
push 0xb
jmp 0x43fac2
push 0x2b78
jmp 0x43fa8e
push 0x2b83
jmp 0x43fa8e
push 0x2b8e
push 0xc
jmp 0x43fac2
push 0x2bab
push 4
jmp 0x43fac2
push 0x2bb7
jmp 0x43fab7
push 0x2bd2
jmp 0x43faae
push 0x2bda
push 0x21
jmp 0x43fac2
push 0x2c39
push 0x25
jmp 0x43fac2
push 0x2b98
push 0x22
call fcn.004399ac
pop ecx
pop ecx
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp + 8], 0xffffffff
je 0x43fadf
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x34], ebx
je 0x43faf8
test byte [ebp + 0x10], 2
je 0x43fb06
push dword [ebp - 0x58]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x43fb06
cmp dword [ebp - 0x38], ebx
je 0x43fb06
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x34]
jmp 0x43fb1b
push 0x2b07
push 1
call fcn.004399ac
pop ecx
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret