Function at 0x422a30
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x46a257
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4896a0]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4896a0]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0xd4]
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xc8]
xor ebx, ebx
mov ebp, ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ebx
cmp dword [esp + 0xd8], ebx
jne 0x422ab3
test esi, esi
je 0x422d6d
lea ecx, [esp + 0x58]
call fcn.00423590
mov eax, dword [esp + 0xbc]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebp
mov dword [esp + 0xbc], 0
call fcn.004213b0
push esi
lea ecx, [esp + 0x18]
call fcn.00403c70
mov byte [esp + 0xb4], 1
test edi, edi
jne 0x422b12
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x5c]
call fcn.00424130
mov edi, dword [eax]
mov ebx, 1
mov byte [esp + 0xb4], 2
mov dword [esp + 0x18], ebx
push edi
lea ecx, [esp + 0x20]
call fcn.00403c70
mov esi, 4
mov dword [esp + 0xb4], esi
test bl, 1
je 0x422b54
mov eax, dword [esp + 0x30]
and ebx, 0xfffffffe
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422b54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46d8b4
lea ecx, [esp + 0x18]
call fcn.00416ac0
cmp byte [esp + 0xc4], 0
je 0x422b8b
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004225a0
add esp, 8
mov byte [esp + 0xb4], 5
or ebx, 2
jmp 0x422baa
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00422700
add esp, 8
mov dword [esp + 0xb4], 6
or ebx, esi
push eax
lea edx, [esp + 0x48]
push 0x46d8b4
push edx
mov dword [esp + 0x24], ebx
call fcn.00422200
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0xbc], 7
call fcn.004036d0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0xb4], 6
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422c06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb4], 5
test bl, 4
je 0x422c3c
mov eax, dword [esp + 0x40]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422c3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb4], esi
test bl, 2
je 0x422c67
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422c67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0xbc]
push esi
mov ecx, ebp
call fcn.00421440
test al, al
je 0x422d03
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00422840
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
add esp, 4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xb4], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422cc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xb4], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422cec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x58]
mov dword [esp + 0xb4], edi
call fcn.00423620
mov al, 1
jmp 0x422ef8
push esi
mov ecx, ebp
call fcn.00421c40
test al, al
jne 0x422d74
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xb4], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422d36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xb4], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422d5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x58]
mov dword [esp + 0xb4], edi
call fcn.00423620
xor al, al
jmp 0x422ef8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x422d86
mov ecx, dword [esp + 0x14]
push ecx
call eax
add esp, 4
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00422400
mov eax, dword [eax]
push eax
mov byte [esp + 0xc0], 8
call fcn.00422840
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0xb4], 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x422dcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 0x1021
push ecx
lea ecx, [esp + 0x50]
call fcn.00427b1a
mov ebx, dword [esp + 0x28]
mov byte [esp + 0xb4], 9
test ebx, ebx
je 0x422dfd
lea ecx, [esp + 0x58]
call fcn.00423ae0
mov edi, eax
jmp 0x422dff
xor edi, edi
mov edx, dword [esp + 0xd8]
push 0
push edx
lea ecx, [esp + 0x3c]
call fcn.00425500
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xb4], 0xa
mov edi, edi
push eax
mov eax, dword [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.00421760
mov esi, eax
test esi, esi
je 0x422e56
mov ecx, dword [esp + 0x38]
push esi
push ecx
lea ecx, [esp + 0x50]
call fcn.00426fb8
test ebx, ebx
je 0x422e56
mov edx, dword [esp + 0x2c]
push edx
push esi
push edi
call ebx
add esp, 0xc
test al, al
je 0x422e5e
mov eax, dword [esp + 0x3c]
cmp esi, eax
je 0x422e20
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.00421df0
cmp eax, 1
lea ecx, [esp + 0x34]
sete bl
mov byte [esp + 0xb4], 9
call fcn.00425530
lea ecx, [esp + 0x48]
mov byte [esp + 0xb4], 4
call fcn.00427533
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xb4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422eba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xb4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422ee2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x58]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00423620
mov al, bl
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00449ba6
add esp, 0xa4
ret 0x20