Function at 0x100a57a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10130c41
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10188068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x224], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x228], ebx
mov dword [ebx], vtable.CSmartObjectImpl_class_IDBFile_.0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
lea eax, [ebx + 0xc]
push 0x208
push 0
push eax
mov dword [ebx + 8], vtable.CDBSharedMem.0
mov dword [ebx + 0x214], 0
mov dword [ebx + 0x218], 0
mov dword [ebx + 0x21c], 0
mov dword [ebx + 0x220], 0
call fcn.100fc650
add esp, 0xc
lea eax, [ebx + 0x224]
mov dword [ebx], vtable.CDBSharedMemFile.0
push eax
mov dword [ebx + 8], vtable.CDBSharedMemFile.1.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 0x240], 0
mov dword [ebx + method.CSmartPtr_class_IDBParser_.virtual_0], vtable.CSmartPtr_class_IDBParser_.0
push 0x208
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.100fc650
add esp, 0xc
lea eax, [esi + 0x100]
push eax
push esi
push 0x1015a7a0
push str._s_Skin__s__s
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.10049d10
mov eax, dword [esi + 0x184]
add esp, 0x18
test eax, eax
jne 0x100a5983
cmp word [esi + 0x190], ax
lea ecx, [esi + 0x190]
je 0x100a5a9b
lea edx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
call fcn.1004d1a0
mov esi, dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x22c], esi
mov byte [ebp - 4], 4
test eax, eax
jle 0x100a5975
test esi, esi
je 0x100a5975
mov edx, eax
mov ecx, esi
call fcn.100a4c90
cmp eax, 0xffffffff
je 0x100a5975
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
call fcn.100a5bb0
test eax, eax
jns 0x100a5975
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x224]
lea ecx, [ebx + 8]
push esi
call fcn.100a92a0
lea ecx, [ebx + 8]
call fcn.100a9900
test al, al
je 0x100a5975
lea ecx, [ebx + 8]
call fcn.100a9920
lea edi, [ebx + 0x240]
push edi
mov edx, dword [eax]
lea ecx, [eax + 0x50]
sub edx, 0x50
call fcn.100a6a20
mov ecx, dword [edi]
add esp, 4
test ecx, ecx
je 0x100a5969
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x100a5975
push ecx
lea ecx, [ebx + 0x23c]
call fcn.100a9940
push esi
call fcn.100e2ea5
add esp, 4
jmp 0x100a5a9b
cmp eax, 1
jne 0x100a5a82
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x100a5a9b
lea eax, [esi + 0x198]
push eax
movzx eax, word [esi + 0x194]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100a5a9b
push edi
push dword [esi + 0x190]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [esi + 0x190]
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x224], edi
push edi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100a5a79
mov edx, dword [ebp - 0x220]
mov ecx, esi
call fcn.100a4c90
cmp eax, 0xffffffff
je 0x100a5a79
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
call fcn.100a5bb0
test eax, eax
jns 0x100a5a79
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
lea ecx, [ebx + 8]
push esi
call fcn.100a92a0
lea ecx, [ebx + 8]
call fcn.100a9900
test al, al
je 0x100a5a79
lea ecx, [ebx + 8]
call fcn.100a9920
lea esi, [ebx + 0x240]
push esi
mov edx, dword [eax]
lea ecx, [eax + 0x50]
sub edx, 0x50
call fcn.100a6a20
mov ecx, dword [esi]
add esp, 4
test ecx, ecx
je 0x100a5a6d
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x100a5a79
push ecx
lea ecx, [ebx + 0x23c]
call fcn.100a9940
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x100a5a9b
cmp eax, 2
jne 0x100a5a9b
add esi, 0x190
cmp word [esi], 0
je 0x100a5a9b
push esi
mov ecx, ebx
call fcn.100a5bb0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e278d
mov esp, ebp
pop ebp
ret 4