Function at 0x10046556
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1d4
mov eax, 0x1007462c
call fcn.100588d8
mov ebx, ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x11c], 0xf
call fcn.100020c9
mov dword [ebp - 4], edi
lea edx, [ebx + 0x80]
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x158], 0x1004e43f
mov dword [ebp - 0x154], 0x1004e4ca
mov dword [ebp - 0x150], 0x1004e50d
mov dword [ebp - 0x14c], 0x1004e550
mov dword [ebp - 0x148], 0x1004e582
mov dword [ebp - 0x144], 0x1004e5d8
mov dword [ebp - 0x140], 0x1004e600
mov dword [ebp - 0x13c], edi
call fcn.1004cdf8
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 1
call fcn.10001a96
push edi
push 1
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0
call fcn.10001b45
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x1004661f
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x158]
call fcn.1004d326
cmp eax, edi
pop ecx
mov dword [ebx + 0xa8], eax
jne 0x1004672f
lea esi, [ebx + 0xb0]
push esi
call fcn.100517c0
test eax, eax
pop ecx
jne 0x100466c8
push str.SKIN
push str.QMUIRES.dat
push dword [0x1009a088]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
mov dword [ebp - 0x164], eax
je 0x1004682e
push eax
push dword [0x1009a088]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x1004682e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
mov dword [ebp - 0x160], eax
je 0x1004682e
push dword [ebp - 0x164]
push dword [0x1009a088]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov eax, esi
call fcn.10049d27
mov eax, dword [esi]
push edi
push dword [ebp - 0x160]
push eax
call fcn.10051e60
add esp, 0xc
xor edi, edi
push esi
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], fcn.10001046
mov dword [ebp - 0x154], 0x10045c76
mov dword [ebp - 0x150], 0x10045c9c
mov dword [ebp - 0x14c], 0x10045d08
mov dword [ebp - 0x148], 0x10045ce5
mov dword [ebp - 0x144], 0x10045d1d
mov dword [ebp - 0x140], method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_12
mov dword [ebp - 0x13c], edi
call fcn.1004d326
cmp eax, edi
pop ecx
mov dword [ebx + 0xa8], eax
je 0x1004682e
mov esi, dword [ebx + 0xa8]
call fcn.1004d7a0
test eax, eax
jne 0x1004682e
jmp 0x1004674a
mov ebx, dword [ebp - 0x138]
mov eax, dword [ebx + 0xa8]
push 0x104
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x1e0]
push edi
push ecx
call fcn.1004d56b
add esp, 0x10
cmp eax, edi
jne 0x1004682e
mov eax, dword [ebx + 0xa8]
cmp eax, edi
jne 0x10046783
push 0xffffffffffffff9a
pop edi
jmp 0x1004679f
cmp dword [eax + 0x38], edi
je 0x1004679f
mov ecx, dword [eax + 0x24]
cmp ecx, edi
je 0x1004679c
cmp ecx, 0xffff
je 0x1004679c
cmp dword [eax + 0x30], ecx
je 0x1004679f
mov edi, dword [eax + 0x34]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x180]
call fcn.10001767
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x15c]
call fcn.10001789
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x13c], esi
lea eax, [ebp - 0x15c]
push eax
add ebx, 0x20
lea edi, [ebp - 0x18c]
mov byte [ebp - 4], 3
call fcn.10047c87
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x15c]
call fcn.10001b45
push ebx
push 1
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], bl
call fcn.10001b45
mov eax, dword [ebp - 0x138]
mov esi, dword [eax + 0xa8]
call fcn.1004d7d9
xor edi, edi
test eax, eax
je 0x10046744
push edi
push 1
lea ecx, [ebp - 0x134]
call fcn.10001b45
xor al, al
call fcn.1005895b
ret