Function at 0x4494ef
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 0x10
mov eax, 0x4b109b
call fcn.004764c0
mov esi, dword [ebp + 0xa14]
push esi
lea ecx, [ebp - 0x1c]
call fcn.004024e0
push esi
xor edi, edi
push str.Begin_to_make_oem_file__s
mov dword [ebp - 4], edi
call fcn.00404da7
pop ecx
pop ecx
call fcn.00401295
mov esi, eax
cmp esi, edi
je 0x44971d
xor eax, eax
push 0x206
mov word [ebp + 0x800], ax
lea eax, [ebp + 0x802]
push edi
push eax
call fcn.00475420
mov eax, dword [esi]
add esp, 0xc
push str.OEMDATA
mov ebx, 0xdd
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
call edi
push eax
mov eax, dword [ebp - 0x10]
push esi
call dword [eax + 0x2c]
test eax, eax
je 0x44971d
mov eax, dword [esi]
push 0x104
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x800]
push eax
push str.OEMDATA
push ebx
xor ebx, ebx
push ebx
call edi
push eax
mov eax, dword [ebp - 0x10]
push esi
call dword [eax + 0x44]
test eax, eax
je 0x44971d
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x10]
call fcn.004024e0
push 0x800
lea eax, [ebp]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.00475420
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.logo.png
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call edi
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449700
push str.360OEM
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403a39
add esp, 0xc
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [ebp - 4], 2
call esi
cmp eax, 0xffffffff
je 0x449633
push dword [ebp - 0x14]
call esi
test al, 0x10
jne 0x449689
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x449689
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402820
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 + 0xa08]
xor ecx, ebp
call fcn.0047549a
add ebp, 0xa0c
leave
ret 4
push 0x4bcc98
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403a39
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0xc
push ebx
push dword [eax]
lea eax, [ebp]
push eax
call esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402820
push str.oeminfo.ini
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call edi
push 0x4bcc64
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403a39
add esp, 0xc
push ebx
push dword [eax]
lea eax, [ebp]
push eax
call esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402820
push dword [ebp - 0x10]
call fcn.00430e2d
xor ebx, ebx
pop ecx
inc ebx
jmp 0x449641
lea eax, [ebp]
push eax
push str.no_oem_file:__s
call fcn.00404da7
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
jmp 0x449728
push str.no_oem_data
call fcn.00404da7
pop ecx
xor ebx, ebx
jmp 0x449657