Function at 0x4d6fe0
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b583
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x6f7654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x114], ecx
mov ecx, dword [ebp + 8]
call fcn.0042aea0
movzx eax, al
test eax, eax
je 0x4d7027
xor eax, eax
jmp 0x4d7310
mov ecx, dword [ebp - 0x114]
call fcn.004d6d30
push eax
lea ecx, [ebp - 0x3c]
call fcn.00403ad0
mov dword [ebp - 4], 0
push 0x672c20
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0xc0]
push edx
call fcn.00406510
add esp, 0xc
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0xc0]
call fcn.00402aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4d70e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
push eax
push str.RCM____m.f.t.td____create_new_directory_error_:__d
push 3
push 0x672cc0
push 0xc4
push 0x672cc8
push 0x672c3c
call fcn.00456680
add esp, 0x1c
cmp dword [ebp - 0xc8], 3
jne 0x4d70e8
mov dword [ebp - 0xd0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00403b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00403b10
mov eax, dword [ebp - 0xd0]
jmp 0x4d7310
xor ecx, ecx
mov word [ebp - 0xa4], cx
push 0x40
push 0
lea edx, [ebp - 0xa2]
push edx
call fcn.005eb2a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x4d715e
movzx ecx, byte [ebp - 0x11]
push ecx
movzx edx, byte [ebp - 0x12]
push edx
movzx eax, byte [ebp - 0x13]
push eax
movzx ecx, byte [ebp - 0x14]
push ecx
movzx edx, byte [ebp - 0x15]
push edx
movzx eax, byte [ebp - 0x16]
push eax
movzx ecx, byte [ebp - 0x17]
push ecx
movzx edx, byte [ebp - 0x18]
push edx
movzx eax, word [ebp - 0x1a]
push eax
movzx ecx, word [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0x672cf8
push 0x42
lea eax, [ebp - 0xa4]
push eax
call fcn.004d7720
add esp, 0x38
mov ecx, dword [0x6bd3e8]
push ecx
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.004d7700
add eax, 1
mov dword [ebp - 0x40], eax
mov edx, dword [0x6bd3e8]
push edx
push 0x2e
mov ecx, dword [ebp + 8]
call fcn.004d7700
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0xec]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404c60
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.004327f0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xec]
call fcn.00403b10
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00404b90
mov edx, dword [0x6bd3e8]
push edx
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404c60
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404b70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x108]
call fcn.00403b10
lea ecx, [ebp - 0x5c]
call fcn.00402aa0
push eax
mov ecx, dword [ebp + 8]
call fcn.00402aa0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4d72d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
push str.RCM____m.f.t.td____moving_to_temp_directory_error_:__d
push 3
push 0x672dc8
push 0xe2
push str.CRiskControlManager::MoveFileToTempDirectory
push 0x672e00
call fcn.00456680
add esp, 0x1c
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00403b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00403b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00403b10
mov eax, dword [ebp - 0x10c]
jmp 0x4d7310
mov dword [ebp - 0x110], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00403b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00403b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00403b10
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ea848
mov esp, ebp
pop ebp
ret 4