Function at 0x418bd0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
movzx eax, word [0x260dd98]
mov ecx, dword [0x260de70]
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [eax + ecx + 0x4b9000]
push edx
push eax
call fcn.00405f50
add esp, 0xc
mov edx, 0x2616118
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x418c02
movzx edi, byte [0x260dd8c]
and edi, 3
cmp edi, 3
mov dword [esp + 0x14], edi
jge 0x418f27
push 0x2616118
call fcn.00406910
add esp, 4
test al, al
jne 0x418d05
push 0x2616118
call fcn.004071c0
add esp, 4
test al, al
jne 0x418d05
test byte [0x260dd88], 0x10
je 0x418cfb
push 0x180
push 0x8302
push 0x2616118
call fcn.004839c6
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x418cea
mov eax, dword [0x260dd84]
and eax, 0x36
push eax
push 0x2616118
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
movzx edx, word [0x4b8be8]
push ebx
push ebx
push edx
mov ecx, 2
push 0x2616118
mov word [0x260dd80], si
mov word [0x260dd84], cx
call fcn.00407440
add esp, 4
push eax
push 2
push esi
call fcn.00483c77
add esp, 4
push eax
push esi
mov ecx, 0x2616118
call fcn.00407900
movzx eax, word [0x4b8be8]
add esp, 0x1c
push esi
mov ecx, esi
call fcn.00409e40
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00483f70
mov eax, dword [eax]
call fcn.00407670
jmp 0x418f2c
mov eax, 2
jmp 0x418f2c
mov al, byte [0x260dd88]
test al, 1
je 0x418e11
push 0x2616118
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
call fcn.00406910
add esp, 4
test al, al
je 0x418d4e
shl edi, 4
mov edx, dword [edi + 0x4a6208]
lea ecx, [esp + 0xc]
push ecx
push edx
lea edi, [esp + 0x18]
mov esi, 0x2616118
call fcn.004077d0
mov edi, dword [esp + 0x1c]
jmp 0x418d64
mov eax, edi
shl eax, 4
mov ecx, dword [eax + 0x4a6208]
push ecx
push 0x2616118
call fcn.00407690
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
je 0x418de3
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, 1
mov word [0x260dd84], dx
movzx edx, word [0x4b8be8]
push eax
push ecx
push edx
mov esi, 0x2616118
mov word [0x260dd80], bx
call fcn.00407870
movzx eax, ax
push eax
push edi
push ebx
call fcn.00483c77
add esp, 4
push eax
push ebx
mov ecx, 0x2616118
call fcn.00407900
movzx eax, word [0x4b8be8]
add esp, 0x1c
test eax, eax
je 0x418f3a
cmp ebx, 0x14
jge 0x418f3a
shl eax, 4
mov byte [eax + ebx + 0x4b9018], bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00483f70
mov ecx, dword [eax]
mov eax, ecx
sub eax, 0x50
je 0x418df6
sub eax, 0x67
jne 0x418dfb
mov ecx, 5
mov word [0x260dd80], cx
or word [0x260ddac], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 2
je 0x418f0c
push 0x2616118
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x2616118
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.00406910
add esp, 4
test al, al
je 0x418e63
lea edx, [esp + 0x10]
shl edi, 4
mov eax, dword [edi + 0x4a6208]
push edx
push eax
lea edi, [esp + 0x1c]
mov esi, 0x2616118
call fcn.004077d0
add esp, 8
jmp 0x418e7a
push 0x180
push 0x8302
push 0x2616118
call fcn.004839c6
add esp, 0xc
mov ebx, eax
cmp ebx, 0xffffffff
je 0x418ede
cmp dword [esp + 0xc], 0xffffffff
jne 0x418e94
mov eax, dword [0x260dd84]
and eax, 0x36
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
push ecx
push 0x2616118
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, 3
mov word [0x260dd84], dx
movzx edx, word [0x4b8be8]
push eax
push ecx
push edx
mov esi, 0x2616118
mov word [0x260dd80], bx
call fcn.00407870
movzx eax, ax
push eax
push 2
jmp 0x418da2
call fcn.00483f70
mov ecx, dword [eax]
mov eax, ecx
sub eax, 0x50
je 0x418ef1
sub eax, 0x67
jne 0x418ef6
mov ecx, 5
mov word [0x260dd80], cx
or word [0x260ddac], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or word [0x260ddac], 1
mov edx, 0x50
mov word [0x260dd80], dx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xc
or word [0x260ddac], 1
mov word [0x260dd80], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret