Function at 0x446290
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5405d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x580124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0xa
mov dword [ebp - 4], 0
call fcn.004475c0
mov eax, dword [ebp + 0x14]
mov ecx, edi
mov dword [edi + 0x154], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0
call fcn.00447650
mov ebx, eax
test ebx, ebx
jns 0x446300
mov ecx, dword [ebp - 0x10]
xor eax, eax
test ecx, ecx
jne 0x44645b
lea ecx, [eax + 1]
jmp 0x44645b
push 1
push 0x1e
mov ecx, edi
call fcn.004475c0
mov ecx, edi
call fcn.00446d20
mov ebx, eax
test ebx, ebx
jns 0x446324
mov ecx, 2
xor eax, eax
jmp 0x44645b
push 2
push 0x32
mov ecx, edi
call fcn.004475c0
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.00406f70
add esp, 4
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
push dword [ebp + 0xc]
call fcn.00446e50
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jns 0x446368
mov ecx, 3
xor eax, eax
jmp 0x44645b
push 3
push 0x3c
mov ecx, edi
call fcn.004475c0
push ecx
lea ecx, [edi + 4]
call fcn.00449bf0
cmp dword [edi + 0x138], 8
lea esi, [edi + 0x124]
jb 0x44638f
mov eax, dword [esi]
jmp 0x446391
mov eax, esi
push 1
push eax
call fcn.00449d90
cmp dword [esi + 0x14], 8
jb 0x4463a3
mov eax, dword [esi]
jmp 0x4463a5
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [esi + 0x14], 8
jb 0x4463b8
mov esi, dword [esi]
cmp dword [edi + 0x120], 8
lea ebx, [edi + 0x10c]
jb 0x4463ce
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
jmp 0x4463d3
mov eax, ebx
mov dword [ebp - 0x14], ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4463e8
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0044a470
cmp dword [ebx + 0x14], 8
jb 0x4463f0
mov ebx, dword [ebx]
push 0
push ebx
call fcn.00449d90
push 5
push 0x46
mov ecx, edi
call fcn.004475c0
mov ecx, edi
call fcn.00447440
push 5
push 0x50
mov ecx, edi
call fcn.004475c0
mov ecx, edi
call fcn.004465a0
push 6
push 0x5a
mov ecx, edi
call fcn.004475c0
call fcn.0046d060
test eax, eax
jne 0x446445
push ecx
mov ecx, esp
push 0x55f580
call fcn.00407ab0
call fcn.0046cc30
add esp, 4
push 7
push 0x64
mov ecx, edi
call fcn.004475c0
mov ecx, dword [ebp - 0x10]
mov eax, 1
mov ebx, dword [ebp - 0x18]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push str.result_dsilent_dupdate_derror_d
push 0x55ecc4
push str.install
call fcn.00467e80
mov dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov ecx, dword [ebp + 0x10]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4464c3
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4464bf
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4464bf
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4464c3
mov ecx, edx
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10