Function at 0x10048c7a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, ecx
mov bl, dl
push 3
lea ecx, [ebp - 0x2c]
call fcn.100144f8
xor edi, edi
mov dword [ebp - 0x10], 0x6aabecba
mov dword [ebp - 0x14], edi
jmp 0x10048caf
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov dword [eax + ecx*4], 0x313dd33a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10048c9f
mov dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], edi
jl 0x10048ce5
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], edi
jl 0x10048ce0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + ecx*4], edi
jne 0x10048ce0
dec dword [ebp - 0x14]
jns 0x10048cd0
dec dword [ebp - 0x10]
jns 0x10048cc1
lea ecx, [ebp - 0x2c]
call fcn.1001475b
test bl, bl
je 0x10048e47
mov dword [ebp - 0xc], 0xf94f378
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x14], ebx
inc esi
jmp 0x10048d1b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 8], 0xc2e0cf57
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10048d0d
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10048d39
push 0x1229
push 0x3c7
push ebx
call dword [sym.imp.USER32.dll_DeleteMenu]
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], ebx
jl 0x10048e27
mov dword [ebp - 0x10], 0xccbad86e
mov dword [ebp - 0x18], 0x6aac8953
mov dword [ebp - 0x14], 0x5257
mov dword [ebp - 0x18], 0xeb236728
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
jl 0x10048e0a
mov dword [ebp - 0x18], 0xd0d1d847
cmp dword [ebp - 0xc], ebx
jne 0x10048dbc
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0x18], 0xf74
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 8]
mov eax, dword [ebp - 0xc]
cmp eax, 0x552
mov eax, dword [ebp - 0xc]
setne dl
xor ecx, ecx
cmp eax, edx
setle cl
mov dword [ebp - 0x18], ecx
mov ecx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 8]
add eax, dword [ebp - 0x18]
je 0x10048dbe
mov ecx, esi
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xc]
imul eax, ecx
cmp eax, dword [ebp - 0x14]
jle 0x10048dd8
mov eax, dword [ebp - 0xc]
mov edx, esi
cmp dword [ebp + eax*4 - 8], ebx
jne 0x10048dda
mov edx, ebx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 8]
cmp eax, edx
setg cl
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x10048df6
mov eax, esi
cmp dword [ebp - 8], ebx
jne 0x10048df8
mov eax, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
dec dword [ebp - 0x10]
jns 0x10048d6d
mov dword [ebp - 0x14], ebx
jmp 0x10048e18
mov eax, dword [ebp - 8]
mov dword [ebp - 8], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x11
jne 0x10048e0f
dec dword [ebp - 0xc]
jns 0x10048d45
push 0x250d
push 0xd83
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
jmp 0x10048e93
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], 0xf90a3cfc
mov dword [ebp - 0x18], 0xfffffffc
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], 0xb7b8
mov dword [ebp - 0x14], edi
jmp 0x10048e7d
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x20], 0xde0bcd8c
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10048e6f
dec dword [ebp - 0x18]
cmp byte [esi], 0
je 0x10048e93
push edi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret