Function at 0x41491d
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Move file
Set file attributes
Write file on windows

Disassembly:
mov eax, 0x604fa5
call fcn.00465b38
sub esp, 0xe8
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x2c], edi
call fcn.0041456e
mov eax, dword [0x682534]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], eax
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
jne 0x414963
lea eax, [edi + 0x190]
lea ecx, [ebp - 0x14]
push eax
call fcn.005eced8
jmp 0x41496e
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.005ecf28
mov eax, dword [edi + 0x194]
push 0xffff
push str.OEAVIEWER
push str.OEAXFILE
push eax
lea ecx, [ebp - 0xf4]
call fcn.004ef970
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.005e5f05
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 2
call fcn.004f0860
test eax, eax
jne 0x4149bb
cmp dword [ebp - 0x68], ebx
je 0x414f83
push esi
mov esi, 0x69dc58
push esi
lea ecx, [ebp - 0x18]
call fcn.005ece05
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x18]
push dword [edi + 0x188]
push str._sOEAXPack__08x.tmp
push eax
call fcn.005e20b1
add esp, 0x10
lea eax, [ebp - 0x18]
push str..zip
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.005ed036
push dword [ebp - 0x20]
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x6c]
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414a31
test al, 0x10
jne 0x414f4b
test al, 1
je 0x414a31
and al, 0xfe
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x30], eax
je 0x414f4b
and dword [ebp + 8], 0
lea ecx, [ebp + 8]
push 0
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x414a7c
cmp dword [ebp + 8], edi
jne 0x414a7c
push 1
pop ebx
mov dword [ebp - 0x1c], ebx
jmp 0x414a7f
push 1
pop ebx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [ebp - 0x1c], edi
je 0x414f4d
lea ecx, [ebp - 0xb8]
call fcn.0053cdd0
lea eax, [ebp - 0x20]
lea ecx, [ebp + 8]
push eax
mov byte [ebp - 4], 5
call fcn.005ecafe
push 0x5c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.005e1d1b
cmp eax, 0xffffffff
je 0x414ae7
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.005e1c4f
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.005eced8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.005ecd91
push edi
lea ecx, [ebp - 0xb8]
push dword [ebp - 0x20]
call fcn.0053d000
test eax, eax
je 0x414b0c
push dword [ebp + 8]
lea ecx, [ebp - 0xb8]
call fcn.0053de60
test eax, eax
jne 0x414b0f
mov dword [ebp - 0x1c], edi
push esi
lea ecx, [ebp - 0x30]
call fcn.005ece05
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x30]
push eax
push edi
mov byte [ebp - 4], 8
mov dword [ebp - 0x5c], ebx
call fcn.0053f470
lea eax, [ebp + 8]
push 0x66af18
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.005ed036
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.005ecfd0
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.005eced8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.005ecd91
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.005ecd91
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00466804
pop ecx
cmp eax, edi
pop ecx
je 0x414ba6
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x414ba6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x18]
call fcn.00451f87
test eax, eax
pop ecx
je 0x414f22
lea ecx, [ebp - 0x54]
call fcn.00487780
lea eax, [ebp - 0x54]
push ebx
push eax
mov byte [ebp - 4], 0xb
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00451b4e
add esp, 0x10
test eax, eax
jne 0x414be2
mov dword [ebp - 0x1c], edi
jmp 0x414f16
cmp dword [ebp - 0x50], edi
mov dword [ebp - 0x10], edi
jle 0x414c60
mov eax, dword [ebp - 0x10]
push str..exe
mov edi, eax
mov eax, dword [ebp - 0x54]
shl edi, 2
mov eax, dword [edi + eax]
push eax
call fcn.004e5270
pop ecx
test eax, eax
pop ecx
jne 0x414c37
mov eax, dword [ebp - 0x54]
push str..dll
mov eax, dword [edi + eax]
push eax
call fcn.004e5270
pop ecx
test eax, eax
pop ecx
jne 0x414c37
mov eax, dword [ebp - 0x54]
push str..sys
mov eax, dword [edi + eax]
push eax
call fcn.004e5270
pop ecx
test eax, eax
pop ecx
je 0x414c53
mov eax, dword [ebp - 0x54]
push dword [edi + eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x54]
or eax, ebx
push eax
mov edi, dword [edi + ecx]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x50]
jl 0x414bea
xor edi, edi
mov ecx, dword [ebp - 0x2c]
call fcn.0041b7bf
test eax, eax
jne 0x414f16
cmp dword [0x6a3388], edi
je 0x414c90
push str.COEAViewerApp::ReleaseOEAModule_Copy_Driver_Module_r_n
push str.copymodule
push ebx
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
call fcn.00414757
push str.tfsfltdrv.sys
lea ecx, [ebp - 0x24]
call fcn.005ece05
mov byte [ebp - 4], 0xc
call fcn.004d8300
test eax, eax
je 0x414cbf
push str.tfsfltdrv64.sys
lea ecx, [ebp - 0x24]
call fcn.005ecf28
push str.TIjtDrv32.sys
lea ecx, [ebp - 0x40]
call fcn.005ece05
mov byte [ebp - 4], 0xd
call fcn.004d8300
test eax, eax
je 0x414ce6
push str.TIjtDrv64.sys
lea ecx, [ebp - 0x40]
call fcn.005ecf28
push esi
lea ecx, [ebp - 0x28]
call fcn.005ece05
mov ebx, str.TIjtDrvd32.dll
mov edi, 0x66b78c
push ebx
lea eax, [ebp - 0x28]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
push edi
push eax
call fcn.005e20b1
add esp, 0x10
lea ecx, [ebp - 0x10]
push esi
call fcn.005ece05
push ebx
mov byte [ebp - 4], 0xf
call fcn.004e07d0
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.005e20b1
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x28]
call ebx
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
call fcn.0041ce0d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.005ecd91
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.005ecd91
lea ecx, [ebp - 0x84]
call fcn.00455c23
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.005ece05
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x11
push dword [ebp - 0x14]
push edi
push eax
call fcn.005e20b1
add esp, 0x10
lea ecx, [ebp - 0x3c]
push esi
call fcn.005ece05
push str.tfsfltdrv.sys
mov byte [ebp - 4], 0x12
call fcn.004e1090
push eax
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.005e20b1
add esp, 0x10
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x34]
call ebx
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
call fcn.0041ce0d
push esi
lea ecx, [ebp - 0x44]
call fcn.005ece05
push dword [ebp - 0x40]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x13
push dword [ebp - 0x14]
push edi
push eax
call fcn.005e20b1
add esp, 0x10
lea ecx, [ebp - 0x38]
push esi
call fcn.005ece05
push dword [ebp - 0x40]
mov byte [ebp - 4], 0x14
call fcn.004e1090
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.005e20b1
add esp, 0x10
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x44]
call ebx
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
call fcn.0041ce0d
call fcn.004d8300
test eax, eax
je 0x414ebd
push esi
lea ecx, [ebp - 0x28]
call fcn.005ece05
push str.TIjtDrvd64.dll
lea eax, [ebp - 0x28]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x15
push edi
push eax
call fcn.005e20b1
add esp, 0x10
lea ecx, [ebp - 0x10]
push esi
call fcn.005ece05
lea eax, [ebp - 0x58]
push 0
push eax
mov byte [ebp - 4], 0x16
call fcn.004e0660
pop ecx
pop ecx
push str.TIjtDrvd64.dll
mov byte [ebp - 4], 0x17
push dword [eax]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.005e20b1
add esp, 0x10
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x16
call fcn.005ecd91
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x28]
call ebx
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
call fcn.0041ce0d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x15
call fcn.005ecd91
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.005ecd91
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x13
call fcn.005ecd91
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x12
call fcn.005ecd91
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x11
call fcn.005ecd91
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.005ecd91
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.00455c5c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.005ecd91
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.005ecd91
xor edi, edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.00487790
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.005ecd91
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.005ecd91
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.0053cef0
jmp 0x414f4d
xor edi, edi
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 0x20]
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.005ecd91
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005ecd91
cmp dword [ebp - 0x1c], edi
pop esi
jne 0x414f83
push 0x1f
call fcn.004296ed
pop ecx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.005e5f38
and byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.004efb20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005ecd91
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4