Function at 0x4967c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4c74bc
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x1e4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1f4]
lea ecx, [esp + 0xb8]
call fcn.004032a0
xor eax, eax
mov dword [esp + 0x1ec], eax
lea ecx, [ebp + 0x80]
lea ebx, [esp + 0x3c]
mov dword [esp + 0x14], 0x49d420
mov dword [esp + 0x18], 0x49d4d0
mov dword [esp + 0x1c], 0x49d520
mov dword [esp + 0x20], 0x49d570
mov dword [esp + 0x24], 0x49d5b0
mov dword [esp + 0x28], 0x49d610
mov dword [esp + 0x2c], 0x49d640
mov dword [esp + 0x30], eax
call fcn.0048b200
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1f0], 1
call fcn.0043b100
mov ecx, ebx
mov byte [esp + 0x1ec], 0
call fcn.004033a0
lea ecx, [esp + 0xb8]
call fcn.004033d0
lea ecx, [esp + 0x14]
call fcn.0049c010
test eax, eax
mov dword [ebp + 0xa8], eax
jne 0x496979
lea ebx, [ebp + 0xb0]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4968b4
sub eax, edx
jne 0x496920
mov eax, dword [0x4f7388]
push str.SKIN
push str.QMUIRES.dat
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x496aec
mov ecx, dword [0x4f7388]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x496aec
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x496aec
mov edx, dword [0x4f7388]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov esi, eax
mov edi, ebx
call fcn.004955b0
lea ecx, [esp + 0x14]
mov eax, ebx
mov dword [esp + 0x14], 0x495b50
mov dword [esp + 0x18], 0x495b60
mov dword [esp + 0x1c], 0x495bb0
mov dword [esp + 0x20], 0x495c60
mov dword [esp + 0x24], 0x495c00
mov dword [esp + 0x28], 0x495c80
mov dword [esp + 0x2c], method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_12
mov dword [esp + 0x30], 0
call fcn.0049c010
test eax, eax
mov dword [ebp + 0xa8], eax
je 0x496aec
mov esi, dword [ebp + 0xa8]
test esi, esi
je 0x496aec
mov eax, dword [esi + 0x44]
push 0
lea ecx, [esi + 0x98]
push ecx
lea edx, [esi + 0x48]
mov dword [esi + 0x34], eax
push edx
xor eax, eax
mov ecx, esi
mov dword [esi + 0x30], 0
call fcn.0049c220
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
test eax, eax
mov dword [esi + 0x38], ecx
jne 0x496aec
mov bl, 3
mov ecx, dword [ebp + 0xa8]
push 0x104
lea edx, [esp + 0x68]
push 0
push edx
lea eax, [esp + 0xe0]
call fcn.0049c220
add esp, 0xc
test eax, eax
jne 0x496aec
mov eax, dword [ebp + 0xa8]
test eax, eax
jne 0x4969fb
mov esi, 0xffffff9a
jmp 0x496a20
cmp dword [eax + 0x38], 0
jne 0x496a05
xor esi, esi
jmp 0x496a20
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x496a1d
cmp ecx, 0xffff
je 0x496a1d
cmp dword [eax + 0x30], ecx
jne 0x496a1d
xor esi, esi
jmp 0x496a20
mov esi, dword [eax + 0x34]
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x40]
call fcn.004032f0
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x1f0], 2
mov edi, dword [esp + 0x84]
lea ecx, [esp + 0x18]
call fcn.00403350
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x5c]
push eax
lea eax, [ebp + 0x20]
mov byte [esp + 0x1f4], bl
call fcn.00498480
lea ecx, [esp + 0x14]
call fcn.004033a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ec], 0
call fcn.004033a0
mov esi, dword [ebp + 0xa8]
test esi, esi
je 0x496aec
cmp dword [esi + 0x38], 0
je 0x496aec
mov eax, dword [esi + 0x24]
cmp eax, 0xffff
je 0x496aad
mov ecx, dword [esi + 0x30]
add ecx, 1
cmp ecx, eax
je 0x496aec
mov edx, dword [esi + 0x70]
add edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x68]
add dword [esi + 0x30], 1
lea ecx, [edx + eax + 0x2e]
add dword [esi + 0x34], ecx
push 0
lea edx, [esi + 0x98]
push edx
lea eax, [esi + 0x48]
push eax
xor eax, eax
mov ecx, esi
call fcn.0049c220
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
test eax, eax
mov dword [esi + 0x38], ecx
je 0x4969c1
lea ecx, [esp + 0xb8]
call fcn.004033a0
xor al, al
mov ecx, dword [esp + 0x1e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.004a1723
add esp, 0x1dc
ret 4