Function at 0x425100
Capabilities:
Check if file exists
Delete file
Get file attributes
Read file on windows
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531ee4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x178
mov eax, dword [0x5939f0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x13c], edi
sub esp, 0x18
xor esi, esi
mov ecx, esp
mov dword [ebp - 0x114], esi
mov dword [ebp - 4], esi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], esi
cmp dword [ecx + 0x14], 0x10
jb 0x425171
mov eax, dword [ecx]
jmp 0x425173
mov eax, ecx
push 0xffffffffffffffff
push 0
push edi
mov byte [eax], 0
call fcn.004230e0
call fcn.00427780
add esp, 0x18
test eax, eax
je 0x425885
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x118], 0
jb 0x4251a4
mov eax, dword [edi]
jmp 0x4251a6
mov eax, edi
push 0x585120
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00510827
add esp, 0xc
push 2
push 0
push dword [ebp - 0x118]
call fcn.005125bc
add esp, 0xc
push dword [ebp - 0x118]
call fcn.005122f7
add esp, 4
mov dword [ebp - 0x120], eax
inc eax
mov dword [ebp - 0x140], eax
push eax
call fcn.0050a5d0
add esp, 4
mov edi, eax
push dword [ebp - 0x140]
push 0
push edi
call fcn.0050d200
add esp, 0xc
push 0
push 0
push dword [ebp - 0x118]
call fcn.005125bc
add esp, 0xc
push dword [ebp - 0x118]
push dword [ebp - 0x120]
push 1
push edi
call fcn.005127a3
push dword [ebp - 0x118]
call fcn.00510367
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425240
sub ecx, edx
mov dword [ebp - 0x38], 0xf
push ecx
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], al
call fcn.00422fe0
push edi
call fcn.0050a10e
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x74], 0
movq qword [ebp - 0x70], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
and eax, 0xfffffe00
mov dword [ebp - 0x78], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x5c], 0
movq qword [ebp - 0x58], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
and eax, 0xfffffe00
mov dword [ebp - 0x60], eax
push 0x74
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.0050d200
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.004305c0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x174], 0xf
cmovae edx, dword [ebp - 0x4c]
mov dword [ebp - 0x178], 0
mov byte [ebp - 0x188], 0
cmp byte [edx], 0
jne 0x425326
xor ecx, ecx
jmp 0x425339
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425330
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x188]
call fcn.00422fe0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xe8]
call fcn.004230e0
cmp dword [ebp - 0xd4], 0x10
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0x80]
cmovae ecx, dword [ebp - 0xe8]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0x110]
call fcn.004306f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x174]
mov byte [ebp - 0x119], al
cmp ecx, 0x10
jb 0x4253bc
inc ecx
push ecx
push dword [ebp - 0x188]
lea ecx, [ebp - 0x188]
call fcn.00423390
mov al, byte [ebp - 0x119]
test al, al
je 0x425889
xor edi, edi
nop word [eax + eax]
push 0x58512f
push str.DelFilePath
lea ecx, [ebp - 0x80]
call fcn.00437e30
mov ecx, eax
call fcn.00437930
push 0x58512f
push str.DelFilePath
cmp edi, eax
jae 0x425775
xorps xmm0, xmm0
lea ecx, [ebp - 0x80]
movups xmmword [ebp - 0x98], xmm0
movq qword [ebp - 0x88], xmm0
call fcn.00437e30
push edi
mov ecx, eax
call fcn.00437be0
push eax
lea ecx, [ebp - 0x98]
call fcn.00436eb0
mov byte [ebp - 4], 8
cmp byte [ebp - 0x90], 0
je 0x425760
push 0x585134
push str.Path
lea ecx, [ebp - 0x98]
call fcn.00437e30
cmp byte [eax + 8], 0
jne 0x42548d
push 0
push 0x584fa0
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x158], 0
call fcn.00422fe0
lea eax, [ebp - 0x158]
or esi, 1
jmp 0x4254b3
push 0x585134
push str.Path
lea ecx, [ebp - 0x98]
call fcn.00437e30
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
call fcn.00437240
or esi, 2
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x114], esi
call fcn.00422c20
mov eax, esi
mov dword [ebp - 4], 0xa
test al, 2
je 0x425519
mov ecx, dword [ebp - 0x15c]
and eax, 0xfffffffd
mov dword [ebp - 0x114], eax
cmp ecx, 0x10
jb 0x4254fe
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x170]
lea ecx, [ebp - 0x170]
call fcn.00423390
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x15c], 0xf
mov dword [ebp - 0x160], 0
mov byte [ebp - 0x170], 0
mov byte [ebp - 4], 0xb
test al, 1
je 0x425563
and eax, 0xfffffffe
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x144]
cmp eax, 0x10
jb 0x425548
inc eax
lea ecx, [ebp - 0x158]
push eax
push dword [ebp - 0x158]
call fcn.00423390
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x158], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x124], 0xf
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x138], 0
call fcn.004230e0
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4255bc
test al, 0x10
je 0x4255bc
mov esi, 1
jmp 0x4255be
xor esi, esi
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
jb 0x4255dc
inc eax
lea ecx, [ebp - 0x138]
push eax
push dword [ebp - 0x138]
call fcn.00423390
test esi, esi
je 0x425745
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x425601
mov eax, dword [ecx]
jmp 0x425603
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.004230e0
call fcn.004273f0
add esp, 0x18
mov dword [ebp - 0x124], 0xf
lea eax, [ebp - 0x34]
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x138]
mov byte [ebp - 0x138], 0
push 0xffffffffffffffff
push 0
push eax
call fcn.004230e0
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x425674
test al, 0x10
je 0x425674
mov esi, 1
jmp 0x425676
xor esi, esi
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
jb 0x425694
inc eax
lea ecx, [ebp - 0x138]
push eax
push dword [ebp - 0x138]
call fcn.00423390
test esi, esi
je 0x425745
sub esp, 0x18
mov edx, 3
mov esi, esp
mov dword [ebp - 0x120], esp
mov ecx, 0x585140
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00436660
mov dword [esi], eax
push 0x58513e
push str.Status
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xc
call fcn.00437e30
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00437110
push 0x58512f
push str.DelFilePath
lea ecx, [ebp - 0x68]
call fcn.00437e30
sub esp, 0x18
mov esi, eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x120], esp
mov ecx, esp
push eax
call fcn.00436eb0
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00437930
push eax
mov ecx, esi
call fcn.004379c0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00437110
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x42575a
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00423390
mov esi, dword [ebp - 0x114]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 6
call fcn.00437050
inc edi
jmp 0x4253d0
lea ecx, [ebp - 0x68]
call fcn.00437e30
cmp byte [eax + 8], 0
mov eax, dword [ebp - 0x13c]
je 0x425846
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x114], 0
jb 0x42579f
mov eax, dword [eax]
push 0x585144
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00510827
add esp, 0xc
lea eax, [ebp - 0x170]
lea ecx, [ebp - 0x68]
push eax
call fcn.00438670
mov esi, eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x68]
call fcn.00438670
cmp dword [eax + 0x14], 0x10
jb 0x4257dd
mov eax, dword [eax]
push dword [ebp - 0x114]
push dword [esi + 0x10]
push 1
push eax
call fcn.0051061f
mov eax, dword [ebp - 0x20]
add esp, 0x10
cmp eax, 0x10
jb 0x425806
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00423390
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
cmp eax, 0x10
jb 0x425836
inc eax
lea ecx, [ebp - 0x170]
push eax
push dword [ebp - 0x170]
call fcn.00423390
push dword [ebp - 0x114]
call fcn.00510367
add esp, 4
jmp 0x425855
cmp dword [eax + 0x14], 0x10
jb 0x42584e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x110]
call fcn.004258f0
lea ecx, [ebp - 0x68]
call fcn.00437050
lea ecx, [ebp - 0x80]
call fcn.00437050
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x425885
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00423390
mov al, 1
jmp 0x4258c9
lea ecx, [ebp - 0x110]
call fcn.004258f0
lea ecx, [ebp - 0x68]
call fcn.00437050
lea ecx, [ebp - 0x80]
call fcn.00437050
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x4258c7
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00423390
jmp 0x4258c7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0050a094
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret