Function at 0x46d6d0
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push ecx
push str.OperateFile::CopyFileWithDecompress
lea ecx, [ebp - 0x48]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46d797
test byte [ecx + 0x1c], 1
je 0x46d75b
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cecd4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x52
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x46d797
test byte [ecx + 0x1c], 1
je 0x46d797
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push edi
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x53
call fcn.00430170
add esp, 0x14
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 0
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupGetFileCompressionInfoW]
test eax, eax
jne 0x46d906
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x46d978
push eax
push esi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x46d8b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46d84c
test byte [ecx + 0x1c], 2
je 0x46d84c
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x48]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cecd4
push esi
mov ecx, 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
cmp edi, 0x70
jne 0x46d86a
push 0xa4
push dword [0x6184fc]
call fcn.00502d80
mov ecx, dword [0x608f30]
add esp, 8
mov byte [ebp - 0x44], 1
cmp ecx, 0x608f30
je 0x46db39
test byte [ecx + 0x1c], 1
je 0x46db39
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x55
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x46d951
push 0x20
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46d90c
test byte [ecx + 0x1c], 4
je 0x46d90c
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
push dword [ebp - 0x4c]
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x5a
call fcn.00430170
add esp, 0x14
mov ecx, dword [0x608f30]
mov byte [ebp - 0x44], 1
cmp ecx, 0x608f30
je 0x46d94c
test byte [ecx + 0x1c], 1
je 0x46d94c
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 1
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x5b
call fcn.004018a0
add esp, 0x10
mov esi, 1
lea ecx, [ebp - 0x48]
call fcn.0040a570
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 8
cmp eax, 1
jne 0x46da60
lea eax, [ebp - 0x50]
push eax
push esi
push dword [ebp - 0x4c]
call dword [sym.imp.SETUPAPI.dll_SetupDecompressOrCopyFileW]
test eax, eax
je 0x46d8c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46d9f3
test byte [ecx + 0x1c], 2
je 0x46d9f3
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x48]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cecd4
push esi
mov ecx, 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
cmp edi, 0x70
jne 0x46da11
push 0xa4
push dword [0x6184fc]
call fcn.00502d80
mov ecx, dword [0x608f30]
add esp, 8
mov byte [ebp - 0x44], 1
cmp ecx, 0x608f30
je 0x46db39
test byte [ecx + 0x1c], 1
je 0x46db39
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x57
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x46d951
cmp eax, 2
jne 0x46d8c2
lea eax, [ebp - 0x50]
push eax
push esi
push dword [ebp - 0x4c]
call dword [sym.imp.SETUPAPI.dll_SetupDecompressOrCopyFileW]
test eax, eax
je 0x46d8c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46dadb
test byte [ecx + 0x1c], 2
je 0x46dadb
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x48]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cecd4
push esi
mov ecx, 0x58
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
cmp edi, 0x70
jne 0x46daf9
push 0xa4
push dword [0x6184fc]
call fcn.00502d80
mov ecx, dword [0x608f30]
add esp, 8
mov byte [ebp - 0x44], 1
cmp ecx, 0x608f30
je 0x46db39
test byte [ecx + 0x1c], 1
je 0x46db39
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x59
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x46d951