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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x507628]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x512eb8]
push ebx
push esi
push edi
push 0
push eax
mov ebx, ecx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42a253
xor eax, eax
jmp 0x42a4b3
xor eax, eax
test esi, esi
je 0x42a282
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42a26c
xor eax, eax
jmp 0x42a282
lea edi, [eax + eax]
mov eax, edi
call fcn.00461df0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00437160
push ebx
mov edi, eax
call fcn.0043d690
mov edi, eax
add esp, 4
mov dword [ebp - 0x448], edi
test edi, edi
je 0x42a24c
call fcn.0043d820
mov esi, eax
test esi, esi
je 0x42a2c6
cmp dword [edi], 2
sete al
test al, al
je 0x42a2ba
call fcn.0043e1f0
mov eax, esi
jmp 0x42a4b3
call fcn.0043d850
mov eax, esi
jmp 0x42a4b3
push 0xffffffffffffffff
lea edx, [ebp - 0x440]
mov eax, edi
call fcn.0043d790
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42a49b
mov edx, dword [0x511850]
mov ecx, dword [ebp - 0x440]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push eax
push eax
push 0x4c9
push edx
mov dword [ebp - 0x44c], ecx
call esi
push str.Decompress_files._Please_wait.
mov edx, 0x511870
call fcn.00403b80
mov eax, dword [0x511850]
add esp, 4
push ebx
push ebx
push 0x4c8
push eax
call esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20e]
push edx
mov word [ebp - 0x210], cx
call fcn.00460c60
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x44c], esi
jle 0x42a49b
mov eax, dword [0x512eb8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42a47e
push esi
lea edx, [ebp - 0x440]
mov eax, edi
call fcn.0043d790
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42a49b
lea ecx, [ebp - 0x43c]
push ecx
push 0x4f9c4c
push 0x4f9c54
lea edx, [ebp - 0x210]
call fcn.00403b80
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42a3c7
push 0x80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x448]
push esi
lea edx, [ebp - 0x43c]
call fcn.0043d7e0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42a482
cmp edi, 0xffffffff
je 0x42a3f9
push edi
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
mov dword [ebp - 0x444], esi
fild dword [ebp - 0x444]
push 0
fidiv dword [ebp - 0x44c]
fstp dword [ebp - 0x444]
fld dword [ebp - 0x444]
fimul dword [0x51185c]
fnstcw word [ebp - 0x442]
movzx eax, word [ebp - 0x442]
or eax, 0xc00
mov dword [ebp - 0x454], eax
mov eax, dword [0x511850]
fldcw word [ebp - 0x454]
fistp qword [ebp - 0x458]
mov edx, dword [ebp - 0x458]
push edx
push 0x4c9
fldcw word [ebp - 0x442]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, dword [ebp - 0x44c]
mov edi, dword [ebp - 0x448]
jl 0x42a351
jmp 0x42a49b
xor ebx, ebx
jmp 0x42a49b
cmp edi, 0xffffffff
je 0x42a495
push edi
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [ebp - 0x448]
cmp dword [edi], 2
sete al
test al, al
je 0x42a4ac
call fcn.0043e1f0
jmp 0x42a4b1
call fcn.0043d850
mov eax, ebx
lea esp, [ebp - 0x468]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ba17
mov esp, ebp
pop ebp
ret