Function at 0x405ba0
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42a39b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x435654]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x238]
lea ecx, [esp + 0x14]
push ecx
push 0
push esi
mov dword [esp + 0x23c], 0
call fcn.00406970
add esp, 0xc
lea edx, [esp + 0x118]
push 0
push edx
push esi
call sub.LZ32.dll_LZOpenFileA
mov ebx, eax
test ebx, ebx
jge 0x405c79
mov eax, dword [esp + 0x240]
test eax, eax
je 0x405c17
push 2
call fcn.00406150
add esp, 4
jmp 0x405c5e
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x244]
lea eax, [esp + 0x14]
push eax
push 0xe
push ecx
push edx
call fcn.00406fa0
add esp, 0xc
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00420183
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 0x10
call fcn.00406190
push eax
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.00424c17
xor eax, eax
jmp 0x405e99
mov esi, dword [esp + 0x23c]
push esi
call fcn.004056e0
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 4
test eax, eax
jne 0x405cbe
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
test eax, eax
je 0x405cc6
cmp eax, 0xffffffff
je 0x405cc6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405cc6
push 0x80
push esi
call ebp
lea ecx, [esp + 0x1a0]
push 0x1000
push ecx
push esi
call sub.LZ32.dll_LZOpenFileA
mov edi, eax
test edi, edi
jge 0x405d5e
mov eax, dword [esp + 0x240]
test eax, eax
je 0x405cf6
push 6
call fcn.00406150
add esp, 4
jmp 0x405d3d
mov eax, dword [esp + 0x248]
mov ecx, dword [esp + 0x244]
lea edx, [esp + 0x14]
push edx
push 0x11
push eax
push ecx
call fcn.00406fa0
add esp, 0xc
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00420183
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 0x10
call fcn.00406190
push eax
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call sub.LZ32.dll_LZClose
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.00424c17
xor eax, eax
jmp 0x405e99
push edi
push ebx
call sub.LZ32.dll_LZCopy
test eax, eax
jge 0x405df2
mov eax, dword [esp + 0x240]
test eax, eax
je 0x405d84
push 6
call fcn.00406150
add esp, 4
jmp 0x405dcb
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x244]
lea eax, [esp + 0x14]
push eax
push 0x11
push ecx
push edx
call fcn.00406fa0
add esp, 0xc
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00420183
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 0x10
call fcn.00406190
push eax
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call sub.LZ32.dll_LZClose
push edi
call sub.LZ32.dll_LZClose
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.00424c17
xor eax, eax
jmp 0x405e99
push ebx
call sub.LZ32.dll_LZClose
push edi
call sub.LZ32.dll_LZClose
push 0x80
push esi
call ebp
test eax, eax
jne 0x405e80
mov eax, dword [esp + 0x240]
test eax, eax
je 0x405e21
push 6
call fcn.00406150
add esp, 4
jmp 0x405e68
mov edx, dword [esp + 0x248]
mov eax, dword [esp + 0x244]
lea ecx, [esp + 0x14]
push ecx
push 0x11
push edx
push eax
call fcn.00406fa0
add esp, 0xc
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00420183
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 0x10
call fcn.00406190
push eax
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.00424c17
xor eax, eax
jmp 0x405e99
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.00424c17
mov eax, 1
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret