Function at 0x44f3bb
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d25c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
push esi
push str.GRegMrFsRedItemWrite
lea ecx, [ebp - 0xf4]
call fcn.00404f76
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004054e3
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0044e7ed
pop ecx
pop ecx
push str.HKLMSOFTWAREMARCOTTE_
lea ecx, [ebp - 0xdd]
call fcn.004053d4
mov byte [ebp - 4], 2
lea eax, [ebp - 0xdd]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xdd]
call fcn.004055b0
lea ecx, [ebp - 0x2c]
call fcn.004085af
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405b2a
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
call fcn.004b08c0
add esp, 0xc
test eax, eax
je 0x44f477
push 0x4ba
push str.D:projectsUTIL_srcgreg.cpp
push str.0__strncmpi__szFile__szCheck__szCheck.Length____
call fcn.00403b39
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.004054e3
mov byte [ebp - 4], 3
push 1
push 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.0044d79c
push 0
lea ecx, [ebp - 0x20]
call fcn.00405ab8
movsx eax, byte [eax]
test eax, eax
jne 0x44f4c0
push str.szBuffer_0_
push str.GRPN
push 0x4be
push str.D:projectsUTIL_srcgreg.cpp
call fcn.004044d6
add esp, 0x10
lea ecx, [ebp - 0x1bc]
call fcn.0047c78c
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1bc]
call fcn.0047cdcf
movzx eax, al
test eax, eax
je 0x44f570
lea ecx, [ebp - 0x20]
call fcn.004085af
mov esi, eax
lea ecx, [ebp - 0x1bc]
call fcn.0047d06b
cmp esi, eax
jne 0x44f570
lea ecx, [ebp - 0x1bc]
call fcn.0047d06b
push eax
lea ecx, [ebp - 0x1bc]
call fcn.0047cc48
push eax
lea ecx, [ebp - 0x20]
call fcn.00405b2a
push eax
call fcn.004b20da
add esp, 0xc
test eax, eax
jne 0x44f570
mov byte [ebp - 0x13], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bc]
call fcn.0047c815
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.004050e2
mov al, byte [ebp - 0x13]
jmp 0x44fb6b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bc]
call fcn.0047c815
lea ecx, [ebp - 0x38]
call fcn.004233ea
mov byte [ebp - 4], 5
push 0x4e0d0c
lea eax, [ebp - 0x14e]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00407505
add esp, 0x10
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 6
push dword [ebp - 0x70]
lea eax, [ebp - 0x18d]
push eax
push 0x4dae7c
lea eax, [ebp - 0x196]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405cc1
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x80]
call fcn.00405bb0
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x54]
call fcn.00405cc1
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 9
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x38]
call fcn.00424a31
test eax, eax
jne 0x44f63d
mov dword [ebp - 0x40], 1
jmp 0x44f641
and dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14e]
call fcn.004055b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18d]
call fcn.004055b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x196]
call fcn.004055b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x118]
call fcn.004055b0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x44f809
push str..____for_write
lea eax, [ebp - 0x160]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x172]
push eax
call fcn.00407505
add esp, 0x10
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0xa
push dword [ebp - 0x64]
lea eax, [ebp - 0x12a]
push eax
push 0x4dae7c
lea eax, [ebp - 0x184]
push eax
push dword [ebp + 0xc]
push str._GREG__Unable_to_open_file
lea eax, [ebp - 0x13c]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x6c]
call fcn.00405cc1
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x74]
call fcn.00405bb0
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x7c]
call fcn.00405cc1
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x84]
call fcn.00405b2a
push eax
push str.GREG
push 0x4cc
push str.D:projectsUTIL_srcgreg.cpp
call fcn.004046ac
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x160]
call fcn.004055b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x12a]
call fcn.004055b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x184]
call fcn.004055b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x13c]
call fcn.004055b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x172]
call fcn.004055b0
mov byte [ebp - 0x10], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0042354a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.004050e2
mov al, byte [ebp - 0x10]
jmp 0x44fb6b
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.00425489
test eax, eax
jne 0x44f9a9
push 0x4e0d0c
lea eax, [ebp - 0xfd]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x133]
push eax
call fcn.00407505
add esp, 0x10
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 0xf
push dword [ebp - 0xb0]
lea eax, [ebp - 0x106]
push eax
push 0x4dae7c
lea eax, [ebp - 0x10f]
push eax
push dword [ebp + 0xc]
push str._GREG__Unable_to_write_file
lea eax, [ebp - 0x121]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xd0]
call fcn.00405cc1
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xb8]
call fcn.00405bb0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xc8]
call fcn.00405cc1
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xc0]
call fcn.00405b2a
push eax
push str.GREG
push 0x4d1
push str.D:projectsUTIL_srcgreg.cpp
call fcn.004046ac
add esp, 0x10
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xfd]
call fcn.004055b0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x106]
call fcn.004055b0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x10f]
call fcn.004055b0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x121]
call fcn.004055b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x133]
call fcn.004055b0
mov byte [ebp - 0x12], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0042354a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.004050e2
mov al, byte [ebp - 0x12]
jmp 0x44fb6b
lea ecx, [ebp - 0x38]
call fcn.004238e2
push 1
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
push 0x4e0d0c
lea eax, [ebp - 0x145]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x17b]
push eax
call fcn.00407505
add esp, 0x10
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0x14
push dword [ebp - 0x8c]
lea eax, [ebp - 0x157]
push eax
push 0x4dae7c
lea eax, [ebp - 0x169]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405cc1
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x4c]
call fcn.00405bb0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x58]
call fcn.00405cc1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x68]
call fcn.00405b2a
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x44fa72
mov dword [ebp - 0x3c], 1
jmp 0x44fa76
and dword [ebp - 0x3c], 0
mov al, byte [ebp - 0x3c]
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x145]
call fcn.004055b0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x157]
call fcn.004055b0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x169]
call fcn.004055b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x17b]
call fcn.004055b0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x44fb31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jge 0x44faf5
push str.MoveFileEx
push dword [ebp - 0x44]
push str.GREG
push 0x4d7
push str.D:projectsUTIL_srcgreg.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0042354a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.004050e2
mov al, byte [ebp - 0xf]
jmp 0x44fb6b
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0042354a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.004050e2
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret