Function at 0x422250
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bea14
mov eax, dword fs:[0]
push eax
sub esp, 0x728
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x720], eax
push ebx
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x738]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x24]
xor ebx, ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
cmp dword [edi], ebx
je 0x4222ba
push 0x4eb2dc
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x80800000
call fcn.004a1a26
mov ecx, dword [esi + 4]
mov dword [esp + 0x34], ecx
push 0x504
lea edx, [esp + 0x22c]
push ebx
mov dword [esp + 0x748], ebx
push edx
mov dword [esp + 0x230], ebx
call fcn.0049ca10
mov eax, dword [esi + 0x20]
add esp, 0xc
mov dword [esp + 0x30], eax
mov byte [esp + 0x18], bl
mov dword [esp + 0x14], ebx
push ebx
mov byte [esp + 0x744], 1
call fcn.00499531
mov dword [esp + 0x24], edx
mov ecx, eax
add esp, 4
mov edx, 0x4ffd70
mov eax, 0x4f984c
call fcn.004404e0
mov ecx, dword [esi + 0x10]
push 1
push 0x4f984c
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00468a40
mov ecx, eax
call fcn.00468740
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x1c]
push 0x4f984c
push edx
push edi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041c1f0
mov byte [esp + 0x740], 3
cmp dword [edi], ebx
je 0x422378
push 0x4eb2dc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x80800000
call fcn.004a1a26
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x44]
call fcn.0041e970
test al, al
jne 0x42243e
push 0x4ddbc4
push esi
lea edi, [esp + 0x22c]
call fcn.004239f0
lea ecx, [esp + 0x14]
call fcn.00447720
push 0x4ddc14
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
lea ecx, [esp + 0x14]
call fcn.00447770
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4223eb
mov eax, dword [eax + 0x94]
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x5c]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [0x4fd600]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
cmp eax, ebx
je 0x422404
push ebx
push ebx
push 0x800d
push eax
call edi
lea esi, [esp + 0x40]
call fcn.00421970
lea ecx, [esp + 0x14]
call fcn.004476c0
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x42274c
cmp dword [eax + 4], ebx
je 0x42274c
mov eax, dword [eax + 4]
push ebx
push 2
push 0x501
push eax
call edi
jmp 0x42274c
mov ecx, 5
mov edx, 0x4fee40
mov eax, 0x4f984c
call fcn.004404e0
mov ecx, dword [esi + 0x10]
push 1
push 0x4f984c
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00468a40
mov ecx, eax
call fcn.00468740
test al, al
jne 0x422477
call fcn.00447a00
cmp dword [edi], ebx
je 0x422492
push 0x4eb2dc
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x80800000
call fcn.004a1a26
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push esi
push edx
mov edx, dword [esi + 0x10]
push edi
push edx
push 0x4f984c
push eax
push ecx
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0xd0]
push eax
call fcn.00413de0
lea ecx, [esp + 0x84]
mov byte [esp + 0x740], 5
push ecx
mov byte [esp + 0x17], 1
call fcn.00420140
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x1c]
mov byte [esp + 0x748], 6
call fcn.00414d20
test al, al
jne 0x422526
lea ecx, [esp + 0x14]
call fcn.00447a00
lea ecx, [esp + 0x14]
call fcn.00447770
push 0x4ddbe4
push esi
lea edi, [esp + 0x22c]
call fcn.004239f0
jmp 0x422719
cmp dword [edi], ebx
je 0x422541
push 0x4eb2dc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x80800000
call fcn.004a1a26
push edi
lea edx, [esp + 0x228]
push edx
mov edx, dword [esi + 4]
lea eax, [esp + 0x64]
call fcn.00420100
mov byte [esp + 0x740], 7
mov esi, dword [esi + 4]
lea eax, [esp + 0x5c]
mov dword [esi + 0x7c8], eax
mov ebx, 0x4dbddc
lea esi, [esp + 0x28]
call fcn.004035f0
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x740], 8
mov eax, esi
mov esi, dword [ecx + 4]
call fcn.0040ba10
cmp byte [esp + 0x13], 0
je 0x422707
mov edx, dword [esp + 0x8c]
mov eax, dword [0x4fd600]
push 0
push edx
push 0x8010
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call fcn.00499531
add esp, 4
lea ecx, [esp + 0xb4]
push ecx
lea edi, [esp + 0x30]
call fcn.00414140
mov edx, dword [esp + 0x2c]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0xfc]
call fcn.00448930
mov eax, esi
lea edx, [esp + 0xfc]
call fcn.00448b50
mov byte [esp + 0x740], 0xb
call fcn.004142e0
lea esi, [esp + 0x1c]
call fcn.004035f0
mov byte [esp + 0x740], 0xc
cmp byte [esp + 0x84], 0
je 0x422651
cmp dword [esp + 0x30], 0
jne 0x422651
mov edi, dword [esp + 0x38]
mov eax, esi
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0xbc]
push edx
lea ecx, [esp + 0x108]
call fcn.00422cf0
mov edi, eax
jmp 0x4226a0
mov ebx, 0x4dbddc
lea esi, [esp + 0x30]
call fcn.004035f0
mov byte [esp + 0x740], 0xd
mov eax, dword [esp + 0x9c]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xbc]
push edx
call fcn.00422780
mov edi, eax
call fcn.004035c0
test edi, edi
je 0x4226a0
mov eax, dword [esp + 0x3c]
cmp dword [eax], 0
jne 0x4226a0
xor ecx, ecx
call fcn.0040e620
lea esi, [esp + 0x1c]
call fcn.004035c0
lea ecx, [esp + 0xfc]
call fcn.004444f0
lea esi, [esp + 0x2c]
call fcn.004035c0
lea esi, [esp + 0x28]
call fcn.004035c0
lea esi, [esp + 0x5c]
call fcn.00421a50
lea esi, [esp + 0x84]
call fcn.004219f0
lea esi, [esp + 0xb4]
call fcn.00413f30
lea esi, [esp + 0x40]
call fcn.00421970
lea ecx, [esp + 0x14]
call fcn.004476c0
lea eax, [esp + 0x34]
call fcn.004214a0
mov eax, edi
jmp 0x42274f
lea esi, [esp + 0x28]
call fcn.004035c0
lea esi, [esp + 0x5c]
call fcn.00421a50
lea esi, [esp + 0x84]
call fcn.004219f0
lea esi, [esp + 0xb4]
call fcn.00413f30
lea esi, [esp + 0x40]
call fcn.00421970
lea ecx, [esp + 0x14]
call fcn.004476c0
lea eax, [esp + 0x34]
call fcn.004214a0
or eax, 0xffffffff
mov ecx, dword [esp + 0x738]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x720]
xor ecx, esp
call fcn.00497c58
mov esp, ebp
pop ebp
ret