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

Disassembly:
push 0xffffffffffffffff
push 0x4d7121
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push ebx
push ebp
push esi
push edi
mov ebx, 0x4d86f4
push 0x80
mov dword [esp + 0x40], ebx
call fcn.004c7e90
xor ebp, ebp
mov edi, 0x1f
mov esi, pe_nt_image_headers32
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], esi
push 0x80
mov dword [esp + 0x2c8], ebp
mov dword [esp + 0x20], ebx
call fcn.004c7e90
add esp, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x2c8]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xb4]
push eax
push ecx
mov ebp, 1
push 0x100
push esi
mov byte [esp + 0x2d0], 1
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_GetFullPathNameA]
mov eax, dword [esp + 0x14]
mov ebx, 0x5c
test eax, eax
je 0x44426a
mov byte [eax], 0
mov eax, dword [esp + 0x14]
cmp byte [eax - 1], bl
jne 0x44426a
cmp byte [eax - 2], 0x3a
je 0x44426a
mov byte [eax - 1], 0
push ebx
push esi
call fcn.004c82b0
add esp, 8
test eax, eax
jne 0x444287
push 0x3a
push esi
call fcn.004c82b0
add esp, 8
test eax, eax
je 0x44428a
lea esi, [eax + 1]
lea edx, [esp + 0x1b8]
push esi
push edx
call dword [sym.imp.kernel32.dll_lstrcpy]
mov edi, dword [sym.imp.kernel32.dll_lstrlen]
lea eax, [esp + 0xb4]
push eax
call edi
mov cl, byte [esp + eax + 0xb3]
mov esi, dword [sym.imp.kernel32.dll_lstrcat]
cmp cl, bl
je 0x4442c9
lea ecx, [esp + 0xb4]
push 0x4ee610
push ecx
call esi
lea edx, [esp + 0xb4]
push 0x4ee7c8
push edx
call esi
push ebp
lea ecx, [esp + 0x5c]
call fcn.004c6fdb
mov eax, dword [0x4e8670]
lea ecx, [esp + 0xb4]
push eax
push 0x21
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x2cc], 2
call fcn.004c709f
push 0x1388
mov dword [esp + 0x18], 0
call fcn.004c7e90
mov edx, dword [esp + 0x5c]
mov ebx, eax
add esp, 4
mov eax, dword [edx + 4]
test byte [esp + eax + 0x60], 6
jne 0x444620
lea ecx, [esp + 0x58]
call fcn.004c6ea0
cmp al, 0x22
mov byte [ebx], al
jne 0x444357
push 0x22
push 0x101
push ebx
lea ecx, [esp + 0x64]
call fcn.004c6ddf
lea ecx, [esp + 0x58]
call fcn.004c6ea0
jmp 0x44436b
push 0x20
lea ecx, [ebx + 1]
push 0x101
push ecx
lea ecx, [esp + 0x64]
call fcn.004c6ddf
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 4]
test byte [esp + eax + 0x60], 1
jne 0x444620
test ebx, ebx
je 0x444386
push ebx
call edi
jmp 0x444388
xor eax, eax
inc eax
push eax
call fcn.004c7e90
mov esi, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x34], esi
mov byte [esi], 0
je 0x4443a7
push ebx
push esi
call dword [sym.imp.kernel32.dll_lstrcpy]
test esi, esi
je 0x44442f
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x44441b
mov edx, dword [esp + 0x50]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.004c7e90
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov ebp, eax
lea ecx, [ecx*4 + 4]
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x44]
push eax
call fcn.004c7e56
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
mov edi, dword [sym.imp.kernel32.dll_lstrlen]
add esp, 8
add eax, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [edx + eax*4], esi
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x1b8]
push ebx
push ecx
call dword [sym.imp.kernel32.dll_lstrcmpi]
mov edx, dword [esp + 0x14]
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [esp + 0x58]
inc esi
or edx, esi
mov dword [esp + 0x14], edx
call fcn.004c6ea0
cmp eax, 0x20
jne 0x44446b
lea ecx, [esp + 0x58]
call fcn.004c6ea0
cmp eax, 0x20
je 0x44445d
cmp eax, 0xffffffff
je 0x44447a
push eax
lea ecx, [esp + 0x5c]
call fcn.004c6ca6
push 0xa
push 0x1387
push ebx
lea ecx, [esp + 0x64]
call fcn.004c6ddf
lea ecx, [esp + 0x58]
call fcn.004c6ea0
push 0xa
push ebx
call fcn.004c81f0
add esp, 8
test eax, eax
je 0x4444a6
mov byte [eax], 0
test esi, esi
je 0x44455c
mov ebp, dword [esp + 0x2cc]
push ebp
call edi
inc eax
push eax
call fcn.004c7e90
mov esi, eax
mov eax, dword [esp + 0x2d8]
add esp, 4
mov dword [esp + 0x34], esi
test eax, eax
je 0x4444dd
push esi
push ebp
call dword [sym.imp.user32.dll_CharToOemA]
jmp 0x4444e5
push ebp
push esi
call dword [sym.imp.kernel32.dll_lstrcpy]
test esi, esi
je 0x44460e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x4445fa
mov ecx, dword [esp + 0x2c]
add ecx, eax
lea edx, [ecx*4 + 4]
push edx
call fcn.004c7e90
mov ebp, eax
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edi, ebp
lea ecx, [eax*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
push eax
call fcn.004c7e56
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
add esp, 8
add eax, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
jmp 0x4445f4
test ebx, ebx
je 0x444565
push ebx
call edi
jmp 0x444567
xor eax, eax
inc eax
push eax
call fcn.004c7e90
mov esi, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x34], esi
mov byte [esi], 0
je 0x444586
push ebx
push esi
call dword [sym.imp.kernel32.dll_lstrcpy]
test esi, esi
je 0x44460e
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4445fa
mov edx, dword [esp + 0x2c]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.004c7e90
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ebp, eax
lea ecx, [ecx*4 + 4]
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
push eax
call fcn.004c7e56
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
add esp, 8
add eax, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
mov edi, dword [sym.imp.kernel32.dll_lstrlen]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 4]
test byte [esp + edx + 0x60], 7
je 0x44432c
lea ecx, [esp + 0x58]
call fcn.004c70e1
push ebx
call fcn.004c7e56
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x4447ae
lea eax, [esp + 0x1b8]
test eax, eax
je 0x444655
lea ecx, [esp + 0x1b8]
push ecx
call edi
jmp 0x444657
xor eax, eax
inc eax
push eax
call fcn.004c7e90
mov ebp, eax
lea edx, [esp + 0x1bc]
add esp, 4
test edx, edx
mov byte [ebp], 0
je 0x444681
lea eax, [esp + 0x1b8]
push eax
push ebp
call dword [sym.imp.kernel32.dll_lstrcpy]
test ebp, ebp
je 0x4446fb
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4446e7
mov edx, dword [esp + 0x50]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.004c7e90
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov ebx, eax
lea ecx, [ecx*4 + 4]
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x44]
push eax
call fcn.004c7e56
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
add esp, 8
add eax, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [edx + eax*4], ebp
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2cc]
test eax, eax
je 0x44470f
push eax
call dword [sym.imp.kernel32.dll_lstrlen]
jmp 0x444711
xor eax, eax
inc eax
push eax
call fcn.004c7e90
mov ebp, eax
mov eax, dword [esp + 0x2d0]
add esp, 4
test eax, eax
mov byte [ebp], 0
je 0x444734
push eax
push ebp
call dword [sym.imp.kernel32.dll_lstrcpy]
test ebp, ebp
je 0x4447ae
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x44479a
mov edx, dword [esp + 0x2c]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.004c7e90
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ebx, eax
lea ecx, [ecx*4 + 4]
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
push eax
call fcn.004c7e56
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add esp, 8
add eax, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [edx + eax*4], ebp
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2d0]
lea ecx, [esp + 0xb4]
neg eax
sbb eax, eax
and eax, 2
push eax
push ecx
call dword [sym.imp.kernel32.dll__lcreat]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44489f
lea ecx, [esp + 0x64]
mov byte [esp + 0x2c0], 1
call fcn.004c708c
lea ecx, [esp + 0x64]
call fcn.004c6f62
mov eax, dword [esp + 0x28]
mov edi, 0x4d86f4
test eax, eax
mov byte [esp + 0x2c0], 0
mov dword [esp + 0x18], edi
je 0x444838
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x444838
cmp esi, eax
jge 0x444824
test esi, esi
jl 0x444824
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + esi*4]
jmp 0x444826
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x24]
add esp, 4
inc esi
cmp esi, eax
jl 0x444817
mov eax, dword [esp + 0x1c]
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x50]
add esp, 4
test eax, eax
mov dword [esp + 0x2c0], 0xffffffff
mov dword [esp + 0x3c], edi
je 0x44488b
mov eax, dword [esp + 0x44]
xor esi, esi
test eax, eax
jle 0x44488b
cmp esi, eax
jge 0x444877
test esi, esi
jl 0x444877
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + esi*4]
jmp 0x444879
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x48]
add esp, 4
inc esi
cmp esi, eax
jl 0x44486a
mov edx, dword [esp + 0x40]
push edx
call fcn.004c7e56
add esp, 4
xor eax, eax
jmp 0x444b1b
mov eax, dword [esp + 0x44]
xor esi, esi
test eax, eax
jle 0x4449d6
cmp esi, eax
jge 0x4449d6
test esi, esi
jl 0x4449d6
mov eax, dword [esp + 0x40]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4449d6
xor ecx, ecx
test esi, esi
setl cl
dec ecx
and eax, ecx
push eax
call dword [sym.imp.kernel32.dll_lstrlen]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
cmp esi, eax
jge 0x4448f6
test esi, esi
jl 0x4448f6
mov edx, dword [esp + 0x40]
mov eax, dword [edx + esi*4]
jmp 0x4448f8
xor eax, eax
push 0x20
push eax
call fcn.004c81f0
mov edi, eax
add esp, 8
neg edi
sbb edi, edi
mov byte [esp + 0x13], 0x22
neg edi
je 0x444924
mov ebp, dword [sym.imp.kernel32.dll__hwrite]
lea eax, [esp + 0x13]
push 1
push eax
push ebx
call ebp
jmp 0x44492a
mov ebp, dword [sym.imp.kernel32.dll__hwrite]
cmp esi, dword [esp + 0x44]
jge 0x44493d
test esi, esi
jl 0x44493d
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + esi*4]
jmp 0x44493f
xor eax, eax
mov edx, dword [esp + 0x34]
push edx
push eax
push ebx
call ebp
cmp eax, dword [esp + 0x34]
jl 0x4449d6
test edi, edi
je 0x444960
lea eax, [esp + 0x13]
push 1
push eax
push ebx
call ebp
lea ecx, [esp + 0x3b]
push 1
push ecx
push ebx
mov byte [esp + 0x47], 0x20
call ebp
cmp eax, 1
jl 0x4449d6
cmp esi, dword [esp + 0x20]
jge 0x4449a5
test esi, esi
jl 0x4449a5
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + esi*4]
test edi, edi
je 0x4449a5
push edi
call dword [sym.imp.kernel32.dll_lstrlen]
mov ebp, eax
push ebp
push edi
push ebx
call dword [sym.imp.kernel32.dll__hwrite]
cmp eax, ebp
jl 0x4449d6
mov ebp, dword [sym.imp.kernel32.dll__hwrite]
mov ax, word [0x4ee78c]
mov cl, byte [0x4ee78e]
lea edx, [esp + 0x14]
push 2
push edx
push ebx
mov word [esp + 0x20], ax
mov byte [esp + 0x22], cl
call ebp
cmp eax, 2
jl 0x4449d6
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jl 0x4448b5
push ebx
call dword [sym.imp.kernel32.dll__lclose]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x444a9b
lea ecx, [esp + 0x64]
mov byte [esp + 0x2c0], 1
call fcn.004c708c
lea ecx, [esp + 0x64]
call fcn.004c6f62
mov eax, dword [esp + 0x28]
mov edi, 0x4d86f4
test eax, eax
mov byte [esp + 0x2c0], 0
mov dword [esp + 0x18], edi
je 0x444a41
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x444a41
push esi
lea ecx, [esp + 0x1c]
call fcn.00403b10
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x24]
add esp, 4
inc esi
cmp esi, eax
jl 0x444a25
mov eax, dword [esp + 0x1c]
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x50]
add esp, 4
test eax, eax
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x3c], edi
je 0x444a87
mov eax, dword [esp + 0x44]
xor esi, esi
test eax, eax
jle 0x444a87
push esi
lea ecx, [esp + 0x40]
call fcn.00403b10
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x48]
add esp, 4
inc esi
cmp esi, eax
jl 0x444a6b
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004c7e56
add esp, 4
xor eax, eax
jmp 0x444b1b
lea edx, [esp + 0xb4]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ecx, dword [esp + 0x2d0]
test ecx, ecx
je 0x444ac5
test al, 2
jne 0x444adb
or al, 2
push eax
lea eax, [esp + 0xb8]
push eax
jmp 0x444ad5
test al, 2
je 0x444adb
xor eax, 2
lea ecx, [esp + 0xb4]
push eax
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
lea ecx, [esp + 0x64]
mov byte [esp + 0x2c0], 1
call fcn.004c708c
lea ecx, [esp + 0x64]
call fcn.004c6f62
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c0], 0
call fcn.00403a50
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c0], ebx
call fcn.00403a50
mov eax, 1
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2b4
ret