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

Disassembly:
push 0xffffffffffffffff
push 0x472161
mov eax, dword fs:[0]
push eax
sub esp, 0xa1c
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0xa18], eax
push ebx
push esi
push edi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0xa2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa3c]
push esi
lea ecx, [esp + 0x18]
call fcn.0041e3d0
push esi
push str.Begin_to_make_oem_file__s
mov dword [esp + 0xa3c], 0
call fcn.00419ac0
add esp, 8
call fcn.00403500
mov esi, eax
test esi, esi
je 0x42c5db
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2a]
push ecx
mov word [esp + 0x2c], ax
call fcn.00457170
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [esi]
add esp, 0xc
push str.OEMDATA
push 0xdd
push 0
call ebx
mov edx, dword [edi + 0x28]
push eax
push esi
call edx
test eax, eax
je 0x42c5db
mov edi, dword [esi]
push 0x104
lea eax, [esp + 0x24]
push eax
push str.OEMDATA
push 0xdd
push 0
call ebx
mov ecx, dword [edi + 0x3c]
push eax
push esi
call ecx
test eax, eax
je 0x42c5db
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.0041e3d0
push 0x800
lea eax, [esp + 0x22c]
push 0
push eax
mov byte [esp + 0xa40], 1
call fcn.00457170
mov esi, dword [esp + 0x24]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.logo.png
push esi
lea ecx, [esp + 0x230]
push ecx
call ebx
lea edx, [esp + 0x228]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c5bb
push str.360OEM
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041e4f0
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edx
mov byte [esp + 0xa38], 2
call edi
cmp eax, 0xffffffff
je 0x42c4f1
mov eax, dword [esp + 0x10]
push eax
call edi
test al, 0x10
jne 0x42c522
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42c522
lea ecx, [esp + 0x10]
call fcn.0041a630
lea ecx, [esp + 0x18]
call fcn.0041a630
lea ecx, [esp + 0x14]
call fcn.0041a630
jmp 0x42c60e
push 0x47a5e4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0041e4f0
mov ecx, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push ecx
lea edx, [esp + 0x230]
push edx
call edi
lea ecx, [esp + 0x1c]
call fcn.0041a630
push str.oeminfo.ini
push esi
lea eax, [esp + 0x230]
push eax
call ebx
push 0x47a5b0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0041e4f0
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x230]
push ecx
call edi
lea ecx, [esp + 0x1c]
call fcn.0041a630
push esi
call fcn.00401d20
add esp, 4
lea ecx, [esp + 0x10]
call fcn.0041a630
lea ecx, [esp + 0x18]
call fcn.0041a630
lea ecx, [esp + 0x14]
call fcn.0041a630
mov eax, 1
jmp 0x42c610
lea edx, [esp + 0x228]
push edx
push str.no_oem_file:__s
call fcn.00419ac0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.0041a630
jmp 0x42c5e8
push str.no_oem_data
call fcn.00419ac0
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x48f010]
je 0x42c60e
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42c60e
push esi
call fcn.00457d84
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xa2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa18]
xor ecx, esp
call fcn.0045715c
add esp, 0xa28
ret 4