Function at 0x41a800
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x431d7e
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc0]
xor ebx, ebx
push edi
cmp esi, ebx
jne 0x41a831
mov esi, 0x4399f8
cmp byte [esi], bl
jne 0x41a83a
mov esi, 0x4399f8
push 0x77
push esi
mov byte [esp + 0x1b], bl
call fcn.00427be0
add esp, 8
test eax, eax
jne 0x41a85c
push 0x57
push esi
call fcn.00427be0
add esp, 8
test eax, eax
je 0x41a861
mov byte [esp + 0x13], 1
mov edi, dword [esp + 0xc0]
lea ecx, [esp + 0x3c]
push edi
call fcn.0040f610
lea ecx, [esp + 0x14]
mov dword [esp + 0xb8], ebx
call fcn.00410430
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 1
call fcn.00411d20
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 2
call fcn.0040f6e0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x54]
mov byte [esp + 0xb8], 3
push eax
push ecx
push edx
call fcn.0041ab80
mov eax, dword [esp + 0x68]
add esp, 0xc
lea ecx, [esp + 0x6c]
push ebx
push eax
call fcn.00419c80
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x14]
push ebx
push ecx
push edx
push eax
lea ecx, [esp + 0x7c]
call fcn.00419d90
cmp al, bl
jne 0x41a948
push esi
push edi
call fcn.00411a20
add esp, 8
lea ecx, [esp + 0x54]
mov esi, eax
mov byte [esp + 0xb8], 2
call fcn.0040f750
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 1
call fcn.00411de0
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], bl
call fcn.00410720
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0040f750
mov eax, esi
jmp 0x41ab5a
push ebx
lea ecx, [esp + 0x18]
call fcn.00410860
push ebx
lea ecx, [esp + 0x18]
call fcn.00410860
lea ecx, [esp + 0x28]
call fcn.00410430
lea ecx, [esp + 0x28]
push ebx
or ebp, 0xffffffff
push ecx
mov edi, esi
mov ecx, ebp
xor eax, eax
mov byte [esp + 0xc0], 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x7c]
call fcn.00419d90
push ebx
lea ecx, [esp + 0x2c]
call fcn.00410860
push ebx
lea ecx, [esp + 0x2c]
call fcn.00410860
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.0042871b
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x41a9e1
cmp byte [esp + 0x13], bl
je 0x41aa3b
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.0042871b
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x41aa3b
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 3
call fcn.00410720
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 2
call fcn.0040f750
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 1
call fcn.00411de0
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], bl
call fcn.00410720
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb8], ebp
call fcn.0040f750
mov eax, edi
jmp 0x41ab5a
push 0x72
push esi
call fcn.00427be0
add esp, 8
test eax, eax
jne 0x41ab05
push 0x52
push esi
call fcn.00427be0
add esp, 8
test eax, eax
jne 0x41ab05
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, ebp
je 0x41ab05
mov edx, dword [esp + 0x1c]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x41ab05
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.0042871b
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41aaf9
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 3
call fcn.00410720
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 2
call fcn.0040f750
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 1
call fcn.00411de0
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], bl
call fcn.00410720
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb8], ebp
call fcn.0040f750
mov eax, esi
jmp 0x41ab5a
mov edx, dword [esp + 0x1c]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 3
call fcn.00410720
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 2
call fcn.0040f750
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 1
call fcn.00411de0
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], bl
call fcn.00410720
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb8], ebp
call fcn.0040f750
xor eax, eax
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret