Function at 0x411cc0
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cf10
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
push str.RunInTemp
push 0x48dac0
call fcn.00417de0
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00409650
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.004163a0
push 0xc
push str.DeskGOU.tmp
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00409c30
push 0x475a80
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x30]
call fcn.0040ccc0
add esp, 4
push 0
mov byte [ebp - 4], 2
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
or edi, 0xffffffff
test eax, eax
jne 0x411d7b
call esi
cmp eax, 0xb7
je 0x411d7b
push str.RunInTemp_bFolderExistFalse
push 0x48dac0
call fcn.00417de0
add esp, 8
xor ebx, ebx
jmp 0x411f4b
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
call ebx
test eax, eax
jne 0x411dde
call esi
cmp eax, 0x50
jne 0x411dc2
mov ecx, dword [ebp - 0x30]
lea edx, [eax - 0x4f]
call fcn.0041a310
push eax
push str.InitCommandLine_DeleteFile_d
push 0x48dac0
call fcn.00417de0
add esp, 0xc
push 1
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
call ebx
test eax, eax
jne 0x411dde
call esi
push eax
push str.RunInTemp_CopyFile_Failed__error_d
push 0x48dac0
call fcn.00417de0
add esp, 0xc
xor ebx, ebx
jmp 0x411f4b
lea ecx, [ebp - 0x38]
call fcn.00409750
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00409ad0
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x411fc4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x40]
mov byte [ebp - 4], 4
cmp dword [esi + 0x294], 0
je 0x411e2b
push 2
push 0x475c28
lea ecx, [ebp - 0x2c]
call fcn.00409c30
push 7
push 0x475c30
lea ecx, [ebp - 0x2c]
call fcn.00409c30
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
push dword [eax - 0xc]
push eax
call fcn.00409c30
push 1
push 0x475c40
lea ecx, [ebp - 0x2c]
call fcn.00409c30
cmp dword [esi + 0x298], 0
je 0x411e70
push 0xc
push 0x475c44
lea ecx, [ebp - 0x2c]
call fcn.00409c30
lea eax, [ebp - 0x28]
push eax
call fcn.00410980
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x411e85
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push str.parent_s
push eax
call fcn.00415530
mov byte [ebp - 4], 4
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x411ed5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411ecb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411fce
push edx
push ecx
call fcn.0042297a
add esp, 8
mov esi, dword [ebp - 0x2c]
xor eax, eax
push esi
push str.RunInTemp_Cmdline_s
push 0x48dac0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00417de0
mov ecx, dword [ebp - 0x30]
add esp, 8
mov edx, esi
push 0
push 0
call fcn.00409920
mov ebx, eax
mov byte [ebp - 4], 3
add esp, 0xc
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x411f2d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411f4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411f69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411f87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x411fa6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
call fcn.004309e5
int3