Function at 0x10084aa2
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [0x100c51b8]
xor eax, esp
mov dword [esp + 0x5c], eax
lea esi, [esp + 0x44]
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xc]
xor edi, edi
mov dword [esp + 0x1c], ecx
push edi
push esi
call fcn.100850f2
mov ecx, esi
call fcn.1000e86e
sub esp, 0x1c
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
movaps xmm0, xmmword [0x100b5830]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
mov ecx, 0x839f5974
lea edi, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
cmp ecx, 0x1230c67
jle 0x10084b7a
cmp ecx, 0x56ffd61d
jle 0x10084bbe
cmp ecx, 0x72837830
jg 0x10084c48
cmp ecx, 0x56ffd61e
je 0x10084cd3
cmp ecx, 0x70a66c95
jne 0x10084b09
mov ecx, edi
call fcn.1000e86e
sub esp, 0x1c
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
movaps xmm0, xmmword [0x100b5830]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov ecx, edi
call fcn.1000e7f4
mov eax, dword [esp + 0x14]
mov ecx, 0x7de82d68
jmp 0x10084b09
cmp ecx, 0xc4143fbe
jle 0x10084bfc
cmp ecx, 0xcb33e227
jg 0x10084c82
cmp ecx, 0xc4143fbf
je 0x10084cdf
cmp ecx, 0xc616f5c7
jne 0x10084b09
cmp dword [esp + 0x28], 0x10
mov ecx, 0x56ffd61e
je 0x10084bb7
mov ecx, 0x1230c68
xor ebx, ebx
jmp 0x10084b09
cmp ecx, 0x1230c68
je 0x10084d51
cmp ecx, 0x21863d76
je 0x10084d65
cmp ecx, 0x569f4cb5
jne 0x10084b09
push edi
call fcn.1008563c
test al, al
mov ecx, 0x70a66c95
mov eax, 0xcb33e228
cmovne ecx, eax
jmp 0x10084b09
cmp ecx, 0x827b9983
je 0x10084cf7
cmp ecx, 0x839f5974
je 0x10084d35
cmp ecx, 0xab25107e
jne 0x10084b09
push 0
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 0x827b9983
cmp eax, 0x10
jae 0x10084c3b
mov ecx, 0x72837831
mov dword [esp + 8], 0
jmp 0x10084b09
cmp ecx, 0x72837831
je 0x10084da4
cmp ecx, 0x7de82d68
jne 0x10084b09
mov dword [esp], ebp
mov eax, dword [esp]
mov ecx, 0xe8826fa1
cmp eax, 0xffffffff
je 0x10084c75
mov ecx, 0xab25107e
mov dword [esp + 4], 0
jmp 0x10084b09
cmp ecx, 0xcb33e228
jne 0x10084d96
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov ebp, esi
mov ecx, esi
call fcn.1000e86e
mov esi, eax
mov ebx, edi
mov ecx, edi
call fcn.1000e86e
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, 0x70a66c95
test eax, eax
je 0x10084cc2
mov ecx, 0xc4143fbf
mov esi, ebp
mov ebp, dword [esp + 0x24]
mov edi, ebx
mov ebx, dword [esp + 0x20]
jmp 0x10084b09
mov bl, 1
mov ecx, 0x1230c68
jmp 0x10084b09
mov ecx, edi
call fcn.1000e86e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x70a66c95
jmp 0x10084b09
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x28], ebx
push ebx
push ecx
push 0x10
push dword [esp + 0x80]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, 0x1230c68
test eax, eax
je 0x10084b09
mov ecx, 0xc616f5c7
jmp 0x10084b09
mov eax, dword [esp + 0x10]
mov ecx, 0x21863d76
cmp eax, 0xffffffff
je 0x10084d48
mov ecx, 0x7de82d68
mov ebp, dword [esp + 0x10]
jmp 0x10084b09
mov eax, dword [esp + 0x18]
mov ecx, 0x72837831
mov eax, ebx
mov dword [esp + 8], eax
jmp 0x10084b09
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push 1
push edi
call fcn.100850f2
push esi
call fcn.1008563c
mov ecx, 0x70a66c95
test al, al
jne 0x10084b09
mov ecx, 0x569f4cb5
jmp 0x10084b09
cmp ecx, 0xe8826fa1
jne 0x10084b09
jmp 0x10084dbb
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xe8826fa1
mov eax, dword [esp + 8]
jmp 0x10084b05
mov ebx, dword [esp + 4]
and bl, 1
lea ecx, [esp + 0x44]
call fcn.1000e7f4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100879aa
mov eax, ebx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 4