Function at 0x45e67f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xbc
mov eax, 0x661f96
call fcn.0065dfa3
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 0x45e79f
push 5
pop ecx
call fcn.004901ff
test al, al
je 0x45e79f
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450621
mov edx, str.resourceHandle_for_ID
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.004516a8
push esi
mov ecx, eax
call fcn.0045eef8
mov edx, str._is_null_
mov ecx, eax
call fcn.004516a8
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, 0x717550
push eax
call fcn.0045ee00
push 3
pop eax
sub esp, 0x18
mov byte [ebp - 4], al
mov dword [ebp - 0x14], eax
mov ecx, 0x717540
mov eax, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0045ee7c
sub esp, 0x18
mov byte [ebp - 4], 4
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x1c], eax
push eax
call fcn.00450ef9
push 3
pop eax
push 0x21
pop edx
push 5
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
call fcn.0049016f
add esp, 0x60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0044e8bd
mov edi, dword [ebp - 0x10]
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
test esi, esi
jne 0x45e878
push 5
pop ecx
call fcn.004901ff
test al, al
je 0x45e878
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450621
mov edx, str.imageSize_is_null_
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xc8]
call fcn.004516a8
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, 0x717550
push eax
call fcn.0045ee00
sub esp, 0x18
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, 0x717540
push eax
call fcn.0045ee7c
sub esp, 0x18
mov byte [ebp - 4], 8
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x18], eax
push eax
call fcn.00450ef9
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.0049016f
add esp, 0x60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0044e8bd
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 0x45e95c
push 5
pop ecx
call fcn.004901ff
test al, al
je 0x45e95c
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450621
mov edx, str.pointer_to_data_resource_is_null_
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xc8]
call fcn.004516a8
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, 0x717550
push eax
call fcn.0045ee00
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, 0x717540
push eax
call fcn.0045ee7c
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x10], eax
push eax
call fcn.00450ef9
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.0049016f
add esp, 0x60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0044e8bd
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 0x45ebb3
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x45ebb3
push esi
push edi
push eax
call fcn.0062a090
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 0x45ebaa
mov edi, dword [ebp - 0x10]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x45e9cf
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 0x45e9d1
xor esi, esi
mov dword [ebp - 0x1c], esi
push 0x10
mov dword [ebp - 4], 0xd
call fcn.00614f5e
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 0x45ea16
call fcn.0044de70
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x68f308]
call esi
mov ecx, dword [ebx]
test ecx, ecx
je 0x45eaed
mov eax, dword [ecx + 8]
and dword [ecx + 8], 0
test eax, eax
je 0x45ebaa
push 5
pop ecx
call fcn.004901ff
test al, al
je 0x45ebaa
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450621
mov edx, str.pointer_to_data_resource_is_null_
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0xc8]
call fcn.004516a8
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, 0x717550
push eax
call fcn.0045ee00
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, 0x717540
push eax
call fcn.0045ee7c
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x2c], eax
push eax
call fcn.00450ef9
mov eax, dword [ebp - 0x14]
push 0x41
pop edx
or eax, 0x20
mov byte [ebp - 4], 0xe
push 5
jmp 0x45eb93
push 2
pop ecx
call fcn.004901ff
test al, al
je 0x45ebaa
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450621
mov edx, str.image_could_not_be_created_from_stream
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0xc8]
call fcn.004516a8
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, 0x717550
push eax
call fcn.0045ee00
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov eax, esp
mov dword [ebp - 0x28], esp
mov ecx, 0x717540
push eax
call fcn.0045ee7c
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x24], eax
push eax
call fcn.00450ef9
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.0049016f
add esp, 0x60
lea ecx, [ebp - 0xc8]
call fcn.0044e8bd
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov eax, ebx
call fcn.0065df71
ret