Function at 0x44e7ed
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d241a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
and dword [ebp - 0x10], 0
push str.GRegMrFsRedHomePath
lea ecx, [ebp - 0xa8]
call fcn.00404f76
and dword [ebp - 4], 0
movzx eax, byte [0x51f4b0]
test eax, eax
jne 0x44eab8
mov byte [0x51f4b0], 1
push 0
lea ecx, [ebp - 0x94]
call fcn.0044b749
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004054e3
mov byte [ebp - 4], 2
push str.SOFTWAREMARCOTTE
lea ecx, [ebp - 0x5d]
call fcn.004053d4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 1
push 0x20019
lea eax, [ebp - 0x5d]
push eax
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x94]
call fcn.00456acc
test eax, eax
je 0x44e8dc
push str.FsRedHome
lea ecx, [ebp - 0x54]
call fcn.004053d4
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x10]
or eax, 2
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x94]
call fcn.004533be
test eax, eax
je 0x44e8dc
push 0
lea ecx, [ebp - 0x20]
call fcn.00405ab8
movsx eax, byte [eax]
test eax, eax
je 0x44e8dc
and dword [ebp - 0x24], 0
jmp 0x44e8e3
mov dword [ebp - 0x24], 1
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x13], al
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x10]
and eax, 2
je 0x44e904
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x54]
call fcn.004055b0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x44e91f
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x5d]
call fcn.004055b0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x44e9be
cmp dword [ebp + 0xc], 0
je 0x44e93e
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.0040574c
jmp 0x44e94b
push str.c:marcottereg
lea ecx, [ebp - 0x20]
call fcn.0040574c
push str.SOFTWAREMARCOTTE
lea ecx, [ebp - 0x39]
call fcn.004053d4
mov byte [ebp - 4], 5
push 0x20006
lea eax, [ebp - 0x39]
push eax
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x94]
call fcn.0044c2fb
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x39]
call fcn.004055b0
cmp dword [ebp - 0x30], 0
je 0x44e9bc
push str.FsRedHome
lea ecx, [ebp - 0x66]
call fcn.004053d4
mov byte [ebp - 4], 6
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x66]
push eax
lea ecx, [ebp - 0x94]
call fcn.00459243
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x66]
call fcn.004055b0
jmp 0x44e9fd
push 0
lea ecx, [ebp - 0x20]
call fcn.00408571
movsx eax, al
cmp eax, 0x5c
jne 0x44e9fd
push 0x4dae74
lea ecx, [ebp - 0x42]
call fcn.004053d4
mov byte [ebp - 4], 7
push 1
push 0
lea eax, [ebp - 0x42]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040942d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x42]
call fcn.004055b0
push 0x4dae74
lea eax, [ebp - 0x6f]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405cc1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2c]
call fcn.00405b2a
push eax
push 0x51f4b8
call fcn.004afef0
pop ecx
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6f]
call fcn.004055b0
push 0x51f4b8
lea ecx, [ebp - 0x4b]
call fcn.004053d4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x4b]
push eax
call fcn.0040f565
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4b]
call fcn.004055b0
push 2
lea ecx, [ebp - 0x20]
call fcn.00405b2a
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x20]
push eax
call fcn.0040a883
pop ecx
test eax, eax
je 0x44ea90
lea eax, [ebp - 0x20]
push eax
call fcn.0041083f
pop ecx
test eax, eax
jne 0x44ea9d
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [eax + 0x51f4b8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.0044b9ed
xor eax, eax
inc eax
imul eax, eax, 0
movsx eax, byte [eax + 0x51f4b8]
test eax, eax
je 0x44eaee
push 0x51f4b8
mov ecx, dword [ebp + 8]
call fcn.0040574c
mov byte [ebp - 0x11], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004050e2
mov al, byte [ebp - 0x11]
jmp 0x44eb20
push str.Registry_path_is_empty_
push str.GREG
push 0x42d
push str.D:projectsUTIL_srcgreg.cpp
call fcn.004046ac
add esp, 0x10
mov byte [ebp - 0x12], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004050e2
mov al, byte [ebp - 0x12]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret