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

Disassembly:
push 0xffffffffffffffff
push 0x474381
mov eax, dword fs:[0]
push eax
sub esp, 0xa1c
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0xa18], eax
push ebx
push esi
push edi
mov eax, dword [0x494db8]
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.0041e0e0
push esi
push str.Begin_to_make_oem_file__s
mov dword [esp + 0xa3c], 0
call fcn.004197f0
add esp, 8
call fcn.00401340
mov esi, eax
test esi, esi
je 0x42e15b
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2a]
push ecx
mov word [esp + 0x2c], ax
call fcn.0045bc00
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 + 0x24]
push eax
push esi
call edx
test eax, eax
je 0x42e15b
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 + 0x38]
push eax
push esi
call ecx
test eax, eax
je 0x42e15b
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.0041e0e0
push 0x800
lea eax, [esp + 0x22c]
push 0
push eax
mov byte [esp + 0xa40], 1
call fcn.0045bc00
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 0x42e13b
push str.360OEM
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041e280
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 0x42e071
mov eax, dword [esp + 0x10]
push eax
call edi
test al, 0x10
jne 0x42e0a2
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42e0a2
lea ecx, [esp + 0x10]
call fcn.0041a500
lea ecx, [esp + 0x18]
call fcn.0041a500
lea ecx, [esp + 0x14]
call fcn.0041a500
jmp 0x42e18e
push 0x47d408
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0041e280
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.0041a500
push str.oeminfo.ini
push esi
lea eax, [esp + 0x230]
push eax
call ebx
push 0x47d3d4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0041e280
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x230]
push ecx
call edi
lea ecx, [esp + 0x1c]
call fcn.0041a500
push esi
call fcn.00421aa0
add esp, 4
lea ecx, [esp + 0x10]
call fcn.0041a500
lea ecx, [esp + 0x18]
call fcn.0041a500
lea ecx, [esp + 0x14]
call fcn.0041a500
mov eax, 1
jmp 0x42e190
lea edx, [esp + 0x228]
push edx
push str.no_oem_file:__s
call fcn.004197f0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.0041a500
jmp 0x42e168
push str.no_oem_data
call fcn.004197f0
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x42e18e
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42e18e
push esi
call fcn.0045c814
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.0045bbec
add esp, 0xa28
ret 4