Function at 0x467bb7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x60]
sub esp, 0x60
push 0xffffffffffffffff
push 0x63c926
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x72af34]
xor eax, ebp
mov dword [ebp + 0x5c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp + 8], ebx
lea esi, [ebx + 0x44]
push esi
mov dword [ebp], esi
call fcn.005f3342
push eax
call fcn.0045c1be
pop ecx
pop ecx
and dword [ebp - 4], 0
movzx eax, word [ebx + 0x40]
push 0xa
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
mov dword [ebp + 0x10], ebx
test ebx, ebx
jne 0x467cca
push 5
pop ecx
call fcn.0048816a
test al, al
je 0x467cca
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0044fd8b
mov edx, str.resourceHandle_is_null_
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.004510c8
lea eax, [ebp + 0x14]
mov ecx, 0x6ce210
push eax
call fcn.004685a9
mov ebx, eax
lea eax, [ebp + 0x2c]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x6ce1cc
call fcn.00468625
mov edi, eax
lea eax, [ebp + 0x44]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xa0]
call fcn.00450ae4
push ebx
push edi
push 0x36
push 5
pop edx
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 4
call fcn.00488132
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.00450c1e
lea ecx, [ebp + 0x2c]
call fcn.00450c1e
lea ecx, [ebp + 0x14]
call fcn.00450c1e
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0044ecc6
mov ebx, dword [ebp + 0x10]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x467d85
push 5
pop ecx
call fcn.0048816a
test al, al
je 0x467d85
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0044fd8b
mov edx, str.imageSize_is_null_
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.004510c8
lea eax, [ebp + 0x2c]
mov ecx, 0x6ce210
push eax
call fcn.004685a9
mov ebx, eax
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x6ce1cc
call fcn.00468625
mov edi, eax
lea eax, [ebp + 0x44]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xa0]
call fcn.00450ae4
push ebx
push edi
push 0x3c
push 5
pop edx
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 8
call fcn.00488132
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.00450c1e
lea ecx, [ebp + 0x14]
call fcn.00450c1e
lea ecx, [ebp + 0x2c]
call fcn.00450c1e
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0044ecc6
mov ebx, dword [ebp + 0x10]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
mov dword [ebp + 4], ebx
test ebx, ebx
jne 0x467e49
push 5
pop ecx
call fcn.0048816a
test al, al
je 0x467e49
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0044fd8b
mov edx, str.pointer_to_data_resource_is_null_
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa4]
call fcn.004510c8
lea eax, [ebp + 0x2c]
mov ecx, 0x6ce210
push eax
call fcn.004685a9
mov ebx, eax
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 0xa
push eax
mov ecx, 0x6ce1cc
call fcn.00468625
mov edi, eax
lea eax, [ebp + 0x44]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xa0]
call fcn.00450ae4
push ebx
push edi
push 0x42
push 5
pop edx
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 0xc
call fcn.00488132
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.00450c1e
lea ecx, [ebp + 0x14]
call fcn.00450c1e
lea ecx, [ebp + 0x2c]
call fcn.00450c1e
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0044ecc6
mov ebx, dword [ebp + 4]
mov edi, dword [ebp + 0xc]
push edi
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [ebp + 4], eax
test eax, eax
je 0x467fc2
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x467fc2
push edi
push ebx
push eax
call fcn.00604770
and dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
add esp, 0xc
push eax
push 0
push dword [ebp + 4]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x467fb9
mov ebx, dword [ebp + 0x10]
push 0x10
pop eax
push eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x467ec1
lea ecx, [edi + 4]
mov dword [edi], vtable.Gdiplus::Image.0
and dword [ecx], 0
push ecx
push ebx
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [edi + 8], eax
jmp 0x467ec3
xor edi, edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x74]
mov dword [ebp + 0xc], eax
mov dword [ebx + 0x74], edi
test eax, eax
je 0x467ee6
mov eax, dword [eax]
push 1
mov edi, dword [eax]
mov ecx, edi
call dword [0x6636e0]
mov ecx, dword [ebp + 0xc]
call edi
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x6636e0]
call edi
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x467fb9
mov eax, dword [ecx + 8]
and dword [ecx + 8], 0
test eax, eax
je 0x467fb9
push 5
pop ecx
call fcn.0048816a
test al, al
je 0x467fb9
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0044fd8b
mov edx, str.pointer_to_data_resource_is_null_
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa4]
call fcn.004510c8
lea eax, [ebp + 0x2c]
mov ecx, 0x6ce210
push eax
call fcn.004685a9
mov ebx, eax
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 0xe
push eax
mov ecx, 0x6ce1cc
call fcn.00468625
mov edi, eax
lea eax, [ebp + 0x44]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0xa0]
call fcn.00450ae4
push 0x10
pop eax
push ebx
push edi
push 0x58
push 5
pop edx
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], al
call fcn.00488132
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.00450c1e
lea ecx, [ebp + 0x14]
call fcn.00450c1e
lea ecx, [ebp + 0x2c]
call fcn.00450c1e
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0044ecc6
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0x10]
and dword [ebp + 0x10], 0
push eax
mov edi, dword [ebx + 0x74]
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameDimensionsCount]
test eax, eax
je 0x467fe0
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push 0x10
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f0510
pop ecx
push dword [ebp + 0x10]
mov edi, eax
mov eax, dword [ebx + 0x74]
push edi
mov dword [ebp + 0xc], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameDimensionsList]
mov ecx, eax
test ecx, ecx
je 0x468019
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x74]
lea ecx, [ebp + 8]
and dword [ebp + 8], 0
push ecx
push edi
push dword [eax + 4]
mov dword [ebp + 0xc], eax
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameCount]
mov ecx, eax
test ecx, ecx
je 0x46803d
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
and dword [ebp + 0x10], 0
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x74]
push ecx
push 0x5100
mov dword [ebp + 0xc], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetPropertyItemSize]
mov ecx, eax
test ecx, ecx
je 0x46806e
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
push dword [ebp + 0x10]
call fcn.0060ea03
pop ecx
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x8c], eax
test ecx, ecx
je 0x468093
push 0x10
pop eax
push eax
push ecx
call fcn.005f0059
pop ecx
pop ecx
push dword [ebx + 0x8c]
mov eax, dword [ebx + 0x74]
push dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
push 0x5100
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetPropertyItem]
mov ecx, eax
test ecx, ecx
je 0x4680bc
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
push edi
call fcn.005f008a
push esi
call fcn.005f339d
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5c]
xor ecx, ebp
call fcn.005efadc
add ebp, 0x60
leave
ret