Function at 0x479db0
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1bcb
mov eax, dword fs:[0]
push eax
mov eax, 0x1450
call fcn.0056e430
mov eax, dword [0x608554]
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 ebx, dword [ebp + 8]
push ecx
push str.OperateTempFolder::CopyIniFileFromMediaToTemp
lea ecx, [ebp - 0x1458]
mov dword [ebp - 0x145c], ebx
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x479e84
test byte [ecx + 0x1c], 1
je 0x479e49
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf920
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x21
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x479e84
test byte [ecx + 0x1c], 1
je 0x479e84
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5cf920
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x22
call fcn.00405920
add esp, 0x10
push 0x800
lea eax, [ebp - 0xc20]
push 0
push eax
call fcn.00571c00
push 0x800
lea eax, [ebp - 0x1420]
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00571c00
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0xc20]
add esp, 0x30
mov ecx, dword [ecx + 0x1c]
push eax
push str.SOURCEDIR
call fcn.004f65f0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0xc20]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp word [ebp + eax*2 - 0xc22], 0x5c
je 0x479f1b
push 0x5c692c
lea eax, [ebp - 0xc20]
push eax
call esi
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x1420]
push eax
push str.TEMPPATH
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
lea eax, [ebp - 0x1420]
push eax
call edi
cmp word [ebp + eax*2 - 0x1422], 0x5c
je 0x479f57
push 0x5c692c
lea eax, [ebp - 0x1420]
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xc20]
push str.InsDrv.ini
push eax
lea eax, [ebp - 0x420]
push 0x5c70f4
push eax
call esi
push str.InsDrv.ini
lea eax, [ebp - 0x1420]
push eax
lea eax, [ebp - 0x218]
push 0x5c70f4
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x218]
add esp, 0x20
push 0
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
test eax, eax
jne 0x47a01b
push str.InsDrv.ini
push 0x19
push dword [0x6184fc]
call fcn.00502d80
add esp, 0xc
mov dword [0x6183ec], 0x26
mov byte [ebp - 0x1454], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x47a0f7
test byte [ecx + 0x1c], 1
je 0x47a0f7
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0x80010026
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x23
jmp 0x47a0ea
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x218]
push 0x20
push eax
call edi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x145c]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.Envini.INI
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0x420]
push 0x5c70f4
push eax
call esi
push str.Envini.INI
lea eax, [ebp - 0x1420]
push eax
lea eax, [ebp - 0x218]
push 0x5c70f4
push eax
call esi
add esp, 0x20
lea eax, [ebp - 0x218]
push 0
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
test eax, eax
jne 0x47a0fe
push str.Envini.INI
push 0x19
push dword [0x6184fc]
call fcn.00502d80
add esp, 0xc
mov dword [0x6183ec], 0x26
mov byte [ebp - 0x1454], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x47a0f7
test byte [ecx + 0x1c], 1
je 0x47a0f7
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0x80010026
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x24
mov edx, 0x5cf920
call fcn.004018a0
add esp, 0x10
mov esi, 0x80010026
jmp 0x47a154
push 0x20
lea eax, [ebp - 0x218]
push eax
call edi
mov byte [ebp - 0x1454], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x47a152
test byte [ecx + 0x1c], 1
je 0x47a152
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cf920
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x25
call fcn.004018a0
add esp, 0x10
xor esi, esi
lea ecx, [ebp - 0x1458]
call fcn.0040a570
mov eax, esi
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.0056d977
mov esp, ebp
pop ebp
ret 4