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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x504628]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x50ff08]
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 0x4274c4
xor eax, eax
jmp 0x427755
mov ecx, 0x2e
mov edx, 0x6e
mov eax, 0x65
mov word [ebp - 0x14], cx
mov word [ebp - 0x12], dx
mov word [ebp - 0x10], ax
xor edx, edx
mov ecx, 0x77
xor eax, eax
mov word [ebp - 0xe], cx
mov word [ebp - 0xc], dx
test esi, esi
je 0x42751d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x427507
xor eax, eax
jmp 0x42751d
lea edi, [eax + eax]
mov eax, edi
call fcn.004609e0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00432e00
push ebx
mov edi, eax
call fcn.0043be10
mov edi, eax
add esp, 4
mov dword [ebp - 0x454], edi
test edi, edi
je 0x4274bd
call fcn.0043bfa0
mov esi, eax
test esi, esi
je 0x427561
cmp dword [edi], 2
sete al
test al, al
je 0x427555
call fcn.0043c970
mov eax, esi
jmp 0x427755
call fcn.0043bfd0
mov eax, esi
jmp 0x427755
push 0xffffffffffffffff
lea eax, [ebp - 0x44c]
mov ecx, edi
call fcn.0043bf10
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42773d
mov ecx, dword [0x50e884]
mov eax, dword [ebp - 0x44c]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push ebx
push ebx
push 0x4c9
push ecx
mov dword [ebp - 0x458], eax
call esi
push str.Decompress_files._Please_wait.
mov edx, 0x50e8a0
call fcn.00407ab0
mov edx, dword [0x50e884]
add esp, 4
push ebx
push ebx
push 0x4c8
push edx
call esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.0045f850
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x458], esi
jle 0x42773d
lea ecx, [ecx]
mov edx, dword [0x50ff08]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x427720
push esi
lea eax, [ebp - 0x44c]
mov ecx, edi
call fcn.0043bf10
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42773d
lea eax, [ebp - 0x448]
push eax
push 0x4f765c
push 0x4f7664
lea edx, [ebp - 0x21c]
call fcn.00407ab0
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
je 0x427667
push 0x80
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x448]
push eax
mov eax, dword [ebp - 0x454]
mov ecx, esi
call fcn.0043bf60
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x427724
cmp edi, 0xffffffff
je 0x42769b
push edi
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
mov dword [ebp - 0x450], esi
fild dword [ebp - 0x450]
push 0
fidiv dword [ebp - 0x458]
fstp dword [ebp - 0x450]
fld dword [ebp - 0x450]
fimul dword [0x50e890]
fnstcw word [ebp - 0x44e]
movzx eax, word [ebp - 0x44e]
or eax, 0xc00
mov dword [ebp - 0x460], eax
mov eax, dword [0x50e884]
fldcw word [ebp - 0x460]
fistp qword [ebp - 0x464]
mov edx, dword [ebp - 0x464]
push edx
push 0x4c9
fldcw word [ebp - 0x44e]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, dword [ebp - 0x458]
mov edi, dword [ebp - 0x454]
jl 0x4275f0
jmp 0x42773d
xor ebx, ebx
jmp 0x42773d
cmp edi, 0xffffffff
je 0x427737
push edi
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [ebp - 0x454]
cmp dword [edi], 2
sete al
test al, al
je 0x42774e
call fcn.0043c970
jmp 0x427753
call fcn.0043bfd0
mov eax, ebx
lea esp, [ebp - 0x474]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0045a0a2
mov esp, ebp
pop ebp
ret