Function at 0x42a0e0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x50b618]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x514930]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42a114
xor eax, eax
jmp 0x42a3e7
cmp byte [ebp + 0xc], 1
jne 0x42a11f
call fcn.00431ed0
mov ecx, 0x2e
mov edx, 0x6e
mov eax, 0x65
mov word [ebp - 0x10], cx
mov word [ebp - 0xe], dx
mov word [ebp - 0xc], ax
xor edx, edx
mov ecx, 0x77
xor eax, eax
mov word [ebp - 0xa], cx
mov word [ebp - 8], dx
test esi, esi
je 0x42a178
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42a162
xor eax, eax
jmp 0x42a178
lea edi, [eax + eax]
mov eax, edi
call fcn.00464640
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.004372c0
push ebx
mov edi, eax
call fcn.0043f7e0
mov edi, eax
add esp, 4
mov dword [ebp - 0x450], edi
test edi, edi
je 0x42a10d
call fcn.0043f970
mov esi, eax
test esi, esi
je 0x42a1c0
cmp dword [edi], 2
sete al
test al, al
je 0x42a1b4
call fcn.00440340
mov eax, esi
jmp 0x42a3e7
call fcn.0043f9a0
mov eax, esi
jmp 0x42a3e7
push 0xffffffffffffffff
lea eax, [ebp - 0x448]
mov ecx, edi
call fcn.0043f8e0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42a3cf
mov ecx, dword [0x5132b8]
mov eax, dword [ebp - 0x448]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push ebx
push ebx
push 0x4c9
push ecx
mov dword [ebp - 0x454], eax
call esi
push str.Decompress_files._Please_wait.
mov edx, 0x5132d8
call fcn.00408ae0
mov edx, dword [0x5132b8]
add esp, 4
push ebx
push ebx
push 0x4c8
push edx
call esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004634b0
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x454], esi
jle 0x42a3cf
lea esp, [esp]
mov edx, dword [0x514930]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42a3b2
push esi
lea eax, [ebp - 0x448]
mov ecx, edi
call fcn.0043f8e0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42a3cf
lea eax, [ebp - 0x444]
push eax
push 0x4fe808
push 0x4fe810
lea edx, [ebp - 0x218]
call fcn.00408ae0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42a2c7
push 0x80
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x444]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, esi
call fcn.0043f930
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42a3b6
cmp edi, 0xffffffff
je 0x42a2fb
push edi
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebp + 0xc], 1
jne 0x42a32d
test byte [ebp - 0x23c], 0x10
jne 0x42a32d
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x444]
push eax
call fcn.0045ed5b
add esp, 8
test eax, eax
je 0x42a32d
lea ecx, [ebp - 0x448]
push ecx
call fcn.00431e20
inc esi
mov dword [ebp - 0x44c], esi
fild dword [ebp - 0x44c]
push 0
fidiv dword [ebp - 0x454]
fstp dword [ebp - 0x44c]
fld dword [ebp - 0x44c]
fimul dword [0x5132c4]
fnstcw word [ebp - 0x44a]
movzx eax, word [ebp - 0x44a]
or eax, 0xc00
mov dword [ebp - 0x45c], eax
mov eax, dword [0x5132b8]
fldcw word [ebp - 0x45c]
fistp qword [ebp - 0x460]
mov edx, dword [ebp - 0x460]
push edx
push 0x4c9
fldcw word [ebp - 0x44a]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, dword [ebp - 0x454]
mov edi, dword [ebp - 0x450]
jl 0x42a250
jmp 0x42a3cf
xor ebx, ebx
jmp 0x42a3cf
cmp edi, 0xffffffff
je 0x42a3c9
push edi
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [ebp - 0x450]
cmp dword [edi], 2
sete al
test al, al
je 0x42a3e0
call fcn.00440340
jmp 0x42a3e5
call fcn.0043f9a0
mov eax, ebx
lea esp, [ebp - 0x470]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d99c
mov esp, ebp
pop ebp
ret