Function at 0x496970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4c748c
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.00403270
xor eax, eax
mov dword [esp + 0x1ec], eax
lea ecx, [ebp + 0x80]
lea ebx, [esp + 0x3c]
mov dword [esp + 0x14], 0x49d570
mov dword [esp + 0x18], 0x49d620
mov dword [esp + 0x1c], 0x49d670
mov dword [esp + 0x20], 0x49d6c0
mov dword [esp + 0x24], 0x49d700
mov dword [esp + 0x28], 0x49d760
mov dword [esp + 0x2c], 0x49d790
mov dword [esp + 0x30], eax
call fcn.0048b320
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1f0], 1
call fcn.0043b760
mov ecx, ebx
mov byte [esp + 0x1ec], 0
call fcn.00403370
lea ecx, [esp + 0xb8]
call fcn.004033a0
lea ecx, [esp + 0x14]
call fcn.0049c150
test eax, eax
mov dword [ebp + 0xa8], eax
jne 0x496b29
lea ebx, [ebp + 0xb0]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x496a64
sub eax, edx
jne 0x496ad0
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 0x496c9c
mov ecx, dword [0x4f7388]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x496c9c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x496c9c
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.00495760
lea ecx, [esp + 0x14]
mov eax, ebx
mov dword [esp + 0x14], 0x495d00
mov dword [esp + 0x18], 0x495d10
mov dword [esp + 0x1c], 0x495d60
mov dword [esp + 0x20], 0x495e10
mov dword [esp + 0x24], 0x495db0
mov dword [esp + 0x28], 0x495e30
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.0049c150
test eax, eax
mov dword [ebp + 0xa8], eax
je 0x496c9c
mov esi, dword [ebp + 0xa8]
test esi, esi
je 0x496c9c
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.0049c360
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
test eax, eax
mov dword [esi + 0x38], ecx
jne 0x496c9c
mov bl, 3
mov ecx, dword [ebp + 0xa8]
push 0x104
lea edx, [esp + 0x68]
push 0
push edx
lea eax, [esp + 0xe0]
call fcn.0049c360
add esp, 0xc
test eax, eax
jne 0x496c9c
mov eax, dword [ebp + 0xa8]
test eax, eax
jne 0x496bab
mov esi, 0xffffff9a
jmp 0x496bd0
cmp dword [eax + 0x38], 0
jne 0x496bb5
xor esi, esi
jmp 0x496bd0
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x496bcd
cmp ecx, 0xffff
je 0x496bcd
cmp dword [eax + 0x30], ecx
jne 0x496bcd
xor esi, esi
jmp 0x496bd0
mov esi, dword [eax + 0x34]
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x40]
call fcn.004032c0
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x1f0], 2
mov edi, dword [esp + 0x84]
lea ecx, [esp + 0x18]
call fcn.00403320
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.00498640
lea ecx, [esp + 0x14]
call fcn.00403370
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ec], 0
call fcn.00403370
mov esi, dword [ebp + 0xa8]
test esi, esi
je 0x496c9c
cmp dword [esi + 0x38], 0
je 0x496c9c
mov eax, dword [esi + 0x24]
cmp eax, 0xffff
je 0x496c5d
mov ecx, dword [esi + 0x30]
add ecx, 1
cmp ecx, eax
je 0x496c9c
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.0049c360
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
test eax, eax
mov dword [esi + 0x38], ecx
je 0x496b71
lea ecx, [esp + 0xb8]
call fcn.00403370
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.004a1873
add esp, 0x1dc
ret 4