Function at 0x475720
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e2ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x80]
xor ebx, ebx
lea edi, [esp + 0x50]
mov byte [esp + 0x17], bl
call fcn.0047c470
mov dword [esp + 0x78], ebx
mov esi, 7
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
mov byte [esp + 0x78], 1
cmp dword [ebp + 0x14], ebx
jne 0x4757c3
mov eax, edi
push eax
lea ecx, [esp + 0x1c]
call fcn.0047c080
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 2
call fcn.004020f0
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], 8
jb 0x4757d1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004b83e9
add esp, 4
jmp 0x4757d1
push 0xffffffffffffffff
push ebx
mov eax, ebp
lea ecx, [esp + 0x3c]
call fcn.004020f0
lea edi, [esp + 0x34]
call fcn.0047c1b0
push 0xa
mov dword [esp + 0x34], esi
push 0x4f5b0c
lea esi, [esp + 0x20]
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00402530
mov edx, edi
push edx
mov ecx, esi
mov byte [esp + 0x7c], 3
call fcn.0047c2a0
mov esi, 8
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], esi
jb 0x475823
mov eax, dword [esp + 0x1c]
push eax
call fcn.004b83e9
add esp, 4
cmp dword [esp + 0x4c], esi
mov eax, dword [esp + 0x38]
jae 0x475831
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x475845
mov dword [ebp + 0x1c], ebx
jmp 0x475931
lea ecx, [esp + 0x50]
push ecx
mov dword [ebp + 0x1c], 1
call fcn.0047be80
push 3
push 0x4f5b24
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00402530
mov edi, esi
lea eax, [esp + 0x50]
mov byte [esp + 0x78], 4
call fcn.0047c200
mov esi, 8
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], esi
jb 0x4758a4
mov edx, dword [esp + 0x1c]
push edx
call fcn.004b83e9
add esp, 4
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x4758b2
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4758d2
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x80]
lea eax, [esp + 0x58]
call fcn.004020f0
jmp 0x475927
mov eax, dword [0x5143f0]
push str.SKIN
push str.QMUIRES.dat
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x47592c
mov ecx, dword [0x5143f0]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x47592c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, ebx
je 0x47592c
mov edx, dword [0x5143f0]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
lea esi, [ebp + 0xb0]
call fcn.00474840
mov byte [esp + 0x17], 1
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x475944
mov eax, dword [esp + 0x38]
push eax
call fcn.004b83e9
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
jb 0x475968
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004b83e9
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004b83ee
add esp, 0x68
ret 4