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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x52afa0]
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 0x438a54
xor eax, eax
jmp 0x438d27
cmp byte [ebp + 0xc], 1
jne 0x438a5f
call fcn.00440d20
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 0x438ab8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x438aa2
xor eax, eax
jmp 0x438ab8
lea edi, [eax + eax]
mov eax, edi
call fcn.00474600
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00446320
push ebx
mov edi, eax
call fcn.0044f650
mov edi, eax
add esp, 4
mov dword [ebp - 0x450], edi
test edi, edi
je 0x438a4d
call fcn.0044f7e0
mov esi, eax
test esi, esi
je 0x438b00
cmp dword [edi], 2
sete al
test al, al
je 0x438af4
call fcn.004501b0
mov eax, esi
jmp 0x438d27
call fcn.0044f810
mov eax, esi
jmp 0x438d27
push 0xffffffffffffffff
lea eax, [ebp - 0x448]
mov ecx, edi
call fcn.0044f750
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x438d0f
mov ecx, dword [0x529908]
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, 0x529928
call fcn.0040bf60
mov edx, dword [0x529908]
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.004737c0
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x454], esi
jle 0x438d0f
lea esp, [esp]
mov edx, dword [0x52afa0]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x438cf2
push esi
lea eax, [ebp - 0x448]
mov ecx, edi
call fcn.0044f750
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x438d0f
lea eax, [ebp - 0x444]
push eax
push 0x51183c
push 0x511844
lea edx, [ebp - 0x218]
call fcn.0040bf60
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
je 0x438c07
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.0044f7a0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x438cf6
cmp edi, 0xffffffff
je 0x438c3b
push edi
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebp + 0xc], 1
jne 0x438c6d
test byte [ebp - 0x23c], 0x10
jne 0x438c6d
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x444]
push eax
call fcn.0046f0ac
add esp, 8
test eax, eax
je 0x438c6d
lea ecx, [ebp - 0x448]
push ecx
call fcn.00440c70
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 [0x529914]
fnstcw word [ebp - 0x44a]
movzx eax, word [ebp - 0x44a]
or eax, 0xc00
mov dword [ebp - 0x45c], eax
mov eax, dword [0x529908]
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 0x438b90
jmp 0x438d0f
xor ebx, ebx
jmp 0x438d0f
cmp edi, 0xffffffff
je 0x438d09
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 0x438d20
call fcn.004501b0
jmp 0x438d25
call fcn.0044f810
mov eax, ebx
lea esp, [ebp - 0x470]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret