Function at 0x46a7b0
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c2ab9
mov eax, dword fs:[0]
push eax
sub esp, 0x170
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov edi, ecx
push 1
xor ebx, ebx
push 3
lea ecx, [esp + 0x104]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1f], bl
call fcn.0043e0b0
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x194], ebx
call fcn.0046a620
push str.Global.db
push eax
lea ecx, [esp + 0x10c]
push ecx
mov byte [esp + 0x198], 1
call fcn.0043dad0
add esp, 8
push eax
call fcn.00432190
mov ebp, 8
add esp, 8
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x18c], bl
jb 0x46a853
mov edx, dword [esp + 0x20]
push edx
call fcn.0048c049
add esp, 4
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x100]
call fcn.0043b170
cmp dword [eax + 0x18], ebp
jb 0x46a86e
mov eax, dword [eax + 4]
jmp 0x46a871
add eax, 4
push ebx
push ebx
push 3
push ebx
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esp + 0x70], ebp
mov esi, eax
jb 0x46a899
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0048c049
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jne 0x46ab67
push 1
push 3
lea ecx, [esp + 0x7c]
call fcn.0043e0b0
push 1
lea edx, [esp + 0x20]
push edx
mov ecx, edi
mov byte [esp + 0x194], 2
call fcn.0046a620
push str.Global.db
push eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x198], 3
call fcn.0043dad0
add esp, 8
push eax
call fcn.00432190
add esp, 8
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x18c], 2
jb 0x46a918
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048c049
add esp, 4
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x100]
call fcn.0043b170
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x18c], 4
mov dword [esp + 0x18], 1
jb 0x46a943
mov eax, dword [eax + 4]
jmp 0x46a946
add eax, 4
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
je 0x46a961
cmp word [eax], bx
je 0x46a961
push eax
call esi
cmp eax, 0xffffffff
je 0x46a961
test al, 0x10
je 0x46a99d
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
call fcn.0043b170
cmp dword [eax + 0x18], ebp
mov dword [esp + 0x18], 3
jb 0x46a981
mov eax, dword [eax + 4]
jmp 0x46a984
add eax, 4
cmp eax, ebx
je 0x46a99d
cmp word [eax], bx
je 0x46a99d
push eax
call esi
cmp eax, 0xffffffff
je 0x46a99d
test al, 0x10
jne 0x46a99d
mov bl, 1
jmp 0x46a99f
xor bl, bl
test byte [esp + 0x18], 2
je 0x46a9d3
and dword [esp + 0x18], 0xfffffffd
cmp dword [esp + 0x34], ebp
jb 0x46a9be
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048c049
add esp, 4
xor edi, edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
jmp 0x46a9d5
xor edi, edi
test byte [esp + 0x18], 1
mov dword [esp + 0x18c], 2
je 0x46a9fa
cmp dword [esp + 0x54], ebp
jb 0x46a9fa
mov edx, dword [esp + 0x40]
push edx
call fcn.0048c049
add esp, 4
test bl, bl
je 0x46aadd
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x100]
call fcn.0043b170
mov esi, eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x190], 5
call fcn.0043b170
cmp dword [esi + 0x18], ebp
jb 0x46aa35
mov esi, dword [esi + 4]
jmp 0x46aa38
add esi, 4
cmp dword [eax + 0x18], ebp
jb 0x46aa42
mov eax, dword [eax + 4]
jmp 0x46aa45
add eax, 4
cmp eax, edi
je 0x46aa5f
cmp esi, edi
je 0x46aa5f
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete bl
jmp 0x46aa61
xor bl, bl
cmp dword [esp + 0x34], ebp
jb 0x46aa74
mov edx, dword [esp + 0x20]
push edx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x54], ebp
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
mov byte [esp + 0x18c], 2
jb 0x46aaa0
mov eax, dword [esp + 0x40]
push eax
call fcn.0048c049
add esp, 4
test bl, bl
je 0x46aadd
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x78]
call fcn.0043b170
cmp dword [eax + 0x18], ebp
jb 0x46aabc
mov eax, dword [eax + 4]
jmp 0x46aabf
add eax, 4
cmp eax, edi
je 0x46aaca
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x54], ebp
jb 0x46aadd
mov edx, dword [esp + 0x40]
push edx
call fcn.0048c049
add esp, 4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
call fcn.0043b170
cmp dword [eax + 0x18], ebp
jb 0x46aaf5
mov eax, dword [eax + 4]
jmp 0x46aaf8
add eax, 4
push edi
push edi
push 3
push edi
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esp + 0x34], ebp
mov esi, eax
jb 0x46ab20
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048c049
add esp, 4
lea ecx, [esp + 0xc8]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
mov byte [esp + 0x18c], 0
call fcn.0043a5e0
lea edx, [esp + 0xc8]
push edx
mov dword [esp + 0xcc], 0x4ca7b0
call fcn.004aa0bd
add esp, 4
cmp esi, 0xffffffff
je 0x46aba2
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x10
jne 0x46ab9b
mov ecx, dword [esp + 0x194]
push ebx
lea eax, [esp + 0x3c]
push eax
push 0x10
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46ab9b
cmp dword [esp + 0x38], 0x10
jne 0x46ab9b
mov byte [esp + 0x17], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x150]
mov dword [esp + 0x18c], 0xffffffff
call fcn.0043a5e0
lea edx, [esp + 0x150]
push edx
mov dword [esp + 0x154], 0x4ca7b0
call fcn.004aa0bd
mov al, byte [esp + 0x1b]
add esp, 4
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4