Function at 0x48c090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4bcd4c
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e2210]
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.00405280
xor eax, eax
mov dword [esp + 0x1ec], eax
lea ecx, [ebp + 0x80]
lea ebx, [esp + 0x3c]
mov dword [esp + 0x14], 0x4985e0
mov dword [esp + 0x18], 0x498690
mov dword [esp + 0x1c], 0x4986e0
mov dword [esp + 0x20], 0x498730
mov dword [esp + 0x24], 0x498770
mov dword [esp + 0x28], 0x4987d0
mov dword [esp + 0x2c], 0x498800
mov dword [esp + 0x30], eax
call fcn.00496e10
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1f0], 1
call fcn.00426e10
mov ecx, ebx
mov byte [esp + 0x1ec], 0
call fcn.00405260
lea ecx, [esp + 0xb8]
call fcn.00408730
lea ecx, [esp + 0x14]
call fcn.00497a30
test eax, eax
mov dword [ebp + 0xa8], eax
jne 0x48c249
lea ebx, [ebp + 0xb0]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x48c184
sub eax, edx
jne 0x48c1f0
mov eax, dword [0x4e6208]
push str.SKIN
push str.QMUIRES.dat
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x48c3bc
mov ecx, dword [0x4e6208]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48c3bc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x48c3bc
mov edx, dword [0x4e6208]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov esi, eax
mov edi, ebx
call fcn.0048b8c0
lea ecx, [esp + 0x14]
mov eax, ebx
mov dword [esp + 0x14], 0x48b8e0
mov dword [esp + 0x18], 0x48b8f0
mov dword [esp + 0x1c], 0x48b940
mov dword [esp + 0x20], 0x48b9f0
mov dword [esp + 0x24], 0x48b990
mov dword [esp + 0x28], 0x48ba10
mov dword [esp + 0x2c], method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_12
mov dword [esp + 0x30], 0
call fcn.00497a30
test eax, eax
mov dword [ebp + 0xa8], eax
je 0x48c3bc
mov esi, dword [ebp + 0xa8]
test esi, esi
je 0x48c3bc
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.00497c40
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
test eax, eax
mov dword [esi + 0x38], ecx
jne 0x48c3bc
mov bl, 3
mov ecx, dword [ebp + 0xa8]
push 0x104
lea edx, [esp + 0x68]
push 0
push edx
lea eax, [esp + 0xe0]
call fcn.00497c40
add esp, 0xc
test eax, eax
jne 0x48c3bc
mov eax, dword [ebp + 0xa8]
test eax, eax
jne 0x48c2cb
mov esi, 0xffffff9a
jmp 0x48c2f0
cmp dword [eax + 0x38], 0
jne 0x48c2d5
xor esi, esi
jmp 0x48c2f0
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x48c2ed
cmp ecx, 0xffff
je 0x48c2ed
cmp dword [eax + 0x30], ecx
jne 0x48c2ed
xor esi, esi
jmp 0x48c2f0
mov esi, dword [eax + 0x34]
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x40]
call fcn.004088f0
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x1f0], 2
mov edi, dword [esp + 0x84]
lea ecx, [esp + 0x18]
call fcn.00404b00
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.0048d920
lea ecx, [esp + 0x14]
call fcn.00405260
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ec], 0
call fcn.00405260
mov esi, dword [ebp + 0xa8]
test esi, esi
je 0x48c3bc
cmp dword [esi + 0x38], 0
je 0x48c3bc
mov eax, dword [esi + 0x24]
cmp eax, 0xffff
je 0x48c37d
mov ecx, dword [esi + 0x30]
add ecx, 1
cmp ecx, eax
je 0x48c3bc
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.00497c40
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
test eax, eax
mov dword [esi + 0x38], ecx
je 0x48c291
lea ecx, [esp + 0xb8]
call fcn.00405260
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.0049d270
add esp, 0x1dc
ret 4