Function at 0x45ef90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49684b
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 0x40]
call fcn.00401ff0
push eax
lea ecx, [ebp + 0x24]
call fcn.00401ff0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x45f02a
lea ecx, [ebp + 0x24]
call fcn.00401ff0
push eax
push str.FindResource__s
push 0x4a5f78
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
jmp 0x45f179
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x45f06f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp + 0x24]
call fcn.00401ff0
push eax
push str.LoadResource__s_0x_x
push 0x4a5fa4
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
jmp 0x45f179
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x18]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x3f], eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
push str.SKIN__VERSION.INI
lea ecx, [ebp + 0x24]
push ecx
call fcn.00444a50
add esp, 8
movzx edx, al
test edx, edx
je 0x45f0cd
push 0x1b6c
push 0xa0b5
push 0x10
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004604e0
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004690d0
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0x11
push 0
lea ecx, [ebp - 0x40]
push ecx
call fcn.00472990
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x45f120
lea ecx, [ebp + 0x24]
call fcn.00401ff0
push eax
push str.open__s
push 0x4a6000
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
jmp 0x45f179
lea ecx, [ebp + 8]
call fcn.00401ff0
push eax
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00469280
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x45f16a
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x24]
call fcn.00401ff0
push eax
push str.parse__s_ret:0x_x
push 0x4a601c
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
jmp 0x45f179
mov dword [ebp - 0x20], 1
xor ecx, ecx
jne 0x45efde
cmp dword [ebp - 0x14], 0
je 0x45f192
mov edx, dword [ebp - 0x14]
push edx
call fcn.00469320
add esp, 4
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
je 0x45f1a9
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401ce0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.00401ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00401ce0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret 0x54