Function at 0x467612
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x60]
sub esp, 0x60
push 0xffffffffffffffff
push 0x63ca07
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.005f3462
push eax
call fcn.0045baed
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 0x467725
push 5
pop ecx
call fcn.00487c88
test al, al
je 0x467725
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0044fe3d
mov edx, str.resourceHandle_is_null_
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.00450c80
lea eax, [ebp + 0x14]
mov ecx, 0x6ce1d0
push eax
call fcn.00468004
mov ebx, eax
lea eax, [ebp + 0x2c]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x6ce18c
call fcn.00468080
mov edi, eax
lea eax, [ebp + 0x44]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xa0]
call fcn.00450645
push ebx
push edi
push 0x36
push 5
pop edx
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 4
call fcn.00487c50
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.0045073d
lea ecx, [ebp + 0x2c]
call fcn.0045073d
lea ecx, [ebp + 0x14]
call fcn.0045073d
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0044e893
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 0x4677e0
push 5
pop ecx
call fcn.00487c88
test al, al
je 0x4677e0
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0044fe3d
mov edx, str.imageSize_is_null_
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.00450c80
lea eax, [ebp + 0x2c]
mov ecx, 0x6ce1d0
push eax
call fcn.00468004
mov ebx, eax
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x6ce18c
call fcn.00468080
mov edi, eax
lea eax, [ebp + 0x44]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xa0]
call fcn.00450645
push ebx
push edi
push 0x3c
push 5
pop edx
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 8
call fcn.00487c50
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.0045073d
lea ecx, [ebp + 0x14]
call fcn.0045073d
lea ecx, [ebp + 0x2c]
call fcn.0045073d
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0044e893
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 0x4678a4
push 5
pop ecx
call fcn.00487c88
test al, al
je 0x4678a4
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0044fe3d
mov edx, str.pointer_to_data_resource_is_null_
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa4]
call fcn.00450c80
lea eax, [ebp + 0x2c]
mov ecx, 0x6ce1d0
push eax
call fcn.00468004
mov ebx, eax
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 0xa
push eax
mov ecx, 0x6ce18c
call fcn.00468080
mov edi, eax
lea eax, [ebp + 0x44]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xa0]
call fcn.00450645
push ebx
push edi
push 0x42
push 5
pop edx
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 0xc
call fcn.00487c50
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.0045073d
lea ecx, [ebp + 0x14]
call fcn.0045073d
lea ecx, [ebp + 0x2c]
call fcn.0045073d
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0044e893
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 0x467a1d
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x467a1d
push edi
push ebx
push eax
call fcn.00604820
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 0x467a14
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 0x46791c
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 0x46791e
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 0x467941
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 0x467a14
mov eax, dword [ecx + 8]
and dword [ecx + 8], 0
test eax, eax
je 0x467a14
push 5
pop ecx
call fcn.00487c88
test al, al
je 0x467a14
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0044fe3d
mov edx, str.pointer_to_data_resource_is_null_
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa4]
call fcn.00450c80
lea eax, [ebp + 0x2c]
mov ecx, 0x6ce1d0
push eax
call fcn.00468004
mov ebx, eax
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 0xe
push eax
mov ecx, 0x6ce18c
call fcn.00468080
mov edi, eax
lea eax, [ebp + 0x44]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0xa0]
call fcn.00450645
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.00487c50
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.0045073d
lea ecx, [ebp + 0x14]
call fcn.0045073d
lea ecx, [ebp + 0x2c]
call fcn.0045073d
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0044e893
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 0x467a3b
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.005f0633
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 0x467a74
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 0x467a98
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 0x467ac9
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
push dword [ebp + 0x10]
call fcn.0060eab3
pop ecx
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x8c], eax
test ecx, ecx
je 0x467aee
push 0x10
pop eax
push eax
push ecx
call fcn.005f017c
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 0x467b17
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
push edi
call fcn.005f01ad
push esi
call fcn.005f34bd
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.005efbff
add ebp, 0x60
leave
ret