Function at 0x45df6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xbc
mov eax, 0x676646
call fcn.006724ad
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x30], ebx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
xor eax, eax
mov dword [ebp - 4], ecx
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
push 0xa
movzx eax, si
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
jne 0x45e08b
push 5
pop ecx
call fcn.0049259e
test al, al
je 0x45e08b
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0044f85b
mov edx, str.resourceHandle_for_ID
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.004508e8
push esi
mov ecx, eax
call fcn.0045e7e4
mov edx, str._is_null_
mov ecx, eax
call fcn.004508e8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x18], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, 0x72e900
push eax
call fcn.0045e6ec
push 3
pop eax
sub esp, 0x18
mov byte [ebp - 4], al
mov dword [ebp - 0x14], eax
mov ecx, 0x72e8f0
mov eax, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0045e768
sub esp, 0x18
mov byte [ebp - 4], 4
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x1c], eax
push eax
call fcn.00450176
push 3
pop eax
push 0x21
pop edx
push 5
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
call fcn.0049250e
add esp, 0x60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0044da7b
mov edi, dword [ebp - 0x10]
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
test esi, esi
jne 0x45e164
push 5
pop ecx
call fcn.0049259e
test al, al
je 0x45e164
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0044f85b
mov edx, str.imageSize_is_null_
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xc8]
call fcn.004508e8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ecx + 0x10], esi
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
sub esp, 0x18
mov byte [ebp - 4], 6
mov eax, esp
mov dword [ebp - 0x28], esp
mov ecx, 0x72e900
push eax
call fcn.0045e6ec
sub esp, 0x18
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, 0x72e8f0
push eax
call fcn.0045e768
sub esp, 0x18
mov byte [ebp - 4], 8
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x18], eax
push eax
call fcn.00450176
mov eax, dword [ebp - 0x14]
push 0x27
pop edx
or eax, 8
mov byte [ebp - 4], 5
push 5
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
call fcn.0049250e
add esp, 0x60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0044da7b
mov edi, dword [ebp - 0x10]
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x45e248
push 5
pop ecx
call fcn.0049259e
test al, al
je 0x45e248
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0044f85b
mov edx, str.pointer_to_data_resource_is_null_
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xc8]
call fcn.004508e8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov eax, esp
mov dword [ebp - 0x28], esp
mov ecx, 0x72e900
push eax
call fcn.0045e6ec
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, 0x72e8f0
push eax
call fcn.0045e768
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x10], eax
push eax
call fcn.00450176
mov eax, dword [ebp - 0x14]
push 0x2d
pop edx
or eax, 4
mov byte [ebp - 4], 9
push 5
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
call fcn.0049250e
add esp, 0x60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0044da7b
mov edi, dword [ebp - 0x18]
push esi
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x45e49f
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x45e49f
push esi
push edi
push eax
call fcn.0063e5a0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
add esp, 0xc
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x45e496
mov edi, dword [ebp - 0x10]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x45e2bb
lea ecx, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
and dword [ecx], 0
push ecx
push edi
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x45e2bd
xor esi, esi
mov dword [ebp - 0x1c], esi
push 0x10
mov dword [ebp - 4], 0xd
call fcn.00629472
mov edx, eax
xor eax, eax
mov dword [ebp - 0x1c], edx
mov edi, edx
mov byte [ebp - 4], 0
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
mov dword [edx], vtable.std::_Ref_count_class_Gdiplus::Image_.0
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], esi
mov dword [ebx], esi
mov ecx, dword [ebx + 4]
mov dword [ebx + 4], edx
test ecx, ecx
je 0x45e302
call fcn.0044d130
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x6a630c]
call esi
mov ecx, dword [ebx]
test ecx, ecx
je 0x45e3d9
mov eax, dword [ecx + 8]
and dword [ecx + 8], 0
test eax, eax
je 0x45e496
push 5
pop ecx
call fcn.0049259e
test al, al
je 0x45e496
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0044f85b
mov edx, str.pointer_to_data_resource_is_null_
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0xc8]
call fcn.004508e8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov eax, esp
mov dword [ebp - 0x28], esp
mov ecx, 0x72e900
push eax
call fcn.0045e6ec
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, 0x72e8f0
push eax
call fcn.0045e768
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x2c], eax
push eax
call fcn.00450176
mov eax, dword [ebp - 0x14]
push 0x41
pop edx
or eax, 0x20
mov byte [ebp - 4], 0xe
push 5
jmp 0x45e47f
push 2
pop ecx
call fcn.0049259e
test al, al
je 0x45e496
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0044f85b
mov edx, str.image_could_not_be_created_from_stream
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0xc8]
call fcn.004508e8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x2c], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov eax, esp
mov dword [ebp - 0x1c], esp
mov ecx, 0x72e900
push eax
call fcn.0045e6ec
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov eax, esp
mov dword [ebp - 0x28], esp
mov ecx, 0x72e8f0
push eax
call fcn.0045e768
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x24], eax
push eax
call fcn.00450176
mov eax, dword [ebp - 0x14]
push 0x46
pop edx
or eax, 0x10
mov byte [ebp - 4], 0x12
push 2
pop ecx
mov dword [ebp - 0x20], eax
call fcn.0049250e
add esp, 0x60
lea ecx, [ebp - 0xc8]
call fcn.0044da7b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov eax, ebx
call fcn.0067247b
ret