Function at 0x4b0a40
Capabilities:
Get graphical window text
Set file attributes

Disassembly:
sub esp, 0xab0
mov eax, dword [esp + 0xabc]
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0xc], edi
jne 0x4b0a68
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xab0
ret
mov esi, dword [esp + 0xac0]
lea eax, [esp + 0x94]
push esi
push eax
call fcn.004d631b
mov ecx, dword [0x5b5528]
add esp, 8
mov word [esp + 0x6ac], di
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b0ab2
mov eax, dword [0x5b5528]
lea edx, [esp + 0x6ac]
push 0x208
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x5b5574]
lea ecx, [esp + 0x14]
push 0x40
push ecx
push 0x529
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esp + 0xac4]
push eax
push esi
call fcn.004d7652
add esp, 8
test eax, eax
jne 0x4b0afd
lea ecx, [esp + 0x94]
push 0x598e88
push ecx
call fcn.004d62f1
add esp, 8
mov dword [esp + 0xc], 1
lea edx, [esp + 0x94]
push edx
call fcn.004381b0
add esp, 4
test eax, eax
je 0x4b0b31
lea eax, [esp + 0x94]
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x94]
push ecx
call fcn.004d7368
add esp, 4
mov eax, dword [0x5b55a4]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetCursor]
cmp eax, edi
jle 0x4b0c3c
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call ebp
mov edx, dword [0x5b5528]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b0bae
mov eax, dword [0x5b55a4]
push ebx
lea ecx, [edi + 1]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x4b8]
push str._s:__d____d__saved:__d___please_wait__
push eax
call fcn.004d5ee1
mov edx, dword [0x5b5528]
add esp, 0x18
lea ecx, [esp + 0x4a8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x5b5528]
push eax
call fcn.004cb8e0
add esp, 4
mov eax, dword [0x5b55a8]
push 0
cmp edi, eax
push 0
jne 0x4b0bdb
mov ecx, dword [esp + 0xad4]
push 0
push 0
lea edx, [esp + 0xa8]
push ecx
push edx
call fcn.00430cd0
add esp, 0x18
add ebx, eax
jmp 0x4b0c27
mov ecx, dword [0x59f718]
mov edx, dword [esp + 0xad0]
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
push edx
call fcn.004a9410
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4b0c27
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00430cd0
add esp, 0x18
add ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x5b55a4]
inc edi
cmp edi, eax
jl 0x4b0b45
mov esi, dword [esp + 0xac4]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call ebp
cmp word [esp + 0x6b0], 0
pop ebp
je 0x4b0c6d
mov edx, dword [0x5b5528]
lea ecx, [esp + 0x6ac]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x5b55a4]
cmp ebx, eax
mov eax, dword [esp + 0xc]
jge 0x4b0c9a
test eax, eax
je 0x4b0c8e
lea eax, [esp + 0x94]
push eax
call fcn.004d7368
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xab0
ret
test eax, eax
je 0x4b0cb5
push esi
call fcn.004d7368
lea ecx, [esp + 0x98]
push esi
push ecx
call fcn.004d7a37
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xab0
ret