Function at 0x1004803f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1d4
mov eax, 0x1007613c
call fcn.1005a354
mov ebx, ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x11c], 0xf
call fcn.100020a6
mov dword [ebp - 4], edi
lea edx, [ebx + 0x80]
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x158], 0x1004fd6c
mov dword [ebp - 0x154], 0x1004fdf7
mov dword [ebp - 0x150], 0x1004fe3a
mov dword [ebp - 0x14c], 0x1004fe7d
mov dword [ebp - 0x148], 0x1004feaf
mov dword [ebp - 0x144], 0x1004ff05
mov dword [ebp - 0x140], 0x1004ff2d
mov dword [ebp - 0x13c], edi
call fcn.1004e725
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 1
call fcn.10001a29
push edi
push 1
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0
call fcn.10001ad8
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x10048108
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x158]
call fcn.1004f275
cmp eax, edi
pop ecx
mov dword [ebx + 0xa8], eax
jne 0x10048218
lea esi, [ebx + 0xb0]
push esi
call fcn.100530f0
test eax, eax
pop ecx
jne 0x100481b1
push str.SKIN
push str.QMUIRES.dat
push dword [0x1009d2c8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
mov dword [ebp - 0x164], eax
je 0x10048317
push eax
push dword [0x1009d2c8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x10048317
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
mov dword [ebp - 0x160], eax
je 0x10048317
push dword [ebp - 0x164]
push dword [0x1009d2c8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov eax, esi
call fcn.1004b654
mov eax, dword [esi]
push edi
push dword [ebp - 0x160]
push eax
call fcn.10053790
add esp, 0xc
xor edi, edi
push esi
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], fcn.10001046
mov dword [ebp - 0x154], 0x1004775f
mov dword [ebp - 0x150], 0x10047785
mov dword [ebp - 0x14c], 0x100477f1
mov dword [ebp - 0x148], 0x100477ce
mov dword [ebp - 0x144], 0x10047806
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.1004f275
cmp eax, edi
pop ecx
mov dword [ebx + 0xa8], eax
je 0x10048317
mov esi, dword [ebx + 0xa8]
call fcn.1004f6ef
test eax, eax
jne 0x10048317
jmp 0x10048233
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.1004f4ba
add esp, 0x10
cmp eax, edi
jne 0x10048317
mov eax, dword [ebx + 0xa8]
cmp eax, edi
jne 0x1004826c
push 0xffffffffffffff9a
pop edi
jmp 0x10048288
cmp dword [eax + 0x38], edi
je 0x10048288
mov ecx, dword [eax + 0x24]
cmp ecx, edi
je 0x10048285
cmp ecx, 0xffff
je 0x10048285
cmp dword [eax + 0x30], ecx
je 0x10048288
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.10049770
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x15c]
call fcn.10001ad8
push ebx
push 1
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], bl
call fcn.10001ad8
mov eax, dword [ebp - 0x138]
mov esi, dword [eax + 0xa8]
call fcn.1004f728
xor edi, edi
test eax, eax
je 0x1004822d
push edi
push 1
lea ecx, [ebp - 0x134]
call fcn.10001ad8
xor al, al
call fcn.1005a3d7
ret