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

Disassembly:
push 0xffffffffffffffff
push 0x469d41
mov eax, dword fs:[0]
push eax
sub esp, 0xa1c
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0xa18], eax
push ebx
push esi
push edi
mov eax, dword [0x486d80]
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.0041a210
push esi
push str.Begin_to_make_oem_file__s
mov dword [esp + 0xa3c], 0
call fcn.00415560
add esp, 8
call fcn.00403550
mov esi, eax
test esi, esi
je 0x42690b
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2a]
push ecx
mov word [esp + 0x2c], ax
call fcn.0044efc0
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 0x42690b
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 0x42690b
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.0041a210
push 0x800
lea eax, [esp + 0x22c]
push 0
push eax
mov byte [esp + 0xa40], 1
call fcn.0044efc0
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 0x4268eb
push str.360OEM
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041a330
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 0x426821
mov eax, dword [esp + 0x10]
push eax
call edi
test al, 0x10
jne 0x426852
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x426852
lea ecx, [esp + 0x10]
call fcn.00416500
lea ecx, [esp + 0x18]
call fcn.00416500
lea ecx, [esp + 0x14]
call fcn.00416500
jmp 0x42693e
push 0x4722fc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0041a330
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.00416500
push str.oeminfo.ini
push esi
lea eax, [esp + 0x230]
push eax
call ebx
push 0x4722c8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0041a330
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x230]
push ecx
call edi
lea ecx, [esp + 0x1c]
call fcn.00416500
push esi
call fcn.00401d70
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00416500
lea ecx, [esp + 0x18]
call fcn.00416500
lea ecx, [esp + 0x14]
call fcn.00416500
mov eax, 1
jmp 0x426940
lea edx, [esp + 0x228]
push edx
push str.no_oem_file:__s
call fcn.00415560
add esp, 8
lea ecx, [esp + 0x18]
call fcn.00416500
jmp 0x426918
push str.no_oem_data
call fcn.00415560
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x485060]
je 0x42693e
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42693e
push esi
call fcn.0044fbd4
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.0044efac
add esp, 0xa28
ret 4