Function at 0x101b78a3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [eax], edi
test ebx, ebx
je 0x101b7a2b
push 0xa000
push edi
push edi
push edi
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x101b79ea
push str.GPIMAGE
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
jne 0x101b78fc
mov eax, 0x80004005
jmp 0x101b7a9f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x101b78f2
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
call esi
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp + 8]
mov edi, eax
push ebx
call esi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.1027ad2a
and dword [ebp + 0x18], 0
lea eax, [ebp + 0x18]
add esp, 0xc
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp + 0x18]
xor edi, edi
test ecx, ecx
je 0x101b79d4
push edi
push ecx
call fcn.101b782e
mov ecx, dword [ebp + 0x18]
mov esi, eax
test esi, esi
je 0x101b79d4
mov dword [ebp + 0x18], edi
test ecx, ecx
je 0x101b7978
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, esi
call fcn.10178e76
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.10178a43
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
test ebx, ebx
je 0x101b7a96
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x101b7a96
cmp ebx, dword [ebp + 8]
jne 0x101b79af
cmp edi, eax
je 0x101b7a96
mov ecx, esi
call fcn.101b7857
push 0x10
mov dword [ebp + 0xc], eax
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x101b7a38
push dword [ebp + 0xc]
mov ecx, eax
push edi
push ebx
call fcn.101b729f
mov ebx, eax
jmp 0x101b7a3a
mov dword [ebp + 0x18], edi
test ecx, ecx
je 0x101b78f2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x101b78f2
cmp dword [ebp + 0x18], 0xe200b
je 0x101b79fc
cmp dword [ebp + 0x18], 0x26200a
jne 0x101b7a0b
push dword [ebp + 0x18]
push edi
call fcn.101b7aa8
mov esi, eax
test esi, esi
jne 0x101b7a15
push 0
push edi
call fcn.101b7805
mov esi, eax
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
jne 0x101b7978
mov eax, 0x8007000e
jmp 0x101b7a9f
push edi
push dword [ebp + 8]
call fcn.101b77dc
mov esi, eax
jmp 0x101b7a1c
xor ebx, ebx
test ebx, ebx
je 0x101b7a83
push ebx
lea ecx, [ebp - 0xc]
call fcn.101b738d
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ecx
push ecx
push ecx
push 2
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
push ecx
push ecx
push eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xc]
push esi
mov dword [ebp - 0x10], edi
call fcn.101b757e
mov eax, dword [ebp + 0x1c]
push dword [ebp - 0xc]
mov dword [eax], ebx
xor ebx, ebx
call sub.gdiplus.dll_GdipDeleteGraphics
jmp 0x101b7a88
mov ebx, 0x80070057
test esi, esi
je 0x101b7a9d
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
jmp 0x101b7a9d
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
mov dword [eax], esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18