Function at 0x458bec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xbc
mov eax, 0x65d9d7
call fcn.0065a213
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 0x458d0c
push 5
pop ecx
call fcn.0048bace
test al, al
je 0x458d0c
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450861
mov edx, str.resourceHandle_for_ID
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00451874
push esi
mov ecx, eax
call fcn.00459465
mov edx, str._is_null_
mov ecx, eax
call fcn.00451874
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, 0x711ee0
push eax
call fcn.0045936d
push 3
pop eax
sub esp, 0x18
mov byte [ebp - 4], al
mov dword [ebp - 0x14], eax
mov ecx, 0x711ed0
mov eax, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004593e9
sub esp, 0x18
mov byte [ebp - 4], 4
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x1c], eax
push eax
call fcn.0045114f
push 3
pop eax
push 0x21
pop edx
push 5
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
call fcn.0048ba3e
add esp, 0x60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0044ecd5
mov edi, dword [ebp - 0x10]
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
test esi, esi
jne 0x458de5
push 5
pop ecx
call fcn.0048bace
test al, al
je 0x458de5
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450861
mov edx, str.imageSize_is_null_
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xc8]
call fcn.00451874
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, 0x711ee0
push eax
call fcn.0045936d
sub esp, 0x18
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, 0x711ed0
push eax
call fcn.004593e9
sub esp, 0x18
mov byte [ebp - 4], 8
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x18], eax
push eax
call fcn.0045114f
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.0048ba3e
add esp, 0x60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0044ecd5
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 0x458ec9
push 5
pop ecx
call fcn.0048bace
test al, al
je 0x458ec9
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450861
mov edx, str.pointer_to_data_resource_is_null_
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xc8]
call fcn.00451874
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, 0x711ee0
push eax
call fcn.0045936d
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, 0x711ed0
push eax
call fcn.004593e9
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x10], eax
push eax
call fcn.0045114f
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.0048ba3e
add esp, 0x60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0044ecd5
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 0x459120
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x459120
push esi
push edi
push eax
call fcn.006262f0
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 0x459117
mov edi, dword [ebp - 0x10]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x458f3c
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 0x458f3e
xor esi, esi
mov dword [ebp - 0x1c], esi
push 0x10
mov dword [ebp - 4], 0xd
call fcn.006111ae
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 0x458f83
call fcn.0044e280
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x68a308]
call esi
mov ecx, dword [ebx]
test ecx, ecx
je 0x45905a
mov eax, dword [ecx + 8]
and dword [ecx + 8], 0
test eax, eax
je 0x459117
push 5
pop ecx
call fcn.0048bace
test al, al
je 0x459117
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450861
mov edx, str.pointer_to_data_resource_is_null_
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0xc8]
call fcn.00451874
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, 0x711ee0
push eax
call fcn.0045936d
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, 0x711ed0
push eax
call fcn.004593e9
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x2c], eax
push eax
call fcn.0045114f
mov eax, dword [ebp - 0x14]
push 0x41
pop edx
or eax, 0x20
mov byte [ebp - 4], 0xe
push 5
jmp 0x459100
push 2
pop ecx
call fcn.0048bace
test al, al
je 0x459117
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450861
mov edx, str.image_could_not_be_created_from_stream
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0xc8]
call fcn.00451874
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, 0x711ee0
push eax
call fcn.0045936d
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov eax, esp
mov dword [ebp - 0x28], esp
mov ecx, 0x711ed0
push eax
call fcn.004593e9
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x24], eax
push eax
call fcn.0045114f
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.0048ba3e
add esp, 0x60
lea ecx, [ebp - 0xc8]
call fcn.0044ecd5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov eax, ebx
call fcn.0065a1e1
ret