Function at 0x42b800
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 0x551d69
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x178
mov eax, dword [0x5b4b3c]
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 0x42b871
mov eax, dword [ecx]
jmp 0x42b873
mov eax, ecx
push 0xffffffffffffffff
push 0
push edi
mov byte [eax], 0
call fcn.004277e0
call fcn.0042e300
add esp, 0x18
test eax, eax
je 0x42befc
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x118], 0
jb 0x42b8a4
mov eax, dword [edi]
jmp 0x42b8a6
mov eax, edi
push 0x5a44e8
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00531342
add esp, 0xc
push 2
push 0
push dword [ebp - 0x118]
call fcn.00533aaa
add esp, 0xc
push dword [ebp - 0x118]
call fcn.005337ca
add esp, 4
mov dword [ebp - 0x120], eax
inc eax
mov dword [ebp - 0x140], eax
push eax
call fcn.0052ae6f
add esp, 4
mov edi, eax
push dword [ebp - 0x140]
push 0
push edi
call fcn.0052dac0
add esp, 0xc
push 0
push 0
push dword [ebp - 0x118]
call fcn.00533aaa
add esp, 0xc
push dword [ebp - 0x118]
push dword [ebp - 0x120]
push 1
push edi
call fcn.00533c91
push dword [ebp - 0x118]
call fcn.00530e77
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b940
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.00427720
push edi
mov byte [ebp - 4], 1
call fcn.0052a9c3
add esp, 4
lea ecx, [ebp - 0x98]
xorps xmm0, xmm0
movups xmmword [ebp - 0x98], xmm0
push 0
movq qword [ebp - 0x88], xmm0
call fcn.00442f50
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x80]
movq qword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x80], xmm0
call fcn.00442f50
push 0x74
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0052dac0
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.0043c860
mov byte [ebp - 4], 4
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 0x42b9ff
xor ecx, ecx
jmp 0x42ba0d
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ba04
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x188]
call fcn.00427720
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xe8]
call fcn.004277e0
cmp dword [ebp - 0xd4], 0x10
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0x98]
cmovae ecx, dword [ebp - 0xe8]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0x110]
call fcn.0043c990
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x174]
mov byte [ebp - 0x119], al
cmp ecx, 0x10
jb 0x42ba93
inc ecx
push ecx
push dword [ebp - 0x188]
lea ecx, [ebp - 0x188]
call fcn.00427a30
mov al, byte [ebp - 0x119]
test al, al
je 0x42bf00
xor edi, edi
nop dword [eax]
push 0x5a44f7
push str.DelFilePath
lea ecx, [ebp - 0x98]
call fcn.004440b0
mov ecx, eax
call fcn.00443be0
push 0x5a44f7
push str.DelFilePath
cmp edi, eax
jae 0x42bde9
xorps xmm0, xmm0
lea ecx, [ebp - 0x98]
movups xmmword [ebp - 0x68], xmm0
movq qword [ebp - 0x58], xmm0
call fcn.004440b0
push edi
mov ecx, eax
call fcn.00443e60
push eax
lea ecx, [ebp - 0x68]
call fcn.00443130
mov byte [ebp - 4], 6
cmp byte [ebp - 0x60], 0
je 0x42bdd7
push 0x5a44fc
push str.Path
lea ecx, [ebp - 0x68]
call fcn.004440b0
cmp byte [eax + 8], 0
jne 0x42bb54
push 0
push 0x5a42e0
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x158], 0
call fcn.00427720
lea eax, [ebp - 0x158]
or esi, 1
jmp 0x42bb77
push 0x5a44fc
push str.Path
lea ecx, [ebp - 0x68]
call fcn.004440b0
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
call fcn.004434d0
or esi, 2
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x114], esi
call fcn.00427420
mov eax, esi
mov dword [ebp - 4], 8
test al, 2
je 0x42bbdd
mov ecx, dword [ebp - 0x15c]
and eax, 0xfffffffd
mov dword [ebp - 0x114], eax
cmp ecx, 0x10
jb 0x42bbc2
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x170]
lea ecx, [ebp - 0x170]
call fcn.00427a30
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x15c], 0xf
mov dword [ebp - 0x160], 0
mov byte [ebp - 0x170], 0
mov byte [ebp - 4], 9
test al, 1
je 0x42bc27
and eax, 0xfffffffe
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x144]
cmp eax, 0x10
jb 0x42bc0c
inc eax
lea ecx, [ebp - 0x158]
push eax
push dword [ebp - 0x158]
call fcn.00427a30
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.004277e0
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 0x42bc80
test al, 0x10
je 0x42bc80
mov esi, 1
jmp 0x42bc82
xor esi, esi
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
jb 0x42bca0
inc eax
lea ecx, [ebp - 0x138]
push eax
push dword [ebp - 0x138]
call fcn.00427a30
test esi, esi
je 0x42bdbc
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42bcc5
mov eax, dword [ecx]
jmp 0x42bcc7
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.004277e0
call fcn.0042d930
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.004277e0
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 0x42bd38
test al, 0x10
je 0x42bd38
mov esi, 1
jmp 0x42bd3a
xor esi, esi
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
jb 0x42bd58
inc eax
lea ecx, [ebp - 0x138]
push eax
push dword [ebp - 0x138]
call fcn.00427a30
test esi, esi
je 0x42bdbc
push 0x5a4508
lea ecx, [ebp - 0x138]
call fcn.004430b0
push 0x5a4506
push str.Status
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.004440b0
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call fcn.004433f0
lea ecx, [ebp - 0x138]
call fcn.004432d0
push 0x5a44f7
push str.DelFilePath
lea ecx, [ebp - 0x80]
call fcn.004440b0
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
call fcn.004443d0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x42bdd1
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00427a30
mov esi, dword [ebp - 0x114]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.004432d0
inc edi
jmp 0x42baa0
lea ecx, [ebp - 0x80]
call fcn.004440b0
cmp byte [eax + 8], 0
mov eax, dword [ebp - 0x13c]
je 0x42beba
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x114], 0
jb 0x42be13
mov eax, dword [eax]
push 0x5a450c
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00531342
add esp, 0xc
lea eax, [ebp - 0x170]
lea ecx, [ebp - 0x80]
push eax
call fcn.004448c0
mov esi, eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x80]
call fcn.004448c0
cmp dword [eax + 0x14], 0x10
jb 0x42be51
mov eax, dword [eax]
push dword [ebp - 0x114]
push dword [esi + 0x10]
push 1
push eax
call fcn.0053112f
mov eax, dword [ebp - 0x20]
add esp, 0x10
cmp eax, 0x10
jb 0x42be7a
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00427a30
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
cmp eax, 0x10
jb 0x42beaa
inc eax
lea ecx, [ebp - 0x170]
push eax
push dword [ebp - 0x170]
call fcn.00427a30
push dword [ebp - 0x114]
call fcn.00530e77
add esp, 4
jmp 0x42bec9
cmp dword [eax + 0x14], 0x10
jb 0x42bec2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x110]
call fcn.0042bf70
lea ecx, [ebp - 0x80]
call fcn.004432d0
lea ecx, [ebp - 0x98]
call fcn.004432d0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x42befc
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00427a30
mov al, 1
jmp 0x42bf43
lea ecx, [ebp - 0x110]
call fcn.0042bf70
lea ecx, [ebp - 0x80]
call fcn.004432d0
lea ecx, [ebp - 0x98]
call fcn.004432d0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x42bf41
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00427a30
jmp 0x42bf41
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.0052a949
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret