Function at 0x5631e0
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 0x660e9b
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 0x66f16a
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.0040aab0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x368]
cmp ebx, eax
ja 0x563742
test eax, eax
je 0x563742
push 0x30
lea ecx, [ebp - 0xcc]
push 0
push ecx
call fcn.006100a0
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.006100a0
mov eax, dword [ebp - 0xb0]
add esp, 0xc
cmp eax, dword [esi + 0x368]
jb 0x5632b2
push 0x80070057
call fcn.004011d0
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [esi + 0x364]
mov eax, dword [eax + 0x2c]
cmp eax, dword [0x714288]
jb 0x5632d3
push 0x80070057
call fcn.004011d0
mov ecx, dword [0x714284]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*4]
mov eax, dword [eax + 0x18]
sub eax, 0x10
push eax
call fcn.004011f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
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 0x56377b
cmp eax, ebx
je 0x56377b
lea edx, [ebp - 0x75c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040bea0
mov byte [ebp - 4], 0xb
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
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.004b9850
mov eax, dword [ebp - 0x28]
push 0x66fe90
push eax
call fcn.00614a04
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x563533
push esi
push 0x14
lea ecx, [ebp - 0x44]
push 1
push ecx
call fcn.00614929
add esp, 0x10
cmp eax, 0x14
je 0x563445
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x150]
cmp dword [ebp - 0x154], edx
je 0x5633e5
lea ecx, [ebp - 0x154]
call fcn.004dc950
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.004014a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.004014a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004014a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004014a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004014a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004014a0
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.0055fb80
movzx ecx, word [ebp - 0x34]
push esi
push 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004014f0
push eax
call fcn.00614929
movzx edx, word [ebp - 0x34]
add esp, 0x10
push edx
lea ecx, [ebp - 0x1c]
call fcn.004048d0
push esi
push 1
lea eax, [ebp - 0x10]
push 4
push eax
mov dword [ebp - 0x10], ebx
call fcn.00614929
mov ecx, dword [ebp - 0x10]
add esp, 0x10
push ecx
lea ecx, [ebp - 0x14]
call fcn.00560f00
mov edx, dword [ebp - 0x10]
push esi
push 1
push edx
lea ecx, [ebp - 0x14]
call fcn.00404c30
push eax
call fcn.00614929
mov eax, dword [ebp - 0x10]
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
call fcn.00417d70
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004078d0
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040b4e0
mov eax, dword [ebp - 0x18]
push 0x674758
push eax
call fcn.00614a04
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x56352a
jmp 0x5634f0
mov ecx, dword [ebp - 0x154]
push esi
push 0x2000
push 1
push ecx
call fcn.00614929
mov edx, dword [ebp - 0x154]
push ebx
mov edi, eax
push edi
push 1
push edx
call fcn.006161f6
add esp, 0x20
cmp edi, 0x2000
je 0x5634f0
push ebx
call fcn.0061466b
add esp, 4
push esi
call fcn.0061466b
add esp, 4
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x10
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
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.0061571d
xor edi, edi
add esp, 8
cmp eax, edi
je 0x5635db
sub eax, dword [ebp - 0x14]
mov esi, eax
cmp esi, 0xffffffff
je 0x5635db
push esi
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043ae30
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.00405830
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.004014a0
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.00414790
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405830
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.004014a0
mov eax, dword [ebp - 0x24]
mov esi, 1
cmp dword [eax - 4], esi
jle 0x5635f7
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00401370
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x35c]
push 0x104
push edx
call fcn.00611c28
push 0x58
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.006100a0
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 0x5636d1
mov ecx, dword [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040bea0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x20]
push 0x6742dc
push edx
call fcn.00611e0e
add esp, 8
test eax, eax
je 0x5636ad
push 0x671930
lea ecx, [ebp - 0x10]
call fcn.00401b50
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00401710
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.004014a0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x20]
call fcn.004014a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x24]
call fcn.004014a0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x150]
cmp dword [ebp - 0x154], eax
je 0x563706
lea ecx, [ebp - 0x154]
call fcn.004dc950
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.004014a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.004014a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004014a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004014a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004014a0
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 0x563768
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 0x56379e
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 0x5637c1
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 0x5637e4
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 0x56380a
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