Function at 0x4699d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4a8dac
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4cd290]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd290]
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.0040f9a0
xor eax, eax
mov dword [esp + 0x1ec], eax
lea ecx, [ebp + 0x80]
lea ebx, [esp + 0x3c]
mov dword [esp + 0x14], 0x4705f0
mov dword [esp + 0x18], 0x4706a0
mov dword [esp + 0x1c], 0x4706f0
mov dword [esp + 0x20], 0x470740
mov dword [esp + 0x24], 0x470780
mov dword [esp + 0x28], 0x4707e0
mov dword [esp + 0x2c], 0x470810
mov dword [esp + 0x30], eax
call fcn.0046f3d0
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1f0], 1
call fcn.0041fd10
mov ecx, ebx
mov byte [esp + 0x1ec], 0
call fcn.0040fa50
lea ecx, [esp + 0xb8]
call fcn.0040fab0
lea ecx, [esp + 0x14]
call fcn.0046fa40
test eax, eax
mov dword [ebp + 0xa8], eax
jne 0x469b89
lea ebx, [ebp + 0xb0]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x469ac4
sub eax, edx
jne 0x469b30
mov eax, dword [0x4d0008]
push str.SKIN
push str.QMUIRES.dat
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x469cfc
mov ecx, dword [0x4d0008]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x469cfc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x469cfc
mov edx, dword [0x4d0008]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov esi, eax
mov edi, ebx
call fcn.00468810
lea ecx, [esp + 0x14]
mov eax, ebx
mov dword [esp + 0x14], 0x468d00
mov dword [esp + 0x18], 0x468d10
mov dword [esp + 0x1c], 0x468d60
mov dword [esp + 0x20], 0x468e10
mov dword [esp + 0x24], 0x468db0
mov dword [esp + 0x28], 0x468e30
mov dword [esp + 0x2c], method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_12
mov dword [esp + 0x30], 0
call fcn.0046fa40
test eax, eax
mov dword [ebp + 0xa8], eax
je 0x469cfc
mov esi, dword [ebp + 0xa8]
test esi, esi
je 0x469cfc
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.0046fc50
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
test eax, eax
mov dword [esi + 0x38], ecx
jne 0x469cfc
mov bl, 3
mov ecx, dword [ebp + 0xa8]
push 0x104
lea edx, [esp + 0x68]
push 0
push edx
lea eax, [esp + 0xe0]
call fcn.0046fc50
add esp, 0xc
test eax, eax
jne 0x469cfc
mov eax, dword [ebp + 0xa8]
test eax, eax
jne 0x469c0b
mov esi, 0xffffff9a
jmp 0x469c30
cmp dword [eax + 0x38], 0
jne 0x469c15
xor esi, esi
jmp 0x469c30
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x469c2d
cmp ecx, 0xffff
je 0x469c2d
cmp dword [eax + 0x30], ecx
jne 0x469c2d
xor esi, esi
jmp 0x469c30
mov esi, dword [eax + 0x34]
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x40]
call fcn.0040f9f0
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x1f0], 2
mov edi, dword [esp + 0x84]
lea ecx, [esp + 0x18]
call fcn.0041fcc0
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.0046b7a0
lea ecx, [esp + 0x14]
call fcn.0040fa50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ec], 0
call fcn.0040fa50
mov esi, dword [ebp + 0xa8]
test esi, esi
je 0x469cfc
cmp dword [esi + 0x38], 0
je 0x469cfc
mov eax, dword [esi + 0x24]
cmp eax, 0xffff
je 0x469cbd
mov ecx, dword [esi + 0x30]
add ecx, 1
cmp ecx, eax
je 0x469cfc
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.0046fc50
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
test eax, eax
mov dword [esi + 0x38], ecx
je 0x469bd1
lea ecx, [esp + 0xb8]
call fcn.0040fa50
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.004851ae
add esp, 0x1dc
ret 4