Function at 0x276222c8
Capabilities:
Capture screenshot
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
movzx eax, word [ebp + 0xc]
push ebx
and dword [ebp - 8], 0
push esi
push edi
push 2
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x27622306
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x2762230f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
mov cl, byte [edi + 0xe]
push 1
pop eax
shl eax, cl
mov ecx, dword [edi]
lea esi, [ecx + eax*4]
push esi
push 0x40
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 8], eax
je 0x27622553
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
cmp dword [ebp + 0x14], 0
jne 0x27622381
lea eax, [ebp - 0x44]
mov dword [ebp + 0x18], 6
mov dword [ebp + 0x14], eax
lea ebx, [ebp - 0x44]
mov dword [ebp + 0xc], 0x275e612c
xor esi, esi
mov eax, dword [esi + 0x275e6128]
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.USER32.dll_GetSysColor]
add dword [ebp + 0xc], 8
mov dword [ebp + esi - 0x40], eax
add esi, 8
add ebx, 8
cmp esi, 0x30
jl 0x2762235b
push 0x10
pop eax
cmp dword [ebp + 0x18], eax
jle 0x2762238c
mov dword [ebp + 0x18], eax
mov ebx, dword [ebp + 0x18]
test ebx, ebx
jle 0x276223e4
mov edx, dword [ebp + 0x14]
lea esi, [ebp - 0x104]
lea ecx, [ebp - 0x104]
sub esi, edx
lea eax, [edx + 4]
mov dword [ebp + 0x14], ebx
mov ebx, dword [eax]
xor edx, edx
mov dh, byte [eax]
mov dl, byte [eax + 1]
shr ebx, 0x10
movzx ebx, bl
shl edx, 8
or edx, ebx
mov ebx, dword [eax - 4]
mov dword [esi + eax], edx
xor edx, edx
mov dh, byte [eax - 4]
mov dl, byte [eax - 3]
add eax, 8
shr ebx, 0x10
movzx ebx, bl
shl edx, 8
or edx, ebx
mov dword [ecx], edx
add ecx, 8
dec dword [ebp + 0x14]
jne 0x276223aa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
add eax, dword [eax]
and ecx, 2
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x10], eax
je 0x27622423
mov edx, eax
lea esi, [ebp - 0x84]
push 0x10
sub edx, esi
lea ecx, [ebp - 0x84]
pop esi
cmp dword [edx + ecx], 0xff00ff
jne 0x27622564
mov dword [ecx], 0xffffff
add ecx, 4
dec esi
jne 0x2762240a
push 0x10
pop esi
and dword [ebp + 0x14], 0
cmp dword [ebp + 0x18], 0
jle 0x27622454
mov edx, dword [eax]
lea ecx, [ebp - 0x104]
and edx, 0xffffff
cmp edx, dword [ecx]
je 0x2762256c
inc dword [ebp + 0x14]
add ecx, 8
mov ebx, dword [ebp + 0x14]
cmp ebx, dword [ebp + 0x18]
jl 0x2762243e
add eax, 4
dec esi
jne 0x27622426
mov eax, dword [ebp - 4]
mov esi, dword [edi + 4]
add eax, edi
mov edi, dword [edi + 8]
push 0
mov dword [ebp + 0x10], eax
mov ebx, esi
mov dword [ebp + 0x14], edi
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [ebp + 0x18], eax
je 0x27622530
cmp dword [ebp + 0xc], 0
je 0x27622493
lea ebx, [esi + esi]
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [ebp - 8], eax
je 0x27622530
push eax
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xc], eax
mov ebx, 0xcc0020
xor eax, eax
push ebx
push eax
push dword [ebp + 8]
push dword [ebp + 0x10]
push edi
push esi
push eax
push eax
push edi
mov edi, dword [sym.imp.GDI32.dll_StretchDIBits]
push esi
push eax
push eax
push dword [ebp + 0x18]
call edi
cmp dword [ebp + 0xc], 0
je 0x27622524
lea eax, [ebp - 0x84]
push 0x40
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
push ebx
xor ebx, ebx
push ebx
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push esi
push ebx
push ebx
push dword [ebp + 0x14]
push esi
push ebx
push esi
push dword [ebp + 0x18]
call edi
push 0x220326
push ebx
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push ebx
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0xc]
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x18], 0
je 0x2762253f
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 4]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
jmp 0x27622308
and dword [ecx], 0
jmp 0x2762241d
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ebp + ecx*8 - 0x100]
mov dword [eax], ecx
jmp 0x27622454