Function at 0x4b6260
Capabilities:
Copy file
Delete file
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fbfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x750
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 4]
push 0x1042
push eax
call edi
push 0x59d4a4
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.0040b4f0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x348]
cmp ebx, eax
ja 0x4b67c2
test eax, eax
je 0x4b67c2
push 0x30
lea ecx, [ebp - 0xcc]
push 0
push ecx
call fcn.00555020
mov eax, dword [esi + 4]
add esp, 0xc
lea edx, [ebp - 0xd0]
push edx
mov dword [ebp - 0xcc], ebx
xor ebx, ebx
push ebx
push 0x104b
push eax
mov dword [ebp - 0xd0], 4
call edi
push 0x206
lea edx, [ebp - 0x35a]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x35c], cx
call fcn.00555020
mov eax, dword [ebp - 0xb0]
add esp, 0xc
cmp eax, dword [esi + 0x348]
jb 0x4b6332
push 0x80070057
call fcn.00401150
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [esi + 0x344]
mov eax, dword [eax + 0x2c]
cmp eax, dword [0x5f788c]
jb 0x4b6353
push 0x80070057
call fcn.00401150
mov ecx, dword [0x5f7888]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*4]
mov eax, dword [eax + 0x18]
sub eax, 0x10
push eax
call fcn.004021d0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x75c]
push ecx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x200
ja 0x4b67fb
cmp eax, ebx
je 0x4b67fb
lea edx, [ebp - 0x75c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040bfb0
mov byte [ebp - 4], 0xb
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x154], ebx
mov byte [ebp - 4], 0xe
push 0x2000
lea ecx, [ebp - 0x154]
call fcn.004b32d0
mov eax, dword [ebp - 0x28]
push 0x59e650
push eax
call fcn.00558089
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4b65b3
push esi
push 0x14
lea ecx, [ebp - 0x44]
push 1
push ecx
call fcn.005583d8
add esp, 0x10
cmp eax, 0x14
je 0x4b64c5
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x150]
cmp dword [ebp - 0x154], edx
je 0x4b6465
lea ecx, [ebp - 0x154]
call fcn.004021b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.00404d60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00404d60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00404d60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00404d60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00404d60
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
movzx eax, word [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004b3f50
movzx ecx, word [ebp - 0x34]
push esi
push 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00404db0
push eax
call fcn.005583d8
movzx edx, word [ebp - 0x34]
add esp, 0x10
push edx
lea ecx, [ebp - 0x1c]
call fcn.00403ab0
push esi
push 1
lea eax, [ebp - 0x10]
push 4
push eax
mov dword [ebp - 0x10], ebx
call fcn.005583d8
mov ecx, dword [ebp - 0x10]
add esp, 0x10
push ecx
lea ecx, [ebp - 0x14]
call fcn.004b4390
mov edx, dword [ebp - 0x10]
push esi
push 1
push edx
lea ecx, [ebp - 0x14]
call fcn.00404120
push eax
call fcn.005583d8
mov eax, dword [ebp - 0x10]
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
call fcn.00402d00
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00407d40
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.004343a0
mov eax, dword [ebp - 0x18]
push 0x59f2c0
push eax
call fcn.00558089
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b65aa
jmp 0x4b6570
mov ecx, dword [ebp - 0x154]
push esi
push 0x2000
push 1
push ecx
call fcn.005583d8
mov edx, dword [ebp - 0x154]
push ebx
mov edi, eax
push edi
push 1
push edx
call fcn.00557f51
add esp, 0x20
cmp edi, 0x2000
je 0x4b6570
push ebx
call fcn.00557d86
add esp, 4
push esi
call fcn.00557d86
add esp, 4
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x10
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x20], eax
mov bl, 0x12
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
push 0x2e
push eax
call fcn.00557738
xor edi, edi
add esp, 8
cmp eax, edi
je 0x4b665b
sub eax, dword [ebp - 0x14]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b665b
push esi
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004b3e90
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.00405c70
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00404d60
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 0xc]
dec eax
push eax
inc esi
push esi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.004b3d90
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405c70
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00404d60
mov eax, dword [ebp - 0x24]
mov esi, 1
cmp dword [eax - 4], esi
jle 0x4b6677
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00403bd0
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x35c]
push 0x104
push edx
call fcn.00554e48
push 0x58
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.00555020
mov edx, dword [ebp - 0x20]
add esp, 0x18
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x35c]
push eax
mov dword [ebp - 0x9c], 0x58
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], 0x104
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], 0x800
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
cmp eax, esi
jne 0x4b6751
mov ecx, dword [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040bfb0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x20]
push 0x59e5a0
push edx
call fcn.005571bb
add esp, 8
test eax, eax
je 0x4b672d
push 0x59d7d4
lea ecx, [ebp - 0x10]
call fcn.0040b5f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406040
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00404d60
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x20]
call fcn.00404d60
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x24]
call fcn.00404d60
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x150]
cmp dword [ebp - 0x154], eax
je 0x4b6786
lea ecx, [ebp - 0x154]
call fcn.004021b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.00404d60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00404d60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00404d60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00404d60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404d60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b67e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b681e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b6841
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b6864
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b688a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10