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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x63fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x64efec]
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 0x4313e4
xor eax, eax
jmp 0x431707
cmp byte [ebp + 0xc], 1
jne 0x4313ef
call fcn.00436e40
xor edx, edx
xor eax, eax
mov dword [ebp - 0x10], 0x6e002e
mov dword [ebp - 0xc], 0x770065
mov word [ebp - 8], dx
test esi, esi
je 0x431432
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x43141c
xor eax, eax
jmp 0x431432
lea edi, [eax + eax]
mov eax, edi
call fcn.0054cb20
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0043a980
push ebx
mov edi, eax
call fcn.00444580
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4313dd
call fcn.00444710
mov esi, eax
test esi, esi
je 0x431472
cmp dword [ebx], 2
mov edi, ebx
sete al
test al, al
je 0x431466
call fcn.004450e0
mov eax, esi
jmp 0x431707
call fcn.00444740
mov eax, esi
jmp 0x431707
push 0xffffffffffffffff
lea eax, [ebp - 0x448]
mov ecx, ebx
call fcn.00444680
add esp, 4
mov dword [ebp - 0x450], eax
test eax, eax
je 0x4314ae
cmp dword [ebx], 2
mov edi, ebx
sete al
test al, al
je 0x4314a4
call fcn.004450e0
jmp 0x431701
call fcn.00444740
jmp 0x431701
mov eax, dword [0x64d970]
mov edi, dword [ebp - 0x448]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x4c9
push eax
mov dword [ebp - 0x454], edi
call esi
push str.Decompress_files._Please_wait.
mov edx, 0x64d990
call fcn.004098c0
mov ecx, dword [0x64d970]
add esp, 4
push 0
push 0
push 0x4c8
push ecx
call esi
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.0054b8b0
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x43169c
mov ecx, dword [0x64efec]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43167d
push esi
lea eax, [ebp - 0x448]
mov ecx, ebx
call fcn.00444680
add esp, 4
mov dword [ebp - 0x450], eax
test eax, eax
jne 0x43169c
lea edx, [ebp - 0x444]
push edx
push 0x61bff4
push 0x61bffc
lea edx, [ebp - 0x218]
call fcn.004098c0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
je 0x431598
push 0x80
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x444]
push edx
mov ecx, esi
mov eax, ebx
call fcn.004446d0
add esp, 4
mov dword [ebp - 0x450], eax
test eax, eax
jne 0x431689
cmp edi, 0xffffffff
je 0x4315cc
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebp + 0xc], 1
jne 0x4315fd
test byte [ebp - 0x23c], 0x10
jne 0x4315fd
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x444]
push edx
call fcn.00545f39
add esp, 8
test eax, eax
je 0x4315fd
lea eax, [ebp - 0x448]
call fcn.00436db0
inc esi
mov dword [ebp - 0x44c], esi
fild dword [ebp - 0x44c]
mov ecx, dword [0x64d970]
push 0
fidiv dword [ebp - 0x454]
fstp dword [ebp - 0x44c]
fld dword [ebp - 0x44c]
fimul dword [0x64d97c]
fnstcw word [ebp - 0x44a]
movzx eax, word [ebp - 0x44a]
or eax, 0xc00
mov dword [ebp - 0x45c], eax
fldcw word [ebp - 0x45c]
fistp qword [ebp - 0x460]
mov eax, dword [ebp - 0x460]
push eax
push 0x4c9
fldcw word [ebp - 0x44a]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, dword [ebp - 0x454]
jl 0x43151d
jmp 0x43169c
mov dword [ebp - 0x450], 0
jmp 0x43169c
cmp edi, 0xffffffff
je 0x43169c
push edi
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebx]
cmp eax, 2
sete cl
test cl, cl
je 0x4316d1
cmp eax, 2
je 0x4316b9
mov dword [0x64eec8], 0x80000
jmp 0x431701
mov esi, dword [ebx + 4]
call fcn.00444f60
mov dword [0x64eec8], eax
test esi, esi
je 0x4316f8
call fcn.00445090
jmp 0x4316f8
cmp eax, 1
je 0x4316e2
mov dword [0x64eec4], 0x80000
jmp 0x431701
mov esi, dword [ebx + 4]
call fcn.00444520
mov dword [0x64eec4], eax
test esi, esi
je 0x4316f8
call fcn.00444630
push ebx
call fcn.00445171
add esp, 4
mov eax, dword [ebp - 0x450]
lea esp, [ebp - 0x470]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544a28
mov esp, ebp
pop ebp
ret