Function at 0x421a80
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4beb16
mov eax, dword fs:[0]
push eax
sub esp, 0x768
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x760], eax
push ebx
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x778]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
xor esi, esi
mov eax, ebx
mov dword [esp + 0x780], esi
call fcn.00423ac0
push 0x504
lea edx, [esp + 0x26c]
push esi
push edx
mov dword [esp + 0x270], esi
call fcn.0049ca10
add esp, 0xc
push 0x4ddb70
push ebx
lea edi, [esp + 0x26c]
call fcn.004239f0
mov byte [esp + 0x28], 0
mov dword [esp + 0x24], esi
mov byte [esp + 0x780], 1
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
mov esi, dword [ebx + 0x1c]
push 0x4f984c
push esi
lea edx, [ebx + 0x24]
push edx
push eax
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x30], edx
call fcn.0041c1f0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x784], 2
call fcn.0041e970
test al, al
jne 0x421bd3
push 0x4ddbc4
push ebx
call fcn.004239f0
lea ecx, [esp + 0x24]
call fcn.00447720
push 0x4ddc14
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
lea ecx, [esp + 0x24]
call fcn.00447770
lea esi, [esp + 0x78]
call fcn.00421970
lea ecx, [esp + 0x24]
call fcn.004476c0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x421bcb
cmp dword [eax + 4], 0
je 0x421bcb
mov edx, dword [eax + 4]
push 0
push 2
push 0x501
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
or eax, 0xffffffff
jmp 0x422158
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x70]
push eax
call fcn.00412970
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x6c]
mov byte [esp + 0x784], 4
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f], 0
call fcn.00412bb0
test al, al
jne 0x421c19
lea ecx, [esp + 0x24]
call fcn.00447770
cmp byte [esp + 0x17], 0
je 0x421c2a
lea eax, [esp + 0x68]
push eax
call fcn.00412b00
mov ecx, 5
mov edx, 0x4fee40
mov eax, 0x4f984c
call fcn.004404e0
mov ecx, dword [ebx + 0x10]
push 1
push 0x4f984c
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00468a40
mov ecx, eax
call fcn.00468740
push 0x4ddc2c
push ebx
lea edi, [esp + 0x26c]
call fcn.004239f0
lea eax, [esp + 0x94]
push eax
call fcn.00420140
lea ecx, [esp + 0x10c]
push ecx
mov byte [esp + 0x784], 6
call fcn.00420200
mov eax, 0x500838
mov ebx, 0x4f984c
mov byte [esp + 0x780], 7
call fcn.00440420
mov eax, 0x500838
call fcn.00440420
test eax, eax
je 0x4220fb
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push esi
push edx
mov edx, dword [esi + 0x10]
push edi
push edx
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x9c]
lea eax, [esp + 0xe0]
push eax
call fcn.00413de0
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0xc8]
push edx
mov byte [esp + 0x788], 8
xor ebx, ebx
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x2c]
mov byte [esp + 0x1f], bl
call fcn.004143e0
test al, al
jne 0x421d35
lea ecx, [esp + 0x24]
call fcn.00447770
push 0x4ddbe4
push esi
lea edi, [esp + 0x26c]
call fcn.004239f0
jmp 0x422099
mov al, byte [esp + 0x94]
mov cl, byte [esp + 0xb4]
mov dl, byte [esp + 0xb5]
mov byte [esp + 0x10c], al
mov eax, dword [esi + 4]
mov byte [esp + 0x124], cl
mov ecx, dword [0x4f9f84]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x264]
mov byte [esp + 0x125], dl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x780], 0xa
cmp byte [esp + 0x17], bl
je 0x422089
push ebx
call fcn.00499531
mov dword [esp + 0x60], eax
add esp, 4
mov eax, 0x4ff968
mov ebx, 0x4f984c
mov edi, edx
call fcn.00440420
mov dword [esp + 0x18], eax
mov eax, 0x500838
call fcn.00440420
cmp eax, 1
jne 0x421df9
mov eax, dword [esp + 0x18]
cdq
cmp edi, edx
jg 0x421df9
jl 0x421deb
cmp dword [esp + 0x5c], eax
jae 0x421df9
mov edx, dword [esp + 0x20]
mov byte [edx], 1
xor ebx, ebx
jmp 0x422090
lea eax, [esp + 0xc4]
push eax
lea edi, [esp + 0x30]
call fcn.00414140
mov ecx, dword [esp + 0x2c]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x13c]
call fcn.00448930
mov eax, edi
lea edx, [esp + 0x13c]
call fcn.00448b50
lea ecx, [esp + 0x13c]
mov byte [esp + 0x780], 0xd
call fcn.00444860
test al, al
je 0x421ecc
lea ecx, [esp + 0x18]
lea eax, [esp + 0xc4]
call fcn.004202e0
mov edi, dword [eax]
sub esp, 0x124
mov esi, esp
mov ecx, esi
mov dword [esp + 0x180], esp
call fcn.00448930
cmp byte [esp + 0x37c], 0
lea eax, [esp + 0x26c]
jne 0x421e90
mov eax, dword [esp + 0x268]
add eax, 4
mov edx, esi
call fcn.00448b50
mov byte [esp + 0x8a4], 0xe
call fcn.00409440
add esp, 0x124
lea esi, [esp + 0x18]
mov bl, al
mov byte [esp + 0x780], 0xd
call fcn.004035c0
test bl, bl
jne 0x421f62
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0xb4], 0
je 0x421f32
call fcn.004142e0
test al, al
je 0x421f32
mov ebx, 0x4d6464
lea esi, [esp + 0x18]
call fcn.004035f0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x780], 0x12
mov edx, dword [esp + 0xb6]
push edx
push eax
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xd4]
push eax
mov eax, dword [esp + 0x30]
lea esi, [esp + 0x38]
call fcn.00423270
lea esi, [esp + 0x18]
call fcn.004035c0
jmp 0x422070
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb7]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
lea ebx, [esp + 0xd8]
lea ecx, [esp + 0x38]
call fcn.00422a50
jmp 0x422070
call fcn.00405440
test al, al
je 0x422006
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
mov edx, dword [eax + 4]
push 0
push 0
add eax, 4
push 0x50a
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00413360
mov eax, dword [esi + 4]
cmp byte [eax + 0x7e8], 0
je 0x421ffd
mov edi, dword [esp + 0x20]
mov ebx, 0x4d6464
lea esi, [esp + 0x18]
mov byte [edi], 0
call fcn.004035f0
lea esi, [esp + 0x1c]
mov byte [esp + 0x780], 0x13
call fcn.004035f0
push 0
push 1
lea ecx, [esp + 0x20]
push ecx
mov edx, esi
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x798], 0x14
call fcn.0041ad20
test al, al
sete bl
call fcn.004035c0
lea esi, [esp + 0x18]
jmp 0x422064
mov eax, dword [esp + 0x20]
mov byte [eax], 1
jmp 0x422070
mov edi, dword [esp + 0x20]
mov ebx, 0x4d6464
lea esi, [esp + 0x1c]
mov byte [edi], 0
call fcn.004035f0
lea esi, [esp + 0x18]
mov byte [esp + 0x780], 0x15
call fcn.004035f0
push 0
push 1
lea ecx, [esp + 0x24]
push ecx
mov edx, esi
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x798], 0x16
call fcn.0041ad20
test al, al
sete bl
call fcn.004035c0
lea esi, [esp + 0x1c]
call fcn.004035c0
test bl, bl
setne dl
mov byte [edi], dl
lea ecx, [esp + 0x13c]
call fcn.004444f0
lea esi, [esp + 0x2c]
call fcn.004035c0
xor ebx, ebx
jmp 0x422090
mov eax, dword [esp + 0x20]
mov byte [eax], 1
lea esi, [esp + 0x34]
call fcn.00421a50
lea esi, [esp + 0xc4]
call fcn.00413f30
mov edx, dword [esp + 0x20]
cmp byte [edx], bl
jne 0x422104
lea esi, [esp + 0x10c]
call fcn.00422180
lea esi, [esp + 0x94]
call fcn.004219f0
lea esi, [esp + 0x68]
call fcn.00412a50
lea esi, [esp + 0x78]
call fcn.00421970
lea ecx, [esp + 0x24]
call fcn.004476c0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x422156
cmp dword [eax + 4], ebx
je 0x422156
mov eax, dword [eax + 4]
push ebx
push 2
push 0x501
push eax
jmp 0x422150
mov ecx, dword [esp + 0x20]
mov byte [ecx], 1
xor ebx, ebx
lea esi, [esp + 0x10c]
call fcn.00422180
lea esi, [esp + 0x94]
call fcn.004219f0
lea esi, [esp + 0x68]
call fcn.00412a50
lea esi, [esp + 0x78]
call fcn.00421970
lea ecx, [esp + 0x24]
call fcn.004476c0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x422156
cmp dword [eax + 4], ebx
je 0x422156
mov ecx, dword [eax + 4]
push ebx
push 2
push 0x501
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [esp + 0x778]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x760]
xor ecx, esp
call fcn.00497c58
mov esp, ebp
pop ebp
ret 4