Function at 0x1026c3e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
mov dword [ebp - 4], 0x80070057
mov dword [eax], esi
cmp ebx, esi
je 0x1026c577
push 0xa000
push esi
push esi
push esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x1026c533
push 0x10093410
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov dword [ebp + 0xc], edi
cmp edi, esi
jne 0x1026c441
mov eax, 0x80004005
jmp 0x1026c5e8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x1026c437
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
call edi
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
push ebx
call edi
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.102f7ffa
add esp, 0xc
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], esi
call fcn.102018c3
push eax
push 1
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp + 0x18], esi
je 0x1026c437
push esi
push dword [ebp + 0x18]
call fcn.1026bf43
mov edi, eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x18], esi
cmp edi, esi
jne 0x1026c4cd
cmp eax, esi
je 0x1026c437
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1026c437
cmp eax, esi
je 0x1026c4d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
call fcn.102108ad
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.102108d2
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
cmp ecx, esi
je 0x1026c5dd
cmp dword [ebp + 0x14], esi
je 0x1026c5dd
cmp ecx, dword [ebp + 8]
jne 0x1026c50d
cmp dword [ebp + 0x14], eax
je 0x1026c5dd
mov ecx, edi
call fcn.1026be2c
push 0x10
mov ebx, eax
call sub.gdiplus.dll_GdipAlloc
cmp eax, esi
je 0x1026c584
push ebx
push dword [ebp + 0x14]
mov ecx, eax
push dword [ebp + 0x10]
call fcn.1026bec1
mov ebx, eax
jmp 0x1026c586
cmp dword [ebp + 0x18], 0xe200b
je 0x1026c545
cmp dword [ebp + 0x18], 0x26200a
jne 0x1026c554
push dword [ebp + 0x18]
push eax
call fcn.1026bf78
mov edi, eax
cmp edi, esi
jne 0x1026c55f
push esi
push dword [ebp + 0xc]
call fcn.1026bf5f
mov edi, eax
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp edi, esi
jne 0x1026c4d7
mov eax, 0x8007000e
jmp 0x1026c5e8
push esi
push dword [ebp + 8]
call fcn.1026bf27
mov edi, eax
jmp 0x1026c568
xor ebx, ebx
cmp ebx, esi
je 0x1026c5cf
push ebx
lea ecx, [ebp - 0xc]
call fcn.1026c3b3
mov eax, dword [ebp + 0x10]
push esi
push esi
push esi
push 2
push dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.102218b9
mov eax, dword [ebp + 0x1c]
push dword [ebp - 0xc]
mov dword [eax], ebx
mov dword [ebp - 4], esi
call sub.gdiplus.dll_GdipDeleteGraphics
cmp edi, esi
je 0x1026c5e5
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x1026c5e5
mov eax, dword [ebp + 0x1c]
mov dword [eax], edi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x18