Function at 0x10006910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10019640
push 0x1000a3e0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x1001c004]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x24], 0
xor ebx, ebx
mov dword [ebp - 0x90], ebx
push 0x2c
push ebx
lea eax, [ebp - 0x60]
push eax
call fcn.1000a5d0
add esp, 0xc
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x7c]
push eax
push 0x10013450
push 1
push ebx
push 0x10017d08
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10006be2
push 0x1001880c
push dword [ebp - 0x98]
mov eax, dword [0x1001d1d8]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x10006be2
push esi
mov eax, dword [0x1001d1d8]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push esi
mov eax, dword [0x1001d1d8]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x90], ebx
test ebx, ebx
je 0x10006be2
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10006be2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
lea eax, [ebp - 0x88]
push eax
push ecx
mov ecx, dword [edx + 0x38]
call ecx
test eax, eax
js 0x10006be2
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
push edi
push esi
push eax
mov eax, dword [ecx + 0x40]
call eax
test eax, eax
js 0x10006be2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push 0
push 0x10017cf8
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
js 0x10006be2
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x88]
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
js 0x10006be2
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
js 0x10006be2
cmp dword [ebp - 0x24], 1
jb 0x10006be2
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
push 0
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
js 0x10006be2
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
js 0x10006be2
lea ecx, [ebp - 0x70]
mov edx, 0x10017d18
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10006b0c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10006af0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
jmp 0x10006b34
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x74]
push 0x10017d18
call dword [sym.imp.WindowsCodecs.dll_WICConvertBitmapSource]
test eax, eax
js 0x10006be2
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0x60], 0x28
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x28]
neg eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0x200001
mov dword [ebp - 0x50], 0
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x94], eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx]
lea edx, [ebp - 0x80]
push edx
push ecx
mov eax, dword [eax + 0x2c]
call eax
test eax, eax
js 0x10006be2
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
push 3
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x84]
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
js 0x10006be2
mov edx, dword [ebp - 0x80]
mov esi, dword [edx]
push dword [ebp - 0x8c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
imul eax, ecx
shl eax, 2
push eax
lea eax, [ecx*4]
push eax
lea eax, [ebp - 0x34]
push eax
push edx
mov eax, dword [esi + 0x1c]
call eax
mov dword [ebp - 4], 0xfffffffe
call fcn.10006c18
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1000960d
mov esp, ebp
pop ebp
ret 4