Function at 0x475a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4df88c
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], 0x47e150
mov dword [esp + 0x20], 0x47e200
mov dword [esp + 0x24], 0x47e250
mov dword [esp + 0x28], 0x47e2a0
mov dword [esp + 0x2c], 0x47e2e0
mov dword [esp + 0x30], 0x47e340
mov dword [esp + 0x34], 0x47e370
mov dword [esp + 0x38], ebx
call fcn.0047cee0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1f8], 1
call fcn.00405b10
mov esi, 0x10
mov byte [esp + 0x1ec], bl
cmp dword [esp + 0x50], esi
jb 0x475b7b
mov edx, dword [esp + 0x3c]
push edx
call fcn.004b83e9
add esp, 4
cmp dword [esp + 0xd0], esi
mov eax, dword [esp + 0xbc]
jae 0x475b92
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x14]
call fcn.0047d5a0
cmp eax, ebx
mov dword [ebp + 0xa8], eax
jne 0x475c79
lea eax, [ebp + 0xb0]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x475bb2
sub eax, edx
jne 0x475c20
mov eax, dword [0x5143f0]
push str.SKIN
push str.QMUIRES.dat
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x475e54
mov ecx, dword [0x5143f0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x475e54
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x475e54
mov edx, dword [0x5143f0]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
lea esi, [ebp + 0xb0]
call fcn.00474840
lea ecx, [esp + 0x14]
lea eax, [ebp + 0xb0]
mov dword [esp + 0x14], 0x474e50
mov dword [esp + 0x18], 0x474e60
mov dword [esp + 0x1c], 0x474eb0
mov dword [esp + 0x20], 0x474f60
mov dword [esp + 0x24], 0x474f00
mov dword [esp + 0x28], 0x474f80
mov dword [esp + 0x2c], method.TiXmlDocument.virtual_20
mov dword [esp + 0x30], ebx
call fcn.0047d5a0
cmp eax, ebx
mov dword [ebp + 0xa8], eax
je 0x475e54
mov esi, dword [ebp + 0xa8]
cmp esi, ebx
je 0x475e54
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.0047d7b0
xor ecx, ecx
add esp, 0xc
cmp eax, ebx
sete cl
cmp eax, ebx
mov dword [esi + 0x38], ecx
jne 0x475e54
jmp 0x475cc2
xor ebx, ebx
mov ecx, dword [ebp + 0xa8]
push 0x104
lea edx, [esp + 0x68]
push ebx
push edx
lea eax, [esp + 0xe0]
call fcn.0047d7b0
add esp, 0xc
cmp eax, ebx
jne 0x475e54
mov eax, dword [ebp + 0xa8]
cmp eax, ebx
jne 0x475cfb
mov edi, 0xffffff9a
jmp 0x475d1f
cmp dword [eax + 0x38], ebx
jne 0x475d04
xor edi, edi
jmp 0x475d1f
mov ecx, dword [eax + 0x24]
cmp ecx, ebx
je 0x475d1c
cmp ecx, 0xffff
je 0x475d1c
cmp dword [eax + 0x30], ecx
jne 0x475d1c
xor edi, edi
jmp 0x475d1f
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 0x475d40
sub eax, esi
push eax
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x40]
call fcn.00405f60
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.00405b10
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.00477990
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x475dc7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b83e9
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 0x475df3
mov edx, dword [esp + 0x3c]
push edx
call fcn.004b83e9
add esp, 4
mov esi, dword [ebp + 0xa8]
cmp esi, ebx
je 0x475e54
cmp dword [esi + 0x38], ebx
je 0x475e54
mov eax, dword [esi + 0x24]
cmp eax, 0xffff
je 0x475e16
mov ecx, dword [esi + 0x30]
add ecx, 1
cmp ecx, eax
je 0x475e54
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.0047d7b0
xor ecx, ecx
add esp, 0xc
cmp eax, ebx
sete cl
cmp eax, ebx
mov dword [esi + 0x38], ecx
je 0x475cc0
cmp dword [esp + 0xd0], 0x10
jb 0x475e6e
mov edx, dword [esp + 0xbc]
push edx
call fcn.004b83e9
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.004b83ee
add esp, 0x1dc
ret 4