Function at 0x475a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4dfa2c
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x1e4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1f4]
xor ebx, ebx
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
mov dword [esp + 0x1ec], ebx
lea eax, [ebp + 0x80]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x1c], 0x47d320
mov dword [esp + 0x20], 0x47d3d0
mov dword [esp + 0x24], 0x47d420
mov dword [esp + 0x28], 0x47d470
mov dword [esp + 0x2c], 0x47d4b0
mov dword [esp + 0x30], 0x47d510
mov dword [esp + 0x34], 0x47d540
mov dword [esp + 0x38], ebx
call fcn.0047cfa0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1f8], 1
call fcn.00405a50
mov esi, 0x10
mov byte [esp + 0x1ec], bl
cmp dword [esp + 0x50], esi
jb 0x475b6b
mov edx, dword [esp + 0x3c]
push edx
call fcn.004b84d9
add esp, 4
cmp dword [esp + 0xd0], esi
mov eax, dword [esp + 0xbc]
jae 0x475b82
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x14]
call fcn.0047d890
cmp eax, ebx
mov dword [ebp + 0xa8], eax
jne 0x475c69
lea eax, [ebp + 0xb0]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x475ba2
sub eax, edx
jne 0x475c10
mov eax, dword [0x5143d0]
push str.SKIN
push str.QMUIRES.dat
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x475e44
mov ecx, dword [0x5143d0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x475e44
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x475e44
mov edx, dword [0x5143d0]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
lea esi, [ebp + 0xb0]
call fcn.00474830
lea ecx, [esp + 0x14]
lea eax, [ebp + 0xb0]
mov dword [esp + 0x14], 0x474e40
mov dword [esp + 0x18], 0x474e50
mov dword [esp + 0x1c], 0x474ea0
mov dword [esp + 0x20], 0x474f50
mov dword [esp + 0x24], 0x474ef0
mov dword [esp + 0x28], 0x474f70
mov dword [esp + 0x2c], method.TiXmlDocument.virtual_20
mov dword [esp + 0x30], ebx
call fcn.0047d890
cmp eax, ebx
mov dword [ebp + 0xa8], eax
je 0x475e44
mov esi, dword [ebp + 0xa8]
cmp esi, ebx
je 0x475e44
mov eax, dword [esi + 0x44]
push ebx
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], ebx
call fcn.0047daa0
xor ecx, ecx
add esp, 0xc
cmp eax, ebx
sete cl
cmp eax, ebx
mov dword [esi + 0x38], ecx
jne 0x475e44
jmp 0x475cb2
xor ebx, ebx
mov ecx, dword [ebp + 0xa8]
push 0x104
lea edx, [esp + 0x68]
push ebx
push edx
lea eax, [esp + 0xe0]
call fcn.0047daa0
add esp, 0xc
cmp eax, ebx
jne 0x475e44
mov eax, dword [ebp + 0xa8]
cmp eax, ebx
jne 0x475ceb
mov edi, 0xffffff9a
jmp 0x475d0f
cmp dword [eax + 0x38], ebx
jne 0x475cf4
xor edi, edi
jmp 0x475d0f
mov ecx, dword [eax + 0x24]
cmp ecx, ebx
je 0x475d0c
cmp ecx, 0xffff
je 0x475d0c
cmp dword [eax + 0x30], ecx
jne 0x475d0c
xor edi, edi
jmp 0x475d0f
mov edi, dword [eax + 0x34]
lea eax, [esp + 0xd4]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x475d30
sub eax, esi
push eax
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x40]
call fcn.00405e70
push 0xffffffffffffffff
mov byte [esp + 0x1f0], 2
mov esi, dword [esp + 0x84]
push ebx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405a50
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
lea edx, [esp + 0x14]
push edx
lea eax, [ebp + 0x20]
push eax
lea ebx, [esp + 0x60]
mov byte [esp + 0x1f4], 3
call fcn.00477980
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x475db7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b84d9
add esp, 4
xor ebx, ebx
mov byte [esp + 0x1ec], bl
cmp dword [esp + 0x50], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x475de3
mov edx, dword [esp + 0x3c]
push edx
call fcn.004b84d9
add esp, 4
mov esi, dword [ebp + 0xa8]
cmp esi, ebx
je 0x475e44
cmp dword [esi + 0x38], ebx
je 0x475e44
mov eax, dword [esi + 0x24]
cmp eax, 0xffff
je 0x475e06
mov ecx, dword [esi + 0x30]
add ecx, 1
cmp ecx, eax
je 0x475e44
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 ebx
lea edx, [esi + 0x98]
push edx
lea eax, [esi + 0x48]
push eax
xor eax, eax
mov ecx, esi
call fcn.0047daa0
xor ecx, ecx
add esp, 0xc
cmp eax, ebx
sete cl
cmp eax, ebx
mov dword [esi + 0x38], ecx
je 0x475cb0
cmp dword [esp + 0xd0], 0x10
jb 0x475e5e
mov edx, dword [esp + 0xbc]
push edx
call fcn.004b84d9
add esp, 4
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.004b84de
add esp, 0x1dc
ret 4